Messages and Errors display is supported, transition messages are displayed now

This commit is contained in:
Milan Hanajik
2015-01-12 04:53:50 +01:00
parent 222887f97d
commit 0829655880
6 changed files with 1612 additions and 1549 deletions
@@ -438,6 +438,7 @@ namespace TBF.BenchControl.Sequences
{
//------------------------------------------------
Bridge.OnActivity(this, string.Format(message, transitionSequence.Name, step.ItemNr + 1, stepsCount));
Bridge.OnMessage(this, step.Message);
//------------------------------------------------
/// FM controlled pumps are canged imediately without using any state operations
+479 -480
View File
@@ -34,429 +34,421 @@
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainWnd));
this.verticalSplitContainer = new System.Windows.Forms.SplitContainer();
this.horizontalSplitContainer = new System.Windows.Forms.SplitContainer();
this.descriptionGroupBox = new System.Windows.Forms.GroupBox();
this.descriptionLabel = new System.Windows.Forms.Label();
this.progressGroupBox = new System.Windows.Forms.GroupBox();
this.mainProgressBar = new System.Windows.Forms.ProgressBar();
this.procedureGroupBox = new System.Windows.Forms.GroupBox();
this.procedureComboBox = new System.Windows.Forms.ComboBox();
this.activityGroupBox = new System.Windows.Forms.GroupBox();
this.activityLabel = new System.Windows.Forms.Label();
this.mainTabControl = new System.Windows.Forms.TabControl();
this.homeTabPage = new System.Windows.Forms.TabPage();
this.ctrlBrdComponent = new ControlComponent3Munich.UserControl1();
this.processTabPage = new System.Windows.Forms.TabPage();
this.processTabPageCtrl = new TBF.Screens.ProcessTabPageCtrl();
this.measurementTabPage = new System.Windows.Forms.TabPage();
this.MeasurementTabPageCtrl = new TBF.Screens.MeasurementTabPageCtrl();
this.insertTabPage = new System.Windows.Forms.TabPage();
this.picturesTabPage = new System.Windows.Forms.TabPage();
this.picturesTabPageCtrl1 = new TBF.Screens.PicturesTabPageCtrl();
this.resultsTabPage = new System.Windows.Forms.TabPage();
this.resultsTabPageCtrl = new TBF.Screens.ResultsTabPageCtrl();
this.logsTabPage = new System.Windows.Forms.TabPage();
this.logsTabPageCtrl = new TBF.Screens.LogsTabPageCtrl();
this.rightHorizSplitContainer = new System.Windows.Forms.SplitContainer();
this.progressFlowLayoutPanel = new System.Windows.Forms.FlowLayoutPanel();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.userInfoStatusLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.activityStatusLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.benchTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.benchComponentsTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.benchPathsTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.benchTransitionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.benchMetrologyTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.homeTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.measurementTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.resultsTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.logsTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.editTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.usersTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.localSettingsTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.databaseSettingsTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.passwortToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.helpTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.aboutTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.mainMenuStrip = new System.Windows.Forms.MenuStrip();
this.proceduresToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.processToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.picturesTSMItem = new System.Windows.Forms.ToolStripMenuItem();
this.resultsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
((System.ComponentModel.ISupportInitialize)(this.verticalSplitContainer)).BeginInit();
this.verticalSplitContainer.Panel1.SuspendLayout();
this.verticalSplitContainer.Panel2.SuspendLayout();
this.verticalSplitContainer.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.horizontalSplitContainer)).BeginInit();
this.horizontalSplitContainer.Panel1.SuspendLayout();
this.horizontalSplitContainer.Panel2.SuspendLayout();
this.horizontalSplitContainer.SuspendLayout();
this.descriptionGroupBox.SuspendLayout();
this.progressGroupBox.SuspendLayout();
this.procedureGroupBox.SuspendLayout();
this.activityGroupBox.SuspendLayout();
this.mainTabControl.SuspendLayout();
this.homeTabPage.SuspendLayout();
this.processTabPage.SuspendLayout();
this.measurementTabPage.SuspendLayout();
this.picturesTabPage.SuspendLayout();
this.resultsTabPage.SuspendLayout();
this.logsTabPage.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.rightHorizSplitContainer)).BeginInit();
this.rightHorizSplitContainer.Panel1.SuspendLayout();
this.rightHorizSplitContainer.SuspendLayout();
this.statusStrip1.SuspendLayout();
this.mainMenuStrip.SuspendLayout();
this.SuspendLayout();
//
// verticalSplitContainer
//
resources.ApplyResources(this.verticalSplitContainer, "verticalSplitContainer");
this.verticalSplitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
this.verticalSplitContainer.Name = "verticalSplitContainer";
//
// verticalSplitContainer.Panel1
//
resources.ApplyResources(this.verticalSplitContainer.Panel1, "verticalSplitContainer.Panel1");
this.verticalSplitContainer.Panel1.Controls.Add(this.horizontalSplitContainer);
//
// verticalSplitContainer.Panel2
//
resources.ApplyResources(this.verticalSplitContainer.Panel2, "verticalSplitContainer.Panel2");
this.verticalSplitContainer.Panel2.Controls.Add(this.rightHorizSplitContainer);
//
// horizontalSplitContainer
//
resources.ApplyResources(this.horizontalSplitContainer, "horizontalSplitContainer");
this.horizontalSplitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.horizontalSplitContainer.Name = "horizontalSplitContainer";
//
// horizontalSplitContainer.Panel1
//
resources.ApplyResources(this.horizontalSplitContainer.Panel1, "horizontalSplitContainer.Panel1");
this.horizontalSplitContainer.Panel1.BackColor = System.Drawing.SystemColors.Control;
this.horizontalSplitContainer.Panel1.Controls.Add(this.descriptionGroupBox);
this.horizontalSplitContainer.Panel1.Controls.Add(this.progressGroupBox);
this.horizontalSplitContainer.Panel1.Controls.Add(this.procedureGroupBox);
this.horizontalSplitContainer.Panel1.Controls.Add(this.activityGroupBox);
//
// horizontalSplitContainer.Panel2
//
resources.ApplyResources(this.horizontalSplitContainer.Panel2, "horizontalSplitContainer.Panel2");
this.horizontalSplitContainer.Panel2.Controls.Add(this.mainTabControl);
//
// descriptionGroupBox
//
resources.ApplyResources(this.descriptionGroupBox, "descriptionGroupBox");
this.descriptionGroupBox.Controls.Add(this.descriptionLabel);
this.descriptionGroupBox.Name = "descriptionGroupBox";
this.descriptionGroupBox.TabStop = false;
//
// descriptionLabel
//
resources.ApplyResources(this.descriptionLabel, "descriptionLabel");
this.descriptionLabel.Name = "descriptionLabel";
//
// progressGroupBox
//
resources.ApplyResources(this.progressGroupBox, "progressGroupBox");
this.progressGroupBox.Controls.Add(this.mainProgressBar);
this.progressGroupBox.Name = "progressGroupBox";
this.progressGroupBox.TabStop = false;
//
// mainProgressBar
//
resources.ApplyResources(this.mainProgressBar, "mainProgressBar");
this.mainProgressBar.Name = "mainProgressBar";
//
// procedureGroupBox
//
resources.ApplyResources(this.procedureGroupBox, "procedureGroupBox");
this.procedureGroupBox.Controls.Add(this.procedureComboBox);
this.procedureGroupBox.Name = "procedureGroupBox";
this.procedureGroupBox.TabStop = false;
//
// procedureComboBox
//
resources.ApplyResources(this.procedureComboBox, "procedureComboBox");
this.procedureComboBox.FormattingEnabled = true;
this.procedureComboBox.Name = "procedureComboBox";
this.procedureComboBox.SelectedIndexChanged += new System.EventHandler(this.procedureComboBox_SelectedIndexChanged);
//
// activityGroupBox
//
resources.ApplyResources(this.activityGroupBox, "activityGroupBox");
this.activityGroupBox.Controls.Add(this.activityLabel);
this.activityGroupBox.Name = "activityGroupBox";
this.activityGroupBox.TabStop = false;
//
// activityLabel
//
resources.ApplyResources(this.activityLabel, "activityLabel");
this.activityLabel.Name = "activityLabel";
//
// mainTabControl
//
resources.ApplyResources(this.mainTabControl, "mainTabControl");
this.mainTabControl.Controls.Add(this.homeTabPage);
this.mainTabControl.Controls.Add(this.processTabPage);
this.mainTabControl.Controls.Add(this.measurementTabPage);
this.mainTabControl.Controls.Add(this.insertTabPage);
this.mainTabControl.Controls.Add(this.picturesTabPage);
this.mainTabControl.Controls.Add(this.resultsTabPage);
this.mainTabControl.Controls.Add(this.logsTabPage);
this.mainTabControl.Name = "mainTabControl";
this.mainTabControl.SelectedIndex = 0;
this.mainTabControl.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
//
// homeTabPage
//
resources.ApplyResources(this.homeTabPage, "homeTabPage");
this.homeTabPage.BackColor = System.Drawing.SystemColors.Control;
this.homeTabPage.Controls.Add(this.ctrlBrdComponent);
this.homeTabPage.Name = "homeTabPage";
//
// ctrlBrdComponent
//
resources.ApplyResources(this.ctrlBrdComponent, "ctrlBrdComponent");
this.ctrlBrdComponent.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.ctrlBrdComponent.Name = "ctrlBrdComponent";
//
// processTabPage
//
resources.ApplyResources(this.processTabPage, "processTabPage");
this.processTabPage.Controls.Add(this.processTabPageCtrl);
this.processTabPage.Name = "processTabPage";
this.processTabPage.UseVisualStyleBackColor = true;
//
// processTabPageCtrl
//
resources.ApplyResources(this.processTabPageCtrl, "processTabPageCtrl");
this.processTabPageCtrl.BackColor = System.Drawing.SystemColors.Control;
this.processTabPageCtrl.Name = "processTabPageCtrl";
//
// measurementTabPage
//
resources.ApplyResources(this.measurementTabPage, "measurementTabPage");
this.measurementTabPage.Controls.Add(this.MeasurementTabPageCtrl);
this.measurementTabPage.Name = "measurementTabPage";
this.measurementTabPage.UseVisualStyleBackColor = true;
//
// MeasurementTabPageCtrl
//
resources.ApplyResources(this.MeasurementTabPageCtrl, "MeasurementTabPageCtrl");
this.MeasurementTabPageCtrl.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(180)))), ((int)(((byte)(200)))));
this.MeasurementTabPageCtrl.Name = "MeasurementTabPageCtrl";
//
// insertTabPage
//
resources.ApplyResources(this.insertTabPage, "insertTabPage");
this.insertTabPage.BackColor = System.Drawing.Color.Silver;
this.insertTabPage.Name = "insertTabPage";
//
// picturesTabPage
//
resources.ApplyResources(this.picturesTabPage, "picturesTabPage");
this.picturesTabPage.Controls.Add(this.picturesTabPageCtrl1);
this.picturesTabPage.Name = "picturesTabPage";
this.picturesTabPage.UseVisualStyleBackColor = true;
//
// picturesTabPageCtrl1
//
resources.ApplyResources(this.picturesTabPageCtrl1, "picturesTabPageCtrl1");
this.picturesTabPageCtrl1.BackColor = System.Drawing.Color.Silver;
this.picturesTabPageCtrl1.Name = "picturesTabPageCtrl1";
//
// resultsTabPage
//
resources.ApplyResources(this.resultsTabPage, "resultsTabPage");
this.resultsTabPage.Controls.Add(this.resultsTabPageCtrl);
this.resultsTabPage.Name = "resultsTabPage";
this.resultsTabPage.UseVisualStyleBackColor = true;
//
// resultsTabPageCtrl
//
resources.ApplyResources(this.resultsTabPageCtrl, "resultsTabPageCtrl");
this.resultsTabPageCtrl.BackColor = System.Drawing.SystemColors.Control;
this.resultsTabPageCtrl.Name = "resultsTabPageCtrl";
//
// logsTabPage
//
resources.ApplyResources(this.logsTabPage, "logsTabPage");
this.logsTabPage.Controls.Add(this.logsTabPageCtrl);
this.logsTabPage.Name = "logsTabPage";
this.logsTabPage.UseVisualStyleBackColor = true;
//
// logsTabPageCtrl
//
resources.ApplyResources(this.logsTabPageCtrl, "logsTabPageCtrl");
this.logsTabPageCtrl.BackColor = System.Drawing.SystemColors.Control;
this.logsTabPageCtrl.Name = "logsTabPageCtrl";
//
// rightHorizSplitContainer
//
resources.ApplyResources(this.rightHorizSplitContainer, "rightHorizSplitContainer");
this.rightHorizSplitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.rightHorizSplitContainer.Name = "rightHorizSplitContainer";
//
// rightHorizSplitContainer.Panel1
//
resources.ApplyResources(this.rightHorizSplitContainer.Panel1, "rightHorizSplitContainer.Panel1");
this.rightHorizSplitContainer.Panel1.Controls.Add(this.progressFlowLayoutPanel);
//
// rightHorizSplitContainer.Panel2
//
resources.ApplyResources(this.rightHorizSplitContainer.Panel2, "rightHorizSplitContainer.Panel2");
this.rightHorizSplitContainer.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.rightHorizSplitContainer_SplitterMoved);
//
// progressFlowLayoutPanel
//
resources.ApplyResources(this.progressFlowLayoutPanel, "progressFlowLayoutPanel");
this.progressFlowLayoutPanel.BackColor = System.Drawing.SystemColors.Control;
this.progressFlowLayoutPanel.Name = "progressFlowLayoutPanel";
//
// statusStrip1
//
resources.ApplyResources(this.statusStrip1, "statusStrip1");
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainWnd));
this.verticalSplitContainer = new System.Windows.Forms.SplitContainer();
this.horizontalSplitContainer = new System.Windows.Forms.SplitContainer();
this.descriptionGroupBox = new System.Windows.Forms.GroupBox();
this.descriptionLabel = new System.Windows.Forms.Label();
this.progressGroupBox = new System.Windows.Forms.GroupBox();
this.mainProgressBar = new System.Windows.Forms.ProgressBar();
this.procedureGroupBox = new System.Windows.Forms.GroupBox();
this.procedureComboBox = new System.Windows.Forms.ComboBox();
this.activityGroupBox = new System.Windows.Forms.GroupBox();
this.activityLabel = new System.Windows.Forms.Label();
this.mainTabControl = new System.Windows.Forms.TabControl();
this.homeTabPage = new System.Windows.Forms.TabPage();
this.ctrlBrdComponent = new ControlComponent3Munich.UserControl1();
this.processTabPage = new System.Windows.Forms.TabPage();
this.processTabPageCtrl = new TBF.Screens.ProcessTabPageCtrl();
this.measurementTabPage = new System.Windows.Forms.TabPage();
this.MeasurementTabPageCtrl = new TBF.Screens.MeasurementTabPageCtrl();
this.insertTabPage = new System.Windows.Forms.TabPage();
this.picturesTabPage = new System.Windows.Forms.TabPage();
this.picturesTabPageCtrl1 = new TBF.Screens.PicturesTabPageCtrl();
this.resultsTabPage = new System.Windows.Forms.TabPage();
this.resultsTabPageCtrl = new TBF.Screens.ResultsTabPageCtrl();
this.logsTabPage = new System.Windows.Forms.TabPage();
this.logsTabPageCtrl = new TBF.Screens.LogsTabPageCtrl();
this.rightHorizSplitContainer = new System.Windows.Forms.SplitContainer();
this.progressFlowLayoutPanel = new System.Windows.Forms.FlowLayoutPanel();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.userInfoStatusLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.activityStatusLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.benchTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.benchComponentsTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.benchPathsTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.benchTransitionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.benchMetrologyTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.homeTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.measurementTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.resultsTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.logsTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.editTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.usersTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.localSettingsTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.databaseSettingsTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.passwortToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.helpTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.aboutTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.mainMenuStrip = new System.Windows.Forms.MenuStrip();
this.proceduresToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.processToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.picturesTSMItem = new System.Windows.Forms.ToolStripMenuItem();
this.resultsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.messageLabel = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.verticalSplitContainer)).BeginInit();
this.verticalSplitContainer.Panel1.SuspendLayout();
this.verticalSplitContainer.Panel2.SuspendLayout();
this.verticalSplitContainer.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.horizontalSplitContainer)).BeginInit();
this.horizontalSplitContainer.Panel1.SuspendLayout();
this.horizontalSplitContainer.Panel2.SuspendLayout();
this.horizontalSplitContainer.SuspendLayout();
this.descriptionGroupBox.SuspendLayout();
this.progressGroupBox.SuspendLayout();
this.procedureGroupBox.SuspendLayout();
this.activityGroupBox.SuspendLayout();
this.mainTabControl.SuspendLayout();
this.homeTabPage.SuspendLayout();
this.processTabPage.SuspendLayout();
this.measurementTabPage.SuspendLayout();
this.picturesTabPage.SuspendLayout();
this.resultsTabPage.SuspendLayout();
this.logsTabPage.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.rightHorizSplitContainer)).BeginInit();
this.rightHorizSplitContainer.Panel1.SuspendLayout();
this.rightHorizSplitContainer.SuspendLayout();
this.statusStrip1.SuspendLayout();
this.mainMenuStrip.SuspendLayout();
this.SuspendLayout();
//
// verticalSplitContainer
//
resources.ApplyResources(this.verticalSplitContainer, "verticalSplitContainer");
this.verticalSplitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
this.verticalSplitContainer.Name = "verticalSplitContainer";
//
// verticalSplitContainer.Panel1
//
this.verticalSplitContainer.Panel1.Controls.Add(this.horizontalSplitContainer);
//
// verticalSplitContainer.Panel2
//
this.verticalSplitContainer.Panel2.Controls.Add(this.rightHorizSplitContainer);
//
// horizontalSplitContainer
//
resources.ApplyResources(this.horizontalSplitContainer, "horizontalSplitContainer");
this.horizontalSplitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.horizontalSplitContainer.Name = "horizontalSplitContainer";
//
// horizontalSplitContainer.Panel1
//
this.horizontalSplitContainer.Panel1.BackColor = System.Drawing.SystemColors.Control;
this.horizontalSplitContainer.Panel1.Controls.Add(this.descriptionGroupBox);
this.horizontalSplitContainer.Panel1.Controls.Add(this.progressGroupBox);
this.horizontalSplitContainer.Panel1.Controls.Add(this.procedureGroupBox);
this.horizontalSplitContainer.Panel1.Controls.Add(this.activityGroupBox);
//
// horizontalSplitContainer.Panel2
//
this.horizontalSplitContainer.Panel2.Controls.Add(this.mainTabControl);
//
// descriptionGroupBox
//
this.descriptionGroupBox.Controls.Add(this.descriptionLabel);
resources.ApplyResources(this.descriptionGroupBox, "descriptionGroupBox");
this.descriptionGroupBox.Name = "descriptionGroupBox";
this.descriptionGroupBox.TabStop = false;
//
// descriptionLabel
//
resources.ApplyResources(this.descriptionLabel, "descriptionLabel");
this.descriptionLabel.Name = "descriptionLabel";
//
// progressGroupBox
//
this.progressGroupBox.Controls.Add(this.mainProgressBar);
resources.ApplyResources(this.progressGroupBox, "progressGroupBox");
this.progressGroupBox.Name = "progressGroupBox";
this.progressGroupBox.TabStop = false;
//
// mainProgressBar
//
resources.ApplyResources(this.mainProgressBar, "mainProgressBar");
this.mainProgressBar.Name = "mainProgressBar";
//
// procedureGroupBox
//
this.procedureGroupBox.Controls.Add(this.procedureComboBox);
resources.ApplyResources(this.procedureGroupBox, "procedureGroupBox");
this.procedureGroupBox.Name = "procedureGroupBox";
this.procedureGroupBox.TabStop = false;
//
// procedureComboBox
//
resources.ApplyResources(this.procedureComboBox, "procedureComboBox");
this.procedureComboBox.FormattingEnabled = true;
this.procedureComboBox.Name = "procedureComboBox";
this.procedureComboBox.SelectedIndexChanged += new System.EventHandler(this.procedureComboBox_SelectedIndexChanged);
//
// activityGroupBox
//
this.activityGroupBox.Controls.Add(this.messageLabel);
this.activityGroupBox.Controls.Add(this.activityLabel);
resources.ApplyResources(this.activityGroupBox, "activityGroupBox");
this.activityGroupBox.Name = "activityGroupBox";
this.activityGroupBox.TabStop = false;
//
// activityLabel
//
resources.ApplyResources(this.activityLabel, "activityLabel");
this.activityLabel.Name = "activityLabel";
//
// mainTabControl
//
this.mainTabControl.Controls.Add(this.homeTabPage);
this.mainTabControl.Controls.Add(this.processTabPage);
this.mainTabControl.Controls.Add(this.measurementTabPage);
this.mainTabControl.Controls.Add(this.insertTabPage);
this.mainTabControl.Controls.Add(this.picturesTabPage);
this.mainTabControl.Controls.Add(this.resultsTabPage);
this.mainTabControl.Controls.Add(this.logsTabPage);
resources.ApplyResources(this.mainTabControl, "mainTabControl");
this.mainTabControl.Name = "mainTabControl";
this.mainTabControl.SelectedIndex = 0;
this.mainTabControl.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
//
// homeTabPage
//
this.homeTabPage.BackColor = System.Drawing.SystemColors.Control;
this.homeTabPage.Controls.Add(this.ctrlBrdComponent);
resources.ApplyResources(this.homeTabPage, "homeTabPage");
this.homeTabPage.Name = "homeTabPage";
//
// ctrlBrdComponent
//
this.ctrlBrdComponent.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
resources.ApplyResources(this.ctrlBrdComponent, "ctrlBrdComponent");
this.ctrlBrdComponent.Name = "ctrlBrdComponent";
//
// processTabPage
//
this.processTabPage.Controls.Add(this.processTabPageCtrl);
resources.ApplyResources(this.processTabPage, "processTabPage");
this.processTabPage.Name = "processTabPage";
this.processTabPage.UseVisualStyleBackColor = true;
//
// processTabPageCtrl
//
this.processTabPageCtrl.BackColor = System.Drawing.SystemColors.Control;
resources.ApplyResources(this.processTabPageCtrl, "processTabPageCtrl");
this.processTabPageCtrl.Name = "processTabPageCtrl";
//
// measurementTabPage
//
this.measurementTabPage.Controls.Add(this.MeasurementTabPageCtrl);
resources.ApplyResources(this.measurementTabPage, "measurementTabPage");
this.measurementTabPage.Name = "measurementTabPage";
this.measurementTabPage.UseVisualStyleBackColor = true;
//
// MeasurementTabPageCtrl
//
this.MeasurementTabPageCtrl.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(180)))), ((int)(((byte)(200)))));
resources.ApplyResources(this.MeasurementTabPageCtrl, "MeasurementTabPageCtrl");
this.MeasurementTabPageCtrl.Name = "MeasurementTabPageCtrl";
//
// insertTabPage
//
this.insertTabPage.BackColor = System.Drawing.Color.Silver;
resources.ApplyResources(this.insertTabPage, "insertTabPage");
this.insertTabPage.Name = "insertTabPage";
//
// picturesTabPage
//
this.picturesTabPage.Controls.Add(this.picturesTabPageCtrl1);
resources.ApplyResources(this.picturesTabPage, "picturesTabPage");
this.picturesTabPage.Name = "picturesTabPage";
this.picturesTabPage.UseVisualStyleBackColor = true;
//
// picturesTabPageCtrl1
//
this.picturesTabPageCtrl1.BackColor = System.Drawing.Color.Silver;
resources.ApplyResources(this.picturesTabPageCtrl1, "picturesTabPageCtrl1");
this.picturesTabPageCtrl1.Name = "picturesTabPageCtrl1";
//
// resultsTabPage
//
this.resultsTabPage.Controls.Add(this.resultsTabPageCtrl);
resources.ApplyResources(this.resultsTabPage, "resultsTabPage");
this.resultsTabPage.Name = "resultsTabPage";
this.resultsTabPage.UseVisualStyleBackColor = true;
//
// resultsTabPageCtrl
//
this.resultsTabPageCtrl.BackColor = System.Drawing.SystemColors.Control;
resources.ApplyResources(this.resultsTabPageCtrl, "resultsTabPageCtrl");
this.resultsTabPageCtrl.Name = "resultsTabPageCtrl";
//
// logsTabPage
//
this.logsTabPage.Controls.Add(this.logsTabPageCtrl);
resources.ApplyResources(this.logsTabPage, "logsTabPage");
this.logsTabPage.Name = "logsTabPage";
this.logsTabPage.UseVisualStyleBackColor = true;
//
// logsTabPageCtrl
//
this.logsTabPageCtrl.BackColor = System.Drawing.SystemColors.Control;
resources.ApplyResources(this.logsTabPageCtrl, "logsTabPageCtrl");
this.logsTabPageCtrl.Name = "logsTabPageCtrl";
//
// rightHorizSplitContainer
//
resources.ApplyResources(this.rightHorizSplitContainer, "rightHorizSplitContainer");
this.rightHorizSplitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.rightHorizSplitContainer.Name = "rightHorizSplitContainer";
//
// rightHorizSplitContainer.Panel1
//
this.rightHorizSplitContainer.Panel1.Controls.Add(this.progressFlowLayoutPanel);
this.rightHorizSplitContainer.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.rightHorizSplitContainer_SplitterMoved);
//
// progressFlowLayoutPanel
//
resources.ApplyResources(this.progressFlowLayoutPanel, "progressFlowLayoutPanel");
this.progressFlowLayoutPanel.BackColor = System.Drawing.SystemColors.Control;
this.progressFlowLayoutPanel.Name = "progressFlowLayoutPanel";
//
// statusStrip1
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.userInfoStatusLabel,
this.activityStatusLabel});
this.statusStrip1.Name = "statusStrip1";
//
// userInfoStatusLabel
//
resources.ApplyResources(this.userInfoStatusLabel, "userInfoStatusLabel");
this.userInfoStatusLabel.Name = "userInfoStatusLabel";
//
// activityStatusLabel
//
resources.ApplyResources(this.activityStatusLabel, "activityStatusLabel");
this.activityStatusLabel.Name = "activityStatusLabel";
//
// benchTSMenuItem
//
resources.ApplyResources(this.benchTSMenuItem, "benchTSMenuItem");
this.benchTSMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
resources.ApplyResources(this.statusStrip1, "statusStrip1");
this.statusStrip1.Name = "statusStrip1";
//
// userInfoStatusLabel
//
this.userInfoStatusLabel.Name = "userInfoStatusLabel";
resources.ApplyResources(this.userInfoStatusLabel, "userInfoStatusLabel");
//
// activityStatusLabel
//
this.activityStatusLabel.Name = "activityStatusLabel";
resources.ApplyResources(this.activityStatusLabel, "activityStatusLabel");
//
// benchTSMenuItem
//
this.benchTSMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.benchComponentsTSMenuItem,
this.benchPathsTSMenuItem,
this.benchTransitionsToolStripMenuItem,
this.benchMetrologyTSMenuItem,
this.toolStripSeparator1,
this.exitToolStripMenuItem});
this.benchTSMenuItem.Name = "benchTSMenuItem";
//
// benchComponentsTSMenuItem
//
resources.ApplyResources(this.benchComponentsTSMenuItem, "benchComponentsTSMenuItem");
this.benchComponentsTSMenuItem.Name = "benchComponentsTSMenuItem";
this.benchComponentsTSMenuItem.Click += new System.EventHandler(this.benchComponentsTSMItem_Click);
//
// benchPathsTSMenuItem
//
resources.ApplyResources(this.benchPathsTSMenuItem, "benchPathsTSMenuItem");
this.benchPathsTSMenuItem.Name = "benchPathsTSMenuItem";
this.benchPathsTSMenuItem.Click += new System.EventHandler(this.benchPathsTSMItem_Click);
//
// benchTransitionsToolStripMenuItem
//
resources.ApplyResources(this.benchTransitionsToolStripMenuItem, "benchTransitionsToolStripMenuItem");
this.benchTransitionsToolStripMenuItem.Name = "benchTransitionsToolStripMenuItem";
this.benchTransitionsToolStripMenuItem.Click += new System.EventHandler(this.benchTransitionsTSMItem_Click);
//
// benchMetrologyTSMenuItem
//
resources.ApplyResources(this.benchMetrologyTSMenuItem, "benchMetrologyTSMenuItem");
this.benchMetrologyTSMenuItem.Name = "benchMetrologyTSMenuItem";
this.benchMetrologyTSMenuItem.Click += new System.EventHandler(this.benchMetrologyTSMItem_Click);
//
// toolStripSeparator1
//
resources.ApplyResources(this.toolStripSeparator1, "toolStripSeparator1");
this.toolStripSeparator1.Name = "toolStripSeparator1";
//
// exitToolStripMenuItem
//
resources.ApplyResources(this.exitToolStripMenuItem, "exitToolStripMenuItem");
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
//
// homeTSMenuItem
//
resources.ApplyResources(this.homeTSMenuItem, "homeTSMenuItem");
this.homeTSMenuItem.Name = "homeTSMenuItem";
this.homeTSMenuItem.Click += new System.EventHandler(this.homeTSMenuItem_Click);
//
// measurementTSMenuItem
//
resources.ApplyResources(this.measurementTSMenuItem, "measurementTSMenuItem");
this.measurementTSMenuItem.Name = "measurementTSMenuItem";
this.measurementTSMenuItem.Click += new System.EventHandler(this.measurementTSMenuItem_Click);
//
// resultsTSMenuItem
//
resources.ApplyResources(this.resultsTSMenuItem, "resultsTSMenuItem");
this.resultsTSMenuItem.Name = "resultsTSMenuItem";
//
// logsTSMenuItem
//
resources.ApplyResources(this.logsTSMenuItem, "logsTSMenuItem");
this.logsTSMenuItem.Name = "logsTSMenuItem";
this.logsTSMenuItem.Click += new System.EventHandler(this.logsTSMenuItem_Click);
//
// editTSMenuItem
//
resources.ApplyResources(this.editTSMenuItem, "editTSMenuItem");
this.editTSMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.benchTSMenuItem.Name = "benchTSMenuItem";
resources.ApplyResources(this.benchTSMenuItem, "benchTSMenuItem");
//
// benchComponentsTSMenuItem
//
this.benchComponentsTSMenuItem.Name = "benchComponentsTSMenuItem";
resources.ApplyResources(this.benchComponentsTSMenuItem, "benchComponentsTSMenuItem");
this.benchComponentsTSMenuItem.Click += new System.EventHandler(this.benchComponentsTSMItem_Click);
//
// benchPathsTSMenuItem
//
this.benchPathsTSMenuItem.Name = "benchPathsTSMenuItem";
resources.ApplyResources(this.benchPathsTSMenuItem, "benchPathsTSMenuItem");
this.benchPathsTSMenuItem.Click += new System.EventHandler(this.benchPathsTSMItem_Click);
//
// benchTransitionsToolStripMenuItem
//
this.benchTransitionsToolStripMenuItem.Name = "benchTransitionsToolStripMenuItem";
resources.ApplyResources(this.benchTransitionsToolStripMenuItem, "benchTransitionsToolStripMenuItem");
this.benchTransitionsToolStripMenuItem.Click += new System.EventHandler(this.benchTransitionsTSMItem_Click);
//
// benchMetrologyTSMenuItem
//
this.benchMetrologyTSMenuItem.Name = "benchMetrologyTSMenuItem";
resources.ApplyResources(this.benchMetrologyTSMenuItem, "benchMetrologyTSMenuItem");
this.benchMetrologyTSMenuItem.Click += new System.EventHandler(this.benchMetrologyTSMItem_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
resources.ApplyResources(this.toolStripSeparator1, "toolStripSeparator1");
//
// exitToolStripMenuItem
//
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
resources.ApplyResources(this.exitToolStripMenuItem, "exitToolStripMenuItem");
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
//
// homeTSMenuItem
//
this.homeTSMenuItem.Name = "homeTSMenuItem";
resources.ApplyResources(this.homeTSMenuItem, "homeTSMenuItem");
this.homeTSMenuItem.Click += new System.EventHandler(this.homeTSMenuItem_Click);
//
// measurementTSMenuItem
//
this.measurementTSMenuItem.Name = "measurementTSMenuItem";
resources.ApplyResources(this.measurementTSMenuItem, "measurementTSMenuItem");
this.measurementTSMenuItem.Click += new System.EventHandler(this.measurementTSMenuItem_Click);
//
// resultsTSMenuItem
//
this.resultsTSMenuItem.Name = "resultsTSMenuItem";
resources.ApplyResources(this.resultsTSMenuItem, "resultsTSMenuItem");
//
// logsTSMenuItem
//
this.logsTSMenuItem.Name = "logsTSMenuItem";
resources.ApplyResources(this.logsTSMenuItem, "logsTSMenuItem");
this.logsTSMenuItem.Click += new System.EventHandler(this.logsTSMenuItem_Click);
//
// editTSMenuItem
//
this.editTSMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.usersTSMenuItem,
this.localSettingsTSMenuItem,
this.databaseSettingsTSMenuItem,
this.passwortToolStripMenuItem});
this.editTSMenuItem.Name = "editTSMenuItem";
//
// usersTSMenuItem
//
resources.ApplyResources(this.usersTSMenuItem, "usersTSMenuItem");
this.usersTSMenuItem.Name = "usersTSMenuItem";
this.usersTSMenuItem.Click += new System.EventHandler(this.usersTSMItem_Click);
//
// localSettingsTSMenuItem
//
resources.ApplyResources(this.localSettingsTSMenuItem, "localSettingsTSMenuItem");
this.localSettingsTSMenuItem.Name = "localSettingsTSMenuItem";
this.localSettingsTSMenuItem.Click += new System.EventHandler(this.localSettingsTSMItem_Click);
//
// databaseSettingsTSMenuItem
//
resources.ApplyResources(this.databaseSettingsTSMenuItem, "databaseSettingsTSMenuItem");
this.databaseSettingsTSMenuItem.Name = "databaseSettingsTSMenuItem";
this.databaseSettingsTSMenuItem.Click += new System.EventHandler(this.databaseSettingsTSMItem_Click);
//
// passwortToolStripMenuItem
//
resources.ApplyResources(this.passwortToolStripMenuItem, "passwortToolStripMenuItem");
this.passwortToolStripMenuItem.Name = "passwortToolStripMenuItem";
//
// helpTSMenuItem
//
resources.ApplyResources(this.helpTSMenuItem, "helpTSMenuItem");
this.helpTSMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.editTSMenuItem.Name = "editTSMenuItem";
resources.ApplyResources(this.editTSMenuItem, "editTSMenuItem");
//
// usersTSMenuItem
//
this.usersTSMenuItem.Name = "usersTSMenuItem";
resources.ApplyResources(this.usersTSMenuItem, "usersTSMenuItem");
this.usersTSMenuItem.Click += new System.EventHandler(this.usersTSMItem_Click);
//
// localSettingsTSMenuItem
//
this.localSettingsTSMenuItem.Name = "localSettingsTSMenuItem";
resources.ApplyResources(this.localSettingsTSMenuItem, "localSettingsTSMenuItem");
this.localSettingsTSMenuItem.Click += new System.EventHandler(this.localSettingsTSMItem_Click);
//
// databaseSettingsTSMenuItem
//
this.databaseSettingsTSMenuItem.Name = "databaseSettingsTSMenuItem";
resources.ApplyResources(this.databaseSettingsTSMenuItem, "databaseSettingsTSMenuItem");
this.databaseSettingsTSMenuItem.Click += new System.EventHandler(this.databaseSettingsTSMItem_Click);
//
// passwortToolStripMenuItem
//
this.passwortToolStripMenuItem.Name = "passwortToolStripMenuItem";
resources.ApplyResources(this.passwortToolStripMenuItem, "passwortToolStripMenuItem");
//
// helpTSMenuItem
//
this.helpTSMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.aboutTSMenuItem});
this.helpTSMenuItem.Name = "helpTSMenuItem";
//
// aboutTSMenuItem
//
resources.ApplyResources(this.aboutTSMenuItem, "aboutTSMenuItem");
this.aboutTSMenuItem.Name = "aboutTSMenuItem";
this.aboutTSMenuItem.Click += new System.EventHandler(this.aboutTSMItem_Click);
//
// mainMenuStrip
//
resources.ApplyResources(this.mainMenuStrip, "mainMenuStrip");
this.mainMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.helpTSMenuItem.Name = "helpTSMenuItem";
resources.ApplyResources(this.helpTSMenuItem, "helpTSMenuItem");
//
// aboutTSMenuItem
//
this.aboutTSMenuItem.Name = "aboutTSMenuItem";
resources.ApplyResources(this.aboutTSMenuItem, "aboutTSMenuItem");
this.aboutTSMenuItem.Click += new System.EventHandler(this.aboutTSMItem_Click);
//
// mainMenuStrip
//
this.mainMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.benchTSMenuItem,
this.proceduresToolStripMenuItem,
this.homeTSMenuItem,
@@ -467,76 +459,82 @@
this.logsTSMenuItem,
this.editTSMenuItem,
this.helpTSMenuItem});
this.mainMenuStrip.Name = "mainMenuStrip";
//
// proceduresToolStripMenuItem
//
resources.ApplyResources(this.proceduresToolStripMenuItem, "proceduresToolStripMenuItem");
this.proceduresToolStripMenuItem.Name = "proceduresToolStripMenuItem";
this.proceduresToolStripMenuItem.Click += new System.EventHandler(this.proceduresTSMItem_Click);
//
// processToolStripMenuItem
//
resources.ApplyResources(this.processToolStripMenuItem, "processToolStripMenuItem");
this.processToolStripMenuItem.Name = "processToolStripMenuItem";
this.processToolStripMenuItem.Click += new System.EventHandler(this.processTSMenuItem_Click);
//
// picturesTSMItem
//
resources.ApplyResources(this.picturesTSMItem, "picturesTSMItem");
this.picturesTSMItem.Name = "picturesTSMItem";
this.picturesTSMItem.Click += new System.EventHandler(this.picturesTSMItem_Click);
//
// resultsToolStripMenuItem
//
resources.ApplyResources(this.resultsToolStripMenuItem, "resultsToolStripMenuItem");
this.resultsToolStripMenuItem.Name = "resultsToolStripMenuItem";
this.resultsToolStripMenuItem.Click += new System.EventHandler(this.resultsTSMenuItem_Click);
//
// MainWnd
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.verticalSplitContainer);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.mainMenuStrip);
this.KeyPreview = true;
this.MainMenuStrip = this.mainMenuStrip;
this.Name = "MainWnd";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainWnd_FormClosing);
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainWnd_FormClosed);
this.Load += new System.EventHandler(this.MainWnd_Load);
this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.MainWnd_KeyPress);
this.verticalSplitContainer.Panel1.ResumeLayout(false);
this.verticalSplitContainer.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.verticalSplitContainer)).EndInit();
this.verticalSplitContainer.ResumeLayout(false);
this.horizontalSplitContainer.Panel1.ResumeLayout(false);
this.horizontalSplitContainer.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.horizontalSplitContainer)).EndInit();
this.horizontalSplitContainer.ResumeLayout(false);
this.descriptionGroupBox.ResumeLayout(false);
this.descriptionGroupBox.PerformLayout();
this.progressGroupBox.ResumeLayout(false);
this.procedureGroupBox.ResumeLayout(false);
this.activityGroupBox.ResumeLayout(false);
this.activityGroupBox.PerformLayout();
this.mainTabControl.ResumeLayout(false);
this.homeTabPage.ResumeLayout(false);
this.processTabPage.ResumeLayout(false);
this.measurementTabPage.ResumeLayout(false);
this.picturesTabPage.ResumeLayout(false);
this.resultsTabPage.ResumeLayout(false);
this.logsTabPage.ResumeLayout(false);
this.rightHorizSplitContainer.Panel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.rightHorizSplitContainer)).EndInit();
this.rightHorizSplitContainer.ResumeLayout(false);
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.mainMenuStrip.ResumeLayout(false);
this.mainMenuStrip.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
resources.ApplyResources(this.mainMenuStrip, "mainMenuStrip");
this.mainMenuStrip.Name = "mainMenuStrip";
//
// proceduresToolStripMenuItem
//
this.proceduresToolStripMenuItem.Name = "proceduresToolStripMenuItem";
resources.ApplyResources(this.proceduresToolStripMenuItem, "proceduresToolStripMenuItem");
this.proceduresToolStripMenuItem.Click += new System.EventHandler(this.proceduresTSMItem_Click);
//
// processToolStripMenuItem
//
this.processToolStripMenuItem.Name = "processToolStripMenuItem";
resources.ApplyResources(this.processToolStripMenuItem, "processToolStripMenuItem");
this.processToolStripMenuItem.Click += new System.EventHandler(this.processTSMenuItem_Click);
//
// picturesTSMItem
//
this.picturesTSMItem.Name = "picturesTSMItem";
resources.ApplyResources(this.picturesTSMItem, "picturesTSMItem");
this.picturesTSMItem.Click += new System.EventHandler(this.picturesTSMItem_Click);
//
// resultsToolStripMenuItem
//
this.resultsToolStripMenuItem.Name = "resultsToolStripMenuItem";
resources.ApplyResources(this.resultsToolStripMenuItem, "resultsToolStripMenuItem");
this.resultsToolStripMenuItem.Click += new System.EventHandler(this.resultsTSMenuItem_Click);
//
// messageLabel
//
resources.ApplyResources(this.messageLabel, "messageLabel");
this.messageLabel.Name = "messageLabel";
//
// MainWnd
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.verticalSplitContainer);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.mainMenuStrip);
this.KeyPreview = true;
this.MainMenuStrip = this.mainMenuStrip;
this.Name = "MainWnd";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainWnd_FormClosing);
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainWnd_FormClosed);
this.Load += new System.EventHandler(this.MainWnd_Load);
this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.MainWnd_KeyPress);
this.verticalSplitContainer.Panel1.ResumeLayout(false);
this.verticalSplitContainer.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.verticalSplitContainer)).EndInit();
this.verticalSplitContainer.ResumeLayout(false);
this.horizontalSplitContainer.Panel1.ResumeLayout(false);
this.horizontalSplitContainer.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.horizontalSplitContainer)).EndInit();
this.horizontalSplitContainer.ResumeLayout(false);
this.descriptionGroupBox.ResumeLayout(false);
this.descriptionGroupBox.PerformLayout();
this.progressGroupBox.ResumeLayout(false);
this.procedureGroupBox.ResumeLayout(false);
this.activityGroupBox.ResumeLayout(false);
this.activityGroupBox.PerformLayout();
this.mainTabControl.ResumeLayout(false);
this.homeTabPage.ResumeLayout(false);
this.processTabPage.ResumeLayout(false);
this.measurementTabPage.ResumeLayout(false);
this.picturesTabPage.ResumeLayout(false);
this.resultsTabPage.ResumeLayout(false);
this.logsTabPage.ResumeLayout(false);
this.rightHorizSplitContainer.Panel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.rightHorizSplitContainer)).EndInit();
this.rightHorizSplitContainer.ResumeLayout(false);
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.mainMenuStrip.ResumeLayout(false);
this.mainMenuStrip.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
@@ -606,6 +604,7 @@
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
private System.Windows.Forms.GroupBox descriptionGroupBox;
private System.Windows.Forms.Label descriptionLabel;
private System.Windows.Forms.Label messageLabel;
}
}
+17 -1
View File
@@ -247,7 +247,23 @@ namespace TBF
/// </summary>
void OnActivity(object sender, UiBridge.ActivityEventArgs args)
{
activityLabel.Text = args.Activity;
switch (args.Cmd)
{
case ActivityEventArgs.Update.Activity:
activityLabel.Text = args.Activity;
break;
case ActivityEventArgs.Update.Message:
messageLabel.Text = args.Message;
if (args.ErrorMsg) messageLabel.ForeColor = Color.Red;
else messageLabel.ForeColor = Color.Black;
break;
default:
activityLabel.Text = args.Activity;
messageLabel.Text = args.Message;
if (args.ErrorMsg) messageLabel.ForeColor = Color.Red;
else messageLabel.ForeColor = Color.Black;
break;
}
}
/// <summary>
File diff suppressed because it is too large Load Diff
@@ -4,11 +4,19 @@ namespace TBF.UiBridge
{
public class ActivityEventArgs : EventArgs
{
public string Activity;
public enum Update { All, Activity, Message };
public ActivityEventArgs(string activity)
public Update Cmd; /// specifies what should be updated, makes it possible to update just one field
public string Activity; /// activity text
public string Message; /// message text
public bool ErrorMsg; /// true = use red color to print the message
public ActivityEventArgs(Update cmd, string activity, string message, bool errorMsg)
{
Activity = activity;
this.Cmd = cmd;
this.Activity = activity;
this.Message = message;
this.ErrorMsg = errorMsg;
}
}
}
+14 -2
View File
@@ -156,10 +156,22 @@ namespace TBF.UiBridge
public static void OnActivity(object sender, string activity)
{
if (ActivityHandler == null) return;
try { ActivityHandler(sender, new ActivityEventArgs(activity)); }
try { ActivityHandler(sender, new ActivityEventArgs(ActivityEventArgs.Update.Activity, activity, null, false)); }
catch (Exception e) { log.Error("ActivityHandler(...) failed", e); }
}
public static event EventHandler<ActivityEventArgs> ActivityHandler;
public static void OnMessage(object sender, string message)
{
if (ActivityHandler == null) return;
try { ActivityHandler(sender, new ActivityEventArgs(ActivityEventArgs.Update.Message, null, message, false)); }
catch (Exception e) { log.Error("ActivityHandler(...) failed", e); }
}
public static void OnError(object sender, string message)
{
if (ActivityHandler == null) return;
try { ActivityHandler(sender, new ActivityEventArgs(ActivityEventArgs.Update.Message, null, message, true)); }
catch (Exception e) { log.Error("ActivityHandler(...) failed", e); }
}
public static event EventHandler<ActivityEventArgs> ActivityHandler;
/// <summary>