private void අලතනඑකකරනනToolStripMenuItem_Click(object sender, EventArgs e) { Add_new_student ans = Add_new_student.getInstance(); //ans.MdiParent = this; ans.Show(); //ans.WindowState = FormWindowState.Maximized; //ans.FormBorderStyle = FormBorderStyle.FixedSingle; }
public static Add_new_student getInstance() { if (inst7 == null || inst7.IsDisposed) { inst7 = new Add_new_student(); return(inst7); } else { return(inst7); } }