コード例 #1
0
 private void loginbtn_Click_1(object sender, EventArgs e)
 {
     if (username.Text != "" && password.Text != "")
     {
         login pop = new login();
         if (pop.log(username.Text, password.Text) == true)
         {
             if (test == true)
             {
                 pop.upgrade(username.Text, password.Text, "1");
             }
             else
             {
                 pop.upgrade(username.Text, password.Text, "2");
             }
             success set = new success(1);
             set.ShowDialog();
         }
         else
         {
             MessageBox.Show("Please Check Your Username Or Password");
         }
     }
     else
     {
         MessageBox.Show("Please Check Your Username Or Password");
     }
 }
コード例 #2
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (secure_question_button.Text != "" && bunifuCustomTextbox7.Text != "" && bunifuCustomTextbox1.Text != "" && bunifuCustomTextbox2.Text != "" && bunifuCustomTextbox3.Text != "" && bunifuCustomTextbox4.Text != "" && bunifuCustomTextbox5.Text != "" && bunifuCustomTextbox6.Text == bunifuCustomTextbox5.Text)
     {
         register pop = new register();
         pop.registeration(bunifuCustomTextbox1.Text, bunifuCustomTextbox2.Text, comboBox1.Text, comboBox2.Text, comboBox3.Text, bunifuCustomTextbox3.Text, bunifuCustomTextbox4.Text, bunifuCustomTextbox5.Text, male, female, secure_question_button.Text, bunifuCustomTextbox7.Text);
         success set = new success(0);
         set.ShowDialog();
     }
     else
     {
         MessageBox.Show("Check Your Input Date");
     }
 }
コード例 #3
0
 private void bunifuThinButton21_Click(object sender, EventArgs e)
 {
     if (bunifuCustomTextbox4.Text != "" && bunifuCustomTextbox1.Text != "" && bunifuCustomTextbox2.Text != "" && bunifuCustomTextbox3.Text != "" && bunifuCustomTextbox6.Text != "")
     {
         Run pop = new Run();
         if (pop.Go(bunifuCustomTextbox6.Text, bunifuCustomTextbox2.Text, bunifuCustomTextbox1.Text, bunifuCustomTextbox3.Text, bunifuCustomTextbox4.Text) == true)
         {
             if (pop.find((bunifuCustomTextbox4.Text).ToLower()) <= 0)
             {
                 pop.inp((bunifuCustomTextbox4.Text).ToLower());
             }
             success popo = new success(2);
             popo.Show();
         }
         pop.Eat(ref CollectionList);
     }
     else
     {
         MessageBox.Show(" Check Your Data, Please! ");
     }
 }