Пример #1
0
        private void button7_Click(object sender, EventArgs e)
        {
            dashboard a = new dashboard();

            this.Hide();
            a.Show();
        }
Пример #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (textBox1.Text == "estsb" && textBox2.Text == "estsb")
     {
         dashboard a = new dashboard();
         this.Hide();
         a.Show();
     }
     else
     {
         MessageBox.Show("Le nom d'utilisateur ou le mot de passe est incorrecte! Veuillez vérifier vos informations de login ! ", "info", MessageBoxButtons.OK, MessageBoxIcon.Warning);
         textBox1.Text = "";
         textBox2.Text = "";
     }
 }