Example #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (textBox1.Text == "Admin" && textBox2.Text == "1111")
     {
         ApplicationManager.ShowForm(new Page1());
     }
     else
     {
         DialogResult dialogResult = MessageBox.Show("Eror");
     }
 }
Example #2
0
 private void button2_Click(object sender, EventArgs e)
 {
     ApplicationManager.ShowForm(new Watch_info());
 }
Example #3
0
 private void button1_Click(object sender, EventArgs e)
 {
     ApplicationManager.ShowForm(new Form2());
 }