Esempio n. 1
0
        private void loginBtnClk(object sender, EventArgs e)
        {
            // if (textBox1.Text.Equals("admin") && textBox2.Text.Equals("1234"))

            AdminDashBoard x = new AdminDashBoard();

            x.ShowDialog();

            //else
            //MessageBox.Show("Credentials Error ");
        }
 private void loginBtnClk(object sender, EventArgs e)
 {
     if (richTextBox1.Text.Equals("admin") && richTextBox2.Text.Equals("1234"))
     {
         AdminDashBoard x = new AdminDashBoard();
         x.ShowDialog();
     }
     else
     {
         MessageBox.Show("Credentials Error ");
     }
 }
Esempio n. 3
0
        private void loginBtnClk(object sender, EventArgs e)
        {
            AdminDashBoard x = new AdminDashBoard();

            x.ShowDialog();
        }