Ejemplo n.º 1
0
        private void pictureBox5_Click(object sender, EventArgs e)
        {
            Close();
            instructors I = new instructors(us);

            I.Show();
        }
Ejemplo n.º 2
0
        private void pictureBox5_Click(object sender, EventArgs e)
        {
            Hide();
            instructors i = new instructors(id);

            i.Show();
        }
Ejemplo n.º 3
0
        private void button3_Click(object sender, EventArgs e)
        {
            Close();
            instructors I2 = new instructors(us);

            I2.Show();
        }
Ejemplo n.º 4
0
        private void pictureBox5_Click(object sender, EventArgs e)
        {
            string a = "";

            Close();
            instructors A = new instructors(a);

            A.Show();
        }
Ejemplo n.º 5
0
        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");
            }
        }