private void ShowBackEndForm() { if (_WorkSpace.Contains(CodeGeneratorCommon.GeneratorsType.BackEnd)) { return; } try { ofrmDACGenerator = new frm_DACGenerator(); ofrmDACGenerator.Closing += new CancelEventHandler(ofrmDACGenerator_Closing); ofrmDACGenerator.LastAccessStorage = _LastAccessStorage; ofrmDACGenerator.TemplateSettingObject = _TemplateSettingObject; ofrmDACGenerator.MdiParent = this; _WorkSpace.Add(ofrmDACGenerator, CodeGeneratorCommon.GeneratorsType.BackEnd); ShowFrm(ofrmDACGenerator); } catch (Exception ex) { MessageView ofrmMessageView = new MessageView(); ofrmMessageView.MdiParent = this; ofrmMessageView.Message = ex.Message; ofrmMessageView.Show(); } }
private void ShowBackEndForm() { if(_WorkSpace.Contains(CodeGeneratorCommon.GeneratorsType.BackEnd)) return; try { ofrmDACGenerator = new frm_DACGenerator(); ofrmDACGenerator.Closing += new CancelEventHandler(ofrmDACGenerator_Closing); ofrmDACGenerator.LastAccessStorage = _LastAccessStorage; ofrmDACGenerator.TemplateSettingObject = _TemplateSettingObject; ofrmDACGenerator.MdiParent = this; _WorkSpace.Add(ofrmDACGenerator, CodeGeneratorCommon.GeneratorsType.BackEnd); ShowFrm(ofrmDACGenerator); } catch (Exception ex) { MessageView ofrmMessageView = new MessageView(); ofrmMessageView.MdiParent = this; ofrmMessageView.Message = ex.Message; ofrmMessageView.Show(); } }