Beispiel #1
0
 void OnRegister(bool mailNeeded)
 {
     Invoke(new Action(() =>
     {
         if (mailNeeded)
         {
             CodeTextBox.Show();
             SendBtn.Show();
             Size = new Size(251, Size.Height);
             MessageBox.Show("Please Enter Code");
         }
         else
         {
             MessageBox.Show("Registered!");
             Close();
         }
     }));
 }