private void HideGUI() { if (dimWindow != null) { dimWindow.Hide(); dimWindow = null; } }
public void EditDimensions(ModuleROTank m) { if (dimWindow != null) { dimWindow.Hide(); dimWindow = null; return; } dimWindow = new DimensionWindow(m); dimWindow.Show(); }
public void EditDimensions(ModuleROTank m) { if (dimWindow != null) { HideGUI(); } else { dimWindow = new DimensionWindow(m); dimWindow.Show(); } }