예제 #1
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (textBox1.Text == "hocmemnhungcung")
     {
         FinalForm final = new FinalForm();
         final.Show();
         final.Closed += (s, arg) => this.Close();
         this.Hide();
     }
     else
     {
         MessageBox.Show("Wrong passcode");
     }
 }