private void m_cmd_lop_hoc_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { try { if (f200 == null || !IsFormOpen(f200)) { f200 = new f200_DM_LOP_HOC(); f200.MdiParent = this; f200.Show(); } else { f200.Focus(); } } catch { MessageBox.Show("Đã xảy ra lỗi trong hệ thống!"); } }
private void m_cmd_lop_hoc_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { f200_DM_LOP_HOC f200 = new f200_DM_LOP_HOC(); f200.MdiParent = this; f200.Show(); }