Beispiel #1
0
        public static void ShowWindow(IWin32Window parent)
        {
            DoneDialog dialog = new DoneDialog();

            dialog.ShowDialog(parent);
            dialog.Dispose();
        }
Beispiel #2
0
        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);
            }
        }