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); } }
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); } }
void CustomDispose() { try { if (this == theInstance) { theInstance = null; } } catch (Exception ex) { Utility.ReportException(ex); } }
void CustomDispose() { try { if (this == theInstance) { theInstance = null; } } catch (Exception ex) { Utility.ReportException(ex); } }