private void menuMakeDispatching_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { FormFlag.formMakeDispatching_flag = true; if (tabbedMdiManager.Pages[_formMakeDispatching] == null) { _formMakeDispatching = new FormMakeDispatching(); _formMakeDispatching.MdiParent = this; _formMakeDispatching.Show(); } else { _formMakeDispatching.BringToFront(); } }
private void buttonMakeDispatching_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { FormFlag.formMakeDispatching_flag = true; barResult.Caption = "배차결과: 배차계획 실행관리"; if (tabbedMdiManager.Pages[_formMakeDispatching] == null) { _formMakeDispatching = new FormMakeDispatching(); _formMakeDispatching.MdiParent = this; _formMakeDispatching.Show(); } else { _formMakeDispatching.BringToFront(); } }