예제 #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();
            }
        }
예제 #2
0
파일: Main.cs 프로젝트: Pelsoft/fwk_10.3
        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();
            }
        }