private void pictureBox5_Click(object sender, EventArgs e) { Close(); instructors I = new instructors(us); I.Show(); }
private void pictureBox5_Click(object sender, EventArgs e) { Hide(); instructors i = new instructors(id); i.Show(); }
private void button3_Click(object sender, EventArgs e) { Close(); instructors I2 = new instructors(us); I2.Show(); }
private void pictureBox5_Click(object sender, EventArgs e) { string a = ""; Close(); instructors A = new instructors(a); A.Show(); }
private void button2_Click(object sender, EventArgs e) { //string A = "gur"; if (Worker.Validate_user_password(textBox2.Text, textBox1.Text)) { person = AddPerson.FactoryMethod("Instractor"); SingelUser.Instance.set_user(person); instructors F3 = new instructors(textBox2.Text); Close(); F3.Show(); } else { MessageBox.Show("Name or Password invalid"); } }