private void ShowMessagebox(string text) { if ((this.msg == null) || this.msg.IsDisposed) { msg = new LauncherMessageBox(); msg.Show(); msg.Label1Text = text; } else { msg.Close(); msg = new LauncherMessageBox(); msg.Show(); msg.Label1Text = text; } }
private void ShowMessagebox(string text) { if ((this.msg == null) || this.msg.IsDisposed) { msg = new LauncherMessageBox(); msg.Show(); msg.Label1Text = text; ConsoleForm.ConsoleFormInstance.richTextBox1AppendText = text; } else { msg.Close(); msg = new LauncherMessageBox(); msg.Show(); msg.Label1Text = text; ConsoleForm.ConsoleFormInstance.richTextBox1AppendText = text; } }