Пример #1
0
        private void gunaButton1_Click(object sender, EventArgs e)
        {
            this.Hide();
            dashboardForm dash = new dashboardForm();

            dash.Show();
        }
Пример #2
0
 private void btnLogin_Click(object sender, EventArgs e)
 {
     if (txtUsername.Text == "laiba" && txtPassword.Text == "5555")
     {
         txtforgot.Visible = false;
         dashboardForm form3 = new dashboardForm();
         this.Hide();
         form3.Show();
     }
     else
     {
         txtforgot.Visible = true;
         txtPassword.Clear();
     }
 }