예제 #1
0
        private void pictureBox5_Click(object sender, EventArgs e)
        {
            Close();
            instructors I = new instructors(us);

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

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

            I2.Show();
        }
예제 #4
0
        private void pictureBox5_Click(object sender, EventArgs e)
        {
            string a = "";

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

            A.Show();
        }
예제 #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");
            }
        }