Пример #1
0
        void Load_FRM_Document(Fwk.Logging.Targets.Target t)
        {
            FRM_Document wForm;

            try
            {
                wForm = new FRM_Document();
                wForm.Populate(t);
                wForm.MdiParent = this;
                wForm.Show();
            }
            catch (InvalidOperationException)
            { }
            catch (Exception ex)
            {
                this.ExceptionViewer.Show(ex);
            }
        }
Пример #2
0
 void Load_FRM_Document(Fwk.Logging.Targets.Target t)
 {
     FRM_Document wForm ;
     try
     {
         wForm = new FRM_Document();
         wForm.Populate(t);
         wForm.MdiParent = this;
         wForm.Show();
     }
     catch (InvalidOperationException)
     { }
     catch (Exception ex)
     {
         this.ExceptionViewer.Show(ex);
     }
 }