Пример #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (textBox1.Text == "filza" && textBox2.Text == "mirha")
     {
         Neelumoil mainP = new Neelumoil();
         mainP.ShowDialog();
         Visible = false;
     }
     else
     {
         MessageBox.Show("Enter correct login!");
     }
 }
Пример #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            Form f = new Neelumoil();

            f.Show();
        }