Exemple #1
0
        public FormSVIEX()
        {
            try
            {
                if (theInstance != null)
                {
                    theInstance.FillMeshComboBoxes();
                    theInstance.BringToFront();
                    return;
                }
                theInstance = this;

                InitializeComponent();

                this.ShowHint = DockState.Document;
                this.Text = "SviEx Normals";
                Gui.Docking.ShowDockContent(this, Gui.Docking.DockEditors, ContentCategory.Others);

                FillMeshComboBoxes();
            }
            catch (Exception ex)
            {
                Utility.ReportException(ex);
            }
        }
Exemple #2
0
        public FormSVIEX()
        {
            try
            {
                if (theInstance != null)
                {
                    theInstance.FillMeshComboBoxes();
                    theInstance.BringToFront();
                    return;
                }
                theInstance = this;

                InitializeComponent();

                this.ShowHint = DockState.Document;
                this.Text     = "SviEx Normals";
                Gui.Docking.ShowDockContent(this, Gui.Docking.DockEditors, ContentCategory.Others);

                FillMeshComboBoxes();
            }
            catch (Exception ex)
            {
                Utility.ReportException(ex);
            }
        }
Exemple #3
0
 void CustomDispose()
 {
     try
     {
         if (this == theInstance)
         {
             theInstance = null;
         }
     }
     catch (Exception ex)
     {
         Utility.ReportException(ex);
     }
 }
Exemple #4
0
 void CustomDispose()
 {
     try
     {
         if (this == theInstance)
         {
             theInstance = null;
         }
     }
     catch (Exception ex)
     {
         Utility.ReportException(ex);
     }
 }