public PopupWaiting() { if (instance == null) { instance = this; } else { throw new System.Exception(); } InitializeComponent(); }
public new void Close() { instance = null; manualClose = true; base.Close(); }