private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { StudentMain stuForm = StudentMain.GetStuForm(); stuForm.MdiParent = this; stuForm.Show(); stuForm.Activate(); }