Example #1
0
 private void btnOK_Click(object sender, EventArgs e)
 {
     Lisans.KeyDogrula(txtkey.Text, txtlic.Text);
     if (Lisans.LICKontrol())
     {
         XtraMessageBox.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 frmAdisyon();
         frm.Show();
     }
 }
Example #2
0
        static void Main()
        {
            Thread.CurrentThread.CurrentCulture   = new System.Globalization.CultureInfo("tr-TR");
            Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("tr-TR");
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            BonusSkins.Register();
            bool isLicensed;

            isLicensed = Lisans.LICKontrol();
            if (isLicensed)
            {
                Application.Run(new frmAdisyon());
            }
            else
            {
                //LİSANS SAYFASI AÇILIR...
                Application.Run(new LisansEkrani());
            }
        }
Example #3
0
 private void LisansEkrani_Load(object sender, EventArgs e)
 {
     txtkey.Text = Lisans.YeniKey();
 }