void ReleaseDesignerOutlets() { if (DietBtn != null) { DietBtn.Dispose(); DietBtn = null; } if (AttackBtn != null) { AttackBtn.Dispose(); AttackBtn = null; } if (CruiseBtn != null) { CruiseBtn.Dispose(); CruiseBtn = null; } if (ConsBtn != null) { ConsBtn.Dispose(); ConsBtn = null; } if (StabBtn != null) { StabBtn.Dispose(); StabBtn = null; } }