PROGRAMMER
Seçkin Üye
C#:
bool AcikUygulamaVar = false;
Mutex m = new Mutex(true, "UygulamaAdı", out AcikUygulamaVar);
if (AcikUygulamaVar)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Kullanıcı_girisi());
}
else
{
MessageBox.Show("Uygulamadan aynı anda bir tane açabilirsiniz!", "AÇIK UYGULAMA VAR!", MessageBoxButtons.OK, MessageBoxIcon.Error);
}