protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); }
//wipe old gui and restart. it is easier than trying to carefully clear what the user is already done with. internal void rebuild() { gui.Dispose(); build(); gui.setInputNumber(inputNumber); }