public void AboutDialog() { try { var about = new DebugForm(VisualStudio, Version, this); about.ShowDialog(); } catch (Exception e) { Log.Error("AboutDialog failed", e); } }
private void btnDebug_Click(object sender, EventArgs e) { DebugForm debugDialog = new DebugForm(); debugDialog.LogLevel = LogLevel; debugDialog.LogFilePath = LogFilePath; debugDialog.DataMartClientId = DataMartClientId; if (debugDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { LogLevel = debugDialog.LogLevel; LogFilePath = debugDialog.LogFilePath; } }
private void RawButton_Click(object sender, EventArgs e) { try { using (DebugForm debugForm = new DebugForm(Master, devno, TargetSensor)) { debugForm.ShowInTaskbar = false; debugForm.StartPosition = FormStartPosition.CenterParent; debugForm.ShowDialog(this); } } catch { } }
public void Break(IDebugFrame debugFrame, Stack stack) { DebugForm debugForm = new DebugForm(debugFrame, stack); debugForm.ShowDialog(); }