public static void ShowWindow(IWin32Window parent) { DoneDialog dialog = new DoneDialog(); dialog.ShowDialog(parent); dialog.Dispose(); }
private void PatchFinished(ErrorCode error) { // Disable animation termito.AutoDisable = true; // Enable buttons btnPatch.Enabled = true; btnShowExtras.Enabled = true; if (error.IsValid()) { DoneDialog.ShowWindow(this); } else { MessageErrorDialog.Show(ErrorCode.UnknownError, this); } }