/// <summary> /// Displays the results of a generation / upload routine /// </summary> /// <param name="message"></param> private void ShowResultDialog(String message) { LogWindow dlg = new LogWindow(); if (generationResult) dlg.Image = SystemIcons.Asterisk; else dlg.Image = SystemIcons.Error; dlg.Message = message; dlg.Log = generateLog; // This forces the log window to the top if // the application is behind another. this.Focus(); // Show the log window dlg.ShowDialog(); myProgress.Style = ProgressBarStyle.Blocks; myProgress.Value = 0; myStatusMsg.Text = "[Generator Idle]"; btnGenerate.Enabled = true; }