Ejemplo n.º 1
0
 private void btnOK_Click(object sender, EventArgs e)
 {
     Lisans.KeyDogrula(txtkey.Text, txtlic.Text);
     if (Lisans.LICKontrol())
     {
         MessageBox.Show("Program ömür boyu kullanım olarak lisanslanmıştır.\nGüle güle kullanın.", "Lisanslama Başarılı", MessageBoxButtons.OK, MessageBoxIcon.Information);
         this.Hide();
         Form frm = new Genesis();
         frm.Show();
     }
 }
Ejemplo n.º 2
0
 static void Main()
 {
     if (System.Diagnostics.Process.GetProcessesByName("HizliSatis").Length > 1)
     {
         MessageBox.Show("Bu program zaten çalışıyor");
         Application.Exit();
     }
     else
     {
         Application.EnableVisualStyles();
         Application.SetCompatibleTextRenderingDefault(false);
         bool isLicensed;
         isLicensed = Lisans.LICKontrol();
         if (isLicensed)
         {
             Application.Run(new Genesis());
         }
         else
         {
             //LİSANS SAYFASI AÇILIR...
             Application.Run(new LisansEkrani());
         }
     }
 }
Ejemplo n.º 3
0
 private void LisansEkrani_Load(object sender, EventArgs e)
 {
     txtkey.Text = Lisans.YeniKey();
 }