public Manage_Students_Form()
 {
     InitializeComponent();
     if (frm == null)
     {
         frm = this;
     }
     this.metroGrid1.DataSource = stud.Get_All_Students();
 }
 static void frm_FromCLosed(object sender, FormClosedEventArgs e)
 {
     frm = null;
 }
示例#3
0
        private void manageStudentsToolStripMenuItem_Click_1(object sender, EventArgs e)
        {
            Manage_Students_Form frm = new Manage_Students_Form();

            frm.ShowDialog();
        }