private void frmStudentIdList_Load(object sender, EventArgs e) { this.ControlBox = false; this.DoubleBuffered = true; this.WindowState = FormWindowState.Maximized; MDIParent frmMain = (MDIParent)this.Tag; frmMain.MDIREFRESH(); publicStudentIDList = this; DisplaylstStudentIDRecords(); frmMain.MDIDISABLED_FORSTUDENT(); }