Exemple #1
0
        private void button5_Click(object sender, EventArgs e)
        {
            OwnerView ov = new OwnerView();

            ov.Show();
            this.Close();
        }
Exemple #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (textBox2.Text == "owner")
     {
         this.Close();
         OwnerView view = new OwnerView();
         view.Show();
     }
     else
     {
         MessageBox.Show("Incorrect Password");
     }
 }