Ejemplo n.º 1
0
 private void activateBtn_Click(object sender, EventArgs e)
 {
     if (Varibles.MD5(macAddress) == activateCodeTB.Text)
     {
         Varibles.setActivated();
         this.Hide();
         this.Close();
         MessageBox.Show("لقد تم تفعيل البرنامج بنجاح");
     }
     else
     {
         MessageBox.Show("كود التفعيل غير صحيح");
         activateCodeTB.Focus();
     }
 }