private void GoStudentsForm() { Project_12_A_B.PL.FormStudents form = new Project_12_A_B.PL.FormStudents(); form.Permission = 6; form.Text = "Direct Of Students - Students"; Application.Run(form); }
private void button1_Click(object sender, EventArgs e) { Project_12_A_B.PL.FormStudents st = new Project_12_A_B.PL.FormStudents(); st.Text = "Direct Of Students"; st.ShowDialog(); }