Beispiel #1
0
 public void AboutDialog()
 {
     try
     {
         var about = new DebugForm(VisualStudio, Version, this);
         about.ShowDialog();
     }
     catch (Exception e)
     {
         Log.Error("AboutDialog failed", e);
     }
 }
Beispiel #2
0
        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;
            }
        }
Beispiel #3
0
 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
     {
     }
 }
Beispiel #4
0
        public void Break(IDebugFrame debugFrame, Stack stack)
        {
            DebugForm debugForm = new DebugForm(debugFrame, stack);

            debugForm.ShowDialog();
        }