private void button3_Click(object sender, EventArgs e)
        {
            this.Close();
            InstructorOperation ist = new InstructorOperation(1);

            ist.Show();
        }
Ejemplo n.º 2
0
        private void Login(int id, string name)
        {
            try
            {
                Online_Exame exam    = new Online_Exame();
                var          instrac = (from s in exam.Instractors where s.Ins_id == id & s.Ins_fname == name select s).First();

                InstructorOperation instractor = new InstructorOperation(instrac.Ins_id);
                instractor.Show();
                this.Close();
            }
            catch (Exception)
            {
                MessageBox.Show("Not Autho");
            }
        }