public static InstructionsGUI GetInstance() { if (_instanceInstructionsGUI == null) { _instanceInstructionsGUI = new InstructionsGUI(); } return(_instanceInstructionsGUI); }
protected override void Dispose(bool disposing) { //if (disposing && (components != null)) //{ // InstructionsGUI.GetInstance().Hide(); //} base.Dispose(disposing); _instanceInstructionsGUI = null; }
private void instructionsItem_Click(object sender, System.EventArgs e) { InstructionsGUI.GetInstance().Show(); }