예제 #1
0
 private void idMaker_Available(IdMaker idMaker, bool available)
 {
     Invoke(new Action(delegate
     {
         if (available == false)
         {
             var msgBox = new MehdiMessageBox("\nThis Id is Already Created!", "Attention",
                                              MehdiMessageBox.Type.Error);
             //msgBox.MessageColor = Color.Red;
             //msgBox.TitleColor = Color.Red;
             msgBox.ShowDialog();
         }
     }));
 }
 private void idMaker_WrongCaptcha(IdMaker idMaker, string msg)
 {
     MessageBox.Show("Wrong Captcha", "Error");
     return;
 }
 private void idMaker_InvalidPassword(IdMaker idMaker, string msg)
 {
     MessageBox.Show("Invalid Password", "Error");
     return;
 }
 private void idMaker_ErrorCreate(IdMaker idMaker)
 {
     MessageBox.Show("Error in Creating Id", "Attention!");
     return;
 }
 private void idMaker_Created(IdMaker idMaker, string msg, string data)
 {
     listBox2.Items.Add("New Account Created!");
     MessageBox.Show("Id Created Sucessfully!", "Attention!");
     pictureBox1.Hide();
     return;
 }
 private void idMaker_Available(IdMaker idMaker, bool available)
 {
     Invoke(new Action(delegate
     {
         if (available == false)
         {
             var msgBox = new MehdiMessageBox("\nThis Id is Already Created!", "Attention",
             MehdiMessageBox.Type.Error);
             //msgBox.MessageColor = Color.Red;
             //msgBox.TitleColor = Color.Red;
             msgBox.ShowDialog();
         }
     }));
 }
예제 #7
0
 private void idMaker_WrongCaptcha(IdMaker idMaker, string msg)
 {
     MessageBox.Show("Wrong Captcha", "Error");
     return;
 }
예제 #8
0
 private void idMaker_InvalidPassword(IdMaker idMaker, string msg)
 {
     MessageBox.Show("Invalid Password", "Error");
     return;
 }
예제 #9
0
 private void idMaker_ErrorCreate(IdMaker idMaker)
 {
     MessageBox.Show("Error in Creating Id", "Attention!");
     return;
 }
예제 #10
0
 private void idMaker_Created(IdMaker idMaker, string msg, string data)
 {
     MessageBox.Show("Id Created Sucessfully!", "Attention!");
     return;
 }