/// <summary> /// CloseWaitDialog /// </summary> public void CloseWaitDialog() { if (waitWindow != null) { waitWindow.Close(); waitWindow = null; } }