/// <summary> /// Clean up any resources being used. /// </summary> protected override void Dispose(bool disposing) { this.owner.Enabled = true; Info.info = null; if (disposing) { if (components != null) { components.Dispose(); } } base.Dispose(disposing); }
public static void showInfo(GUI owner) { if (Info.info == null) Info.info = new Info(owner); Info.info.Show(); owner.Enabled = false; }