Esempio n. 1
0
        private void ok_button_Click(object sender, EventArgs e)
        {
            if(secretariat_radioButton.Checked)
            {
                AddForm addfrm = new AddForm();
                this.Hide();
                addfrm.Show();
            }

            if( prof_radioButton.Checked)
            {
                porfessorForm prof = new porfessorForm();
                this.Hide();
                prof.Show();
            }

            if(stud_radioButton.Checked)
            {
                studentForm stud = new studentForm();
                this.Hide();
                stud.Show();
            }
        }
Esempio n. 2
0
        private void ok_button_Click(object sender, EventArgs e)
        {
            if (secretariat_radioButton.Checked)
            {
                AddForm addfrm = new AddForm();
                this.Hide();
                addfrm.Show();
            }

            if (prof_radioButton.Checked)
            {
                porfessorForm prof = new porfessorForm();
                this.Hide();
                prof.Show();
            }

            if (stud_radioButton.Checked)
            {
                studentForm stud = new studentForm();
                this.Hide();
                stud.Show();
            }
        }