Beispiel #1
0
        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();
            }
        }
Beispiel #2
0
        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();
            }
        }