Upgrade menu item and UpgradeSelectionDlg added.
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
namespace TBF.Forms
|
||||
{
|
||||
partial class UpgradeSelectionDlg
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.pressureRepresentationButton = new System.Windows.Forms.Button();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// pressureRepresentationButton
|
||||
//
|
||||
this.pressureRepresentationButton.Location = new System.Drawing.Point(13, 13);
|
||||
this.pressureRepresentationButton.Name = "pressureRepresentationButton";
|
||||
this.pressureRepresentationButton.Size = new System.Drawing.Size(259, 35);
|
||||
this.pressureRepresentationButton.TabIndex = 0;
|
||||
this.pressureRepresentationButton.Text = "Pressure representation";
|
||||
this.pressureRepresentationButton.UseVisualStyleBackColor = true;
|
||||
this.pressureRepresentationButton.Click += new System.EventHandler(this.pressureRepresentationButton_Click);
|
||||
//
|
||||
// UpgradeSelectionDlg
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(284, 262);
|
||||
this.Controls.Add(this.pressureRepresentationButton);
|
||||
this.Name = "UpgradeSelectionDlg";
|
||||
this.Text = "Upgrade selection";
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Button pressureRepresentationButton;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace TBF.Forms
|
||||
{
|
||||
public partial class UpgradeSelectionDlg : Form
|
||||
{
|
||||
public UpgradeSelectionDlg()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void pressureRepresentationButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (MessageBox.Show("Are you sure ?", "", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No) return;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
Generated
+57
-61
@@ -95,6 +95,7 @@ namespace TBF
|
||||
this.processToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.resultsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.printToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.upgradeTSMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
((System.ComponentModel.ISupportInitialize)(this.topVerticalSplitContainer)).BeginInit();
|
||||
this.topVerticalSplitContainer.Panel1.SuspendLayout();
|
||||
this.topVerticalSplitContainer.Panel2.SuspendLayout();
|
||||
@@ -140,19 +141,19 @@ namespace TBF
|
||||
//
|
||||
// topVerticalSplitContainer.Panel1
|
||||
//
|
||||
resources.ApplyResources(this.topVerticalSplitContainer.Panel1, "topVerticalSplitContainer.Panel1");
|
||||
this.topVerticalSplitContainer.Panel1.Controls.Add(this.activityGroupBox);
|
||||
resources.ApplyResources(this.topVerticalSplitContainer.Panel1, "topVerticalSplitContainer.Panel1");
|
||||
//
|
||||
// topVerticalSplitContainer.Panel2
|
||||
//
|
||||
resources.ApplyResources(this.topVerticalSplitContainer.Panel2, "topVerticalSplitContainer.Panel2");
|
||||
this.topVerticalSplitContainer.Panel2.Controls.Add(this.topHorizontalSplitContainer);
|
||||
resources.ApplyResources(this.topVerticalSplitContainer.Panel2, "topVerticalSplitContainer.Panel2");
|
||||
//
|
||||
// activityGroupBox
|
||||
//
|
||||
resources.ApplyResources(this.activityGroupBox, "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;
|
||||
//
|
||||
@@ -174,12 +175,10 @@ namespace TBF
|
||||
//
|
||||
// topHorizontalSplitContainer.Panel1
|
||||
//
|
||||
resources.ApplyResources(this.topHorizontalSplitContainer.Panel1, "topHorizontalSplitContainer.Panel1");
|
||||
this.topHorizontalSplitContainer.Panel1.Controls.Add(this.splitContainer1);
|
||||
//
|
||||
// topHorizontalSplitContainer.Panel2
|
||||
//
|
||||
resources.ApplyResources(this.topHorizontalSplitContainer.Panel2, "topHorizontalSplitContainer.Panel2");
|
||||
this.topHorizontalSplitContainer.Panel2.Controls.Add(this.descriptionGroupBox);
|
||||
//
|
||||
// splitContainer1
|
||||
@@ -190,18 +189,16 @@ namespace TBF
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
resources.ApplyResources(this.splitContainer1.Panel1, "splitContainer1.Panel1");
|
||||
this.splitContainer1.Panel1.Controls.Add(this.procedureGroupBox);
|
||||
//
|
||||
// splitContainer1.Panel2
|
||||
//
|
||||
resources.ApplyResources(this.splitContainer1.Panel2, "splitContainer1.Panel2");
|
||||
this.splitContainer1.Panel2.Controls.Add(this.progressGroupBox);
|
||||
//
|
||||
// procedureGroupBox
|
||||
//
|
||||
resources.ApplyResources(this.procedureGroupBox, "procedureGroupBox");
|
||||
this.procedureGroupBox.Controls.Add(this.procedureComboBox);
|
||||
resources.ApplyResources(this.procedureGroupBox, "procedureGroupBox");
|
||||
this.procedureGroupBox.Name = "procedureGroupBox";
|
||||
this.procedureGroupBox.TabStop = false;
|
||||
//
|
||||
@@ -214,8 +211,8 @@ namespace TBF
|
||||
//
|
||||
// progressGroupBox
|
||||
//
|
||||
resources.ApplyResources(this.progressGroupBox, "progressGroupBox");
|
||||
this.progressGroupBox.Controls.Add(this.mainProgressBar);
|
||||
resources.ApplyResources(this.progressGroupBox, "progressGroupBox");
|
||||
this.progressGroupBox.Name = "progressGroupBox";
|
||||
this.progressGroupBox.TabStop = false;
|
||||
//
|
||||
@@ -226,8 +223,8 @@ namespace TBF
|
||||
//
|
||||
// descriptionGroupBox
|
||||
//
|
||||
resources.ApplyResources(this.descriptionGroupBox, "descriptionGroupBox");
|
||||
this.descriptionGroupBox.Controls.Add(this.descriptionLabel);
|
||||
resources.ApplyResources(this.descriptionGroupBox, "descriptionGroupBox");
|
||||
this.descriptionGroupBox.Name = "descriptionGroupBox";
|
||||
this.descriptionGroupBox.TabStop = false;
|
||||
//
|
||||
@@ -244,12 +241,10 @@ namespace TBF
|
||||
//
|
||||
// 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
|
||||
@@ -260,97 +255,95 @@ namespace TBF
|
||||
//
|
||||
// horizontalSplitContainer.Panel1
|
||||
//
|
||||
resources.ApplyResources(this.horizontalSplitContainer.Panel1, "horizontalSplitContainer.Panel1");
|
||||
this.horizontalSplitContainer.Panel1.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.horizontalSplitContainer.Panel1.Controls.Add(this.topVerticalSplitContainer);
|
||||
//
|
||||
// horizontalSplitContainer.Panel2
|
||||
//
|
||||
resources.ApplyResources(this.horizontalSplitContainer.Panel2, "horizontalSplitContainer.Panel2");
|
||||
this.horizontalSplitContainer.Panel2.Controls.Add(this.mainTabControl);
|
||||
//
|
||||
// mainTabControl
|
||||
//
|
||||
resources.ApplyResources(this.mainTabControl, "mainTabControl");
|
||||
this.mainTabControl.Controls.Add(this.homeTabPage);
|
||||
this.mainTabControl.Controls.Add(this.processTabPage);
|
||||
this.mainTabControl.Controls.Add(this.insertTabPage);
|
||||
this.mainTabControl.Controls.Add(this.resultsTabPage);
|
||||
this.mainTabControl.Controls.Add(this.logsTabPage);
|
||||
this.mainTabControl.Controls.Add(this.picturesTabPage);
|
||||
resources.ApplyResources(this.mainTabControl, "mainTabControl");
|
||||
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);
|
||||
resources.ApplyResources(this.homeTabPage, "homeTabPage");
|
||||
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)))));
|
||||
resources.ApplyResources(this.ctrlBrdComponent, "ctrlBrdComponent");
|
||||
this.ctrlBrdComponent.Name = "ctrlBrdComponent";
|
||||
//
|
||||
// processTabPage
|
||||
//
|
||||
resources.ApplyResources(this.processTabPage, "processTabPage");
|
||||
this.processTabPage.Controls.Add(this.processTabPageCtrl);
|
||||
resources.ApplyResources(this.processTabPage, "processTabPage");
|
||||
this.processTabPage.Name = "processTabPage";
|
||||
this.processTabPage.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// processTabPageCtrl
|
||||
//
|
||||
resources.ApplyResources(this.processTabPageCtrl, "processTabPageCtrl");
|
||||
this.processTabPageCtrl.BackColor = System.Drawing.SystemColors.Control;
|
||||
resources.ApplyResources(this.processTabPageCtrl, "processTabPageCtrl");
|
||||
this.processTabPageCtrl.Name = "processTabPageCtrl";
|
||||
//
|
||||
// insertTabPage
|
||||
//
|
||||
resources.ApplyResources(this.insertTabPage, "insertTabPage");
|
||||
this.insertTabPage.BackColor = System.Drawing.Color.Silver;
|
||||
resources.ApplyResources(this.insertTabPage, "insertTabPage");
|
||||
this.insertTabPage.Name = "insertTabPage";
|
||||
//
|
||||
// resultsTabPage
|
||||
//
|
||||
resources.ApplyResources(this.resultsTabPage, "resultsTabPage");
|
||||
this.resultsTabPage.Controls.Add(this.resultsTabPageCtrl);
|
||||
resources.ApplyResources(this.resultsTabPage, "resultsTabPage");
|
||||
this.resultsTabPage.Name = "resultsTabPage";
|
||||
this.resultsTabPage.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// resultsTabPageCtrl
|
||||
//
|
||||
resources.ApplyResources(this.resultsTabPageCtrl, "resultsTabPageCtrl");
|
||||
this.resultsTabPageCtrl.BackColor = System.Drawing.SystemColors.Control;
|
||||
resources.ApplyResources(this.resultsTabPageCtrl, "resultsTabPageCtrl");
|
||||
this.resultsTabPageCtrl.Name = "resultsTabPageCtrl";
|
||||
//
|
||||
// logsTabPage
|
||||
//
|
||||
resources.ApplyResources(this.logsTabPage, "logsTabPage");
|
||||
this.logsTabPage.Controls.Add(this.logsTabPageCtrl);
|
||||
resources.ApplyResources(this.logsTabPage, "logsTabPage");
|
||||
this.logsTabPage.Name = "logsTabPage";
|
||||
this.logsTabPage.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// logsTabPageCtrl
|
||||
//
|
||||
resources.ApplyResources(this.logsTabPageCtrl, "logsTabPageCtrl");
|
||||
this.logsTabPageCtrl.BackColor = System.Drawing.SystemColors.Control;
|
||||
resources.ApplyResources(this.logsTabPageCtrl, "logsTabPageCtrl");
|
||||
this.logsTabPageCtrl.Name = "logsTabPageCtrl";
|
||||
//
|
||||
// picturesTabPage
|
||||
//
|
||||
resources.ApplyResources(this.picturesTabPage, "picturesTabPage");
|
||||
this.picturesTabPage.Controls.Add(this.picturesTabPageCtrl1);
|
||||
resources.ApplyResources(this.picturesTabPage, "picturesTabPage");
|
||||
this.picturesTabPage.Name = "picturesTabPage";
|
||||
this.picturesTabPage.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// picturesTabPageCtrl1
|
||||
//
|
||||
resources.ApplyResources(this.picturesTabPageCtrl1, "picturesTabPageCtrl1");
|
||||
this.picturesTabPageCtrl1.BackColor = System.Drawing.Color.Silver;
|
||||
resources.ApplyResources(this.picturesTabPageCtrl1, "picturesTabPageCtrl1");
|
||||
this.picturesTabPageCtrl1.Name = "picturesTabPageCtrl1";
|
||||
//
|
||||
// rightHorizSplitContainer
|
||||
@@ -361,13 +354,8 @@ namespace TBF
|
||||
//
|
||||
// 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");
|
||||
//
|
||||
// progressFlowLayoutPanel
|
||||
//
|
||||
resources.ApplyResources(this.progressFlowLayoutPanel, "progressFlowLayoutPanel");
|
||||
@@ -376,50 +364,49 @@ namespace TBF
|
||||
//
|
||||
// measurementTabPage
|
||||
//
|
||||
resources.ApplyResources(this.measurementTabPage, "measurementTabPage");
|
||||
this.measurementTabPage.Controls.Add(this.MeasurementTabPageCtrl);
|
||||
resources.ApplyResources(this.measurementTabPage, "measurementTabPage");
|
||||
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)))));
|
||||
resources.ApplyResources(this.MeasurementTabPageCtrl, "MeasurementTabPageCtrl");
|
||||
this.MeasurementTabPageCtrl.Name = "MeasurementTabPageCtrl";
|
||||
//
|
||||
// statusStrip1
|
||||
//
|
||||
resources.ApplyResources(this.statusStrip1, "statusStrip1");
|
||||
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.userInfoStatusLabel,
|
||||
this.statusPStatusLabel,
|
||||
this.routeStatusLabel,
|
||||
this.activityStatusLabel});
|
||||
resources.ApplyResources(this.statusStrip1, "statusStrip1");
|
||||
this.statusStrip1.Name = "statusStrip1";
|
||||
//
|
||||
// userInfoStatusLabel
|
||||
//
|
||||
resources.ApplyResources(this.userInfoStatusLabel, "userInfoStatusLabel");
|
||||
this.userInfoStatusLabel.Name = "userInfoStatusLabel";
|
||||
resources.ApplyResources(this.userInfoStatusLabel, "userInfoStatusLabel");
|
||||
//
|
||||
// statusPStatusLabel
|
||||
//
|
||||
resources.ApplyResources(this.statusPStatusLabel, "statusPStatusLabel");
|
||||
this.statusPStatusLabel.Name = "statusPStatusLabel";
|
||||
resources.ApplyResources(this.statusPStatusLabel, "statusPStatusLabel");
|
||||
//
|
||||
// routeStatusLabel
|
||||
//
|
||||
resources.ApplyResources(this.routeStatusLabel, "routeStatusLabel");
|
||||
this.routeStatusLabel.Name = "routeStatusLabel";
|
||||
resources.ApplyResources(this.routeStatusLabel, "routeStatusLabel");
|
||||
//
|
||||
// activityStatusLabel
|
||||
//
|
||||
resources.ApplyResources(this.activityStatusLabel, "activityStatusLabel");
|
||||
this.activityStatusLabel.Name = "activityStatusLabel";
|
||||
resources.ApplyResources(this.activityStatusLabel, "activityStatusLabel");
|
||||
//
|
||||
// benchTSMenuItem
|
||||
//
|
||||
resources.ApplyResources(this.benchTSMenuItem, "benchTSMenuItem");
|
||||
this.benchTSMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.benchComponentsTSMenuItem,
|
||||
this.benchPathsTSMenuItem,
|
||||
@@ -428,108 +415,109 @@ namespace TBF
|
||||
this.toolStripSeparator1,
|
||||
this.exitToolStripMenuItem});
|
||||
this.benchTSMenuItem.Name = "benchTSMenuItem";
|
||||
resources.ApplyResources(this.benchTSMenuItem, "benchTSMenuItem");
|
||||
//
|
||||
// benchComponentsTSMenuItem
|
||||
//
|
||||
resources.ApplyResources(this.benchComponentsTSMenuItem, "benchComponentsTSMenuItem");
|
||||
this.benchComponentsTSMenuItem.Name = "benchComponentsTSMenuItem";
|
||||
resources.ApplyResources(this.benchComponentsTSMenuItem, "benchComponentsTSMenuItem");
|
||||
this.benchComponentsTSMenuItem.Click += new System.EventHandler(this.benchComponentsTSMItem_Click);
|
||||
//
|
||||
// benchPathsTSMenuItem
|
||||
//
|
||||
resources.ApplyResources(this.benchPathsTSMenuItem, "benchPathsTSMenuItem");
|
||||
this.benchPathsTSMenuItem.Name = "benchPathsTSMenuItem";
|
||||
resources.ApplyResources(this.benchPathsTSMenuItem, "benchPathsTSMenuItem");
|
||||
this.benchPathsTSMenuItem.Click += new System.EventHandler(this.benchPathsTSMItem_Click);
|
||||
//
|
||||
// benchTransitionsToolStripMenuItem
|
||||
//
|
||||
resources.ApplyResources(this.benchTransitionsToolStripMenuItem, "benchTransitionsToolStripMenuItem");
|
||||
this.benchTransitionsToolStripMenuItem.Name = "benchTransitionsToolStripMenuItem";
|
||||
resources.ApplyResources(this.benchTransitionsToolStripMenuItem, "benchTransitionsToolStripMenuItem");
|
||||
this.benchTransitionsToolStripMenuItem.Click += new System.EventHandler(this.benchTransitionsTSMItem_Click);
|
||||
//
|
||||
// benchMetrologyTSMenuItem
|
||||
//
|
||||
resources.ApplyResources(this.benchMetrologyTSMenuItem, "benchMetrologyTSMenuItem");
|
||||
this.benchMetrologyTSMenuItem.Name = "benchMetrologyTSMenuItem";
|
||||
resources.ApplyResources(this.benchMetrologyTSMenuItem, "benchMetrologyTSMenuItem");
|
||||
this.benchMetrologyTSMenuItem.Click += new System.EventHandler(this.benchMetrologyTSMItem_Click);
|
||||
//
|
||||
// toolStripSeparator1
|
||||
//
|
||||
resources.ApplyResources(this.toolStripSeparator1, "toolStripSeparator1");
|
||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||
resources.ApplyResources(this.toolStripSeparator1, "toolStripSeparator1");
|
||||
//
|
||||
// exitToolStripMenuItem
|
||||
//
|
||||
resources.ApplyResources(this.exitToolStripMenuItem, "exitToolStripMenuItem");
|
||||
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
|
||||
resources.ApplyResources(this.exitToolStripMenuItem, "exitToolStripMenuItem");
|
||||
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
|
||||
//
|
||||
// homeTSMenuItem
|
||||
//
|
||||
resources.ApplyResources(this.homeTSMenuItem, "homeTSMenuItem");
|
||||
this.homeTSMenuItem.Name = "homeTSMenuItem";
|
||||
resources.ApplyResources(this.homeTSMenuItem, "homeTSMenuItem");
|
||||
this.homeTSMenuItem.Click += new System.EventHandler(this.homeTSMenuItem_Click);
|
||||
//
|
||||
// resultsTSMenuItem
|
||||
//
|
||||
resources.ApplyResources(this.resultsTSMenuItem, "resultsTSMenuItem");
|
||||
this.resultsTSMenuItem.Name = "resultsTSMenuItem";
|
||||
resources.ApplyResources(this.resultsTSMenuItem, "resultsTSMenuItem");
|
||||
//
|
||||
// logsTSMenuItem
|
||||
//
|
||||
resources.ApplyResources(this.logsTSMenuItem, "logsTSMenuItem");
|
||||
this.logsTSMenuItem.Name = "logsTSMenuItem";
|
||||
resources.ApplyResources(this.logsTSMenuItem, "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.usersTSMenuItem,
|
||||
this.localSettingsTSMenuItem,
|
||||
this.databaseSettingsTSMenuItem,
|
||||
this.passwortToolStripMenuItem});
|
||||
this.passwortToolStripMenuItem,
|
||||
this.upgradeTSMenuItem});
|
||||
this.editTSMenuItem.Name = "editTSMenuItem";
|
||||
resources.ApplyResources(this.editTSMenuItem, "editTSMenuItem");
|
||||
//
|
||||
// usersTSMenuItem
|
||||
//
|
||||
resources.ApplyResources(this.usersTSMenuItem, "usersTSMenuItem");
|
||||
this.usersTSMenuItem.Name = "usersTSMenuItem";
|
||||
resources.ApplyResources(this.usersTSMenuItem, "usersTSMenuItem");
|
||||
this.usersTSMenuItem.Click += new System.EventHandler(this.usersTSMItem_Click);
|
||||
//
|
||||
// localSettingsTSMenuItem
|
||||
//
|
||||
resources.ApplyResources(this.localSettingsTSMenuItem, "localSettingsTSMenuItem");
|
||||
this.localSettingsTSMenuItem.Name = "localSettingsTSMenuItem";
|
||||
resources.ApplyResources(this.localSettingsTSMenuItem, "localSettingsTSMenuItem");
|
||||
this.localSettingsTSMenuItem.Click += new System.EventHandler(this.localSettingsTSMItem_Click);
|
||||
//
|
||||
// databaseSettingsTSMenuItem
|
||||
//
|
||||
resources.ApplyResources(this.databaseSettingsTSMenuItem, "databaseSettingsTSMenuItem");
|
||||
this.databaseSettingsTSMenuItem.Name = "databaseSettingsTSMenuItem";
|
||||
resources.ApplyResources(this.databaseSettingsTSMenuItem, "databaseSettingsTSMenuItem");
|
||||
this.databaseSettingsTSMenuItem.Click += new System.EventHandler(this.databaseSettingsTSMItem_Click);
|
||||
//
|
||||
// passwortToolStripMenuItem
|
||||
//
|
||||
resources.ApplyResources(this.passwortToolStripMenuItem, "passwortToolStripMenuItem");
|
||||
this.passwortToolStripMenuItem.Name = "passwortToolStripMenuItem";
|
||||
resources.ApplyResources(this.passwortToolStripMenuItem, "passwortToolStripMenuItem");
|
||||
//
|
||||
// helpTSMenuItem
|
||||
//
|
||||
resources.ApplyResources(this.helpTSMenuItem, "helpTSMenuItem");
|
||||
this.helpTSMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.aboutTSMenuItem});
|
||||
this.helpTSMenuItem.Name = "helpTSMenuItem";
|
||||
resources.ApplyResources(this.helpTSMenuItem, "helpTSMenuItem");
|
||||
//
|
||||
// aboutTSMenuItem
|
||||
//
|
||||
resources.ApplyResources(this.aboutTSMenuItem, "aboutTSMenuItem");
|
||||
this.aboutTSMenuItem.Name = "aboutTSMenuItem";
|
||||
resources.ApplyResources(this.aboutTSMenuItem, "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.benchTSMenuItem,
|
||||
this.proceduresToolStripMenuItem,
|
||||
@@ -540,32 +528,39 @@ namespace TBF
|
||||
this.logsTSMenuItem,
|
||||
this.editTSMenuItem,
|
||||
this.helpTSMenuItem});
|
||||
resources.ApplyResources(this.mainMenuStrip, "mainMenuStrip");
|
||||
this.mainMenuStrip.Name = "mainMenuStrip";
|
||||
//
|
||||
// proceduresToolStripMenuItem
|
||||
//
|
||||
resources.ApplyResources(this.proceduresToolStripMenuItem, "proceduresToolStripMenuItem");
|
||||
this.proceduresToolStripMenuItem.Name = "proceduresToolStripMenuItem";
|
||||
resources.ApplyResources(this.proceduresToolStripMenuItem, "proceduresToolStripMenuItem");
|
||||
this.proceduresToolStripMenuItem.Click += new System.EventHandler(this.proceduresTSMItem_Click);
|
||||
//
|
||||
// processToolStripMenuItem
|
||||
//
|
||||
resources.ApplyResources(this.processToolStripMenuItem, "processToolStripMenuItem");
|
||||
this.processToolStripMenuItem.Name = "processToolStripMenuItem";
|
||||
resources.ApplyResources(this.processToolStripMenuItem, "processToolStripMenuItem");
|
||||
this.processToolStripMenuItem.Click += new System.EventHandler(this.processTSMenuItem_Click);
|
||||
//
|
||||
// resultsToolStripMenuItem
|
||||
//
|
||||
resources.ApplyResources(this.resultsToolStripMenuItem, "resultsToolStripMenuItem");
|
||||
this.resultsToolStripMenuItem.Name = "resultsToolStripMenuItem";
|
||||
resources.ApplyResources(this.resultsToolStripMenuItem, "resultsToolStripMenuItem");
|
||||
this.resultsToolStripMenuItem.Click += new System.EventHandler(this.resultsTSMenuItem_Click);
|
||||
//
|
||||
// printToolStripMenuItem
|
||||
//
|
||||
resources.ApplyResources(this.printToolStripMenuItem, "printToolStripMenuItem");
|
||||
this.printToolStripMenuItem.Name = "printToolStripMenuItem";
|
||||
resources.ApplyResources(this.printToolStripMenuItem, "printToolStripMenuItem");
|
||||
this.printToolStripMenuItem.Click += new System.EventHandler(this.printToolStripMenuItem_Click);
|
||||
//
|
||||
// upgradeTSMenuItem
|
||||
//
|
||||
this.upgradeTSMenuItem.Name = "upgradeTSMenuItem";
|
||||
resources.ApplyResources(this.upgradeTSMenuItem, "upgradeTSMenuItem");
|
||||
this.upgradeTSMenuItem.Click += new System.EventHandler(this.upgradeTSMenuItem_Click);
|
||||
//
|
||||
// MainWnd
|
||||
//
|
||||
resources.ApplyResources(this, "$this");
|
||||
@@ -712,6 +707,7 @@ namespace TBF
|
||||
private System.Windows.Forms.SplitContainer topVerticalSplitContainer;
|
||||
private System.Windows.Forms.SplitContainer splitContainer1;
|
||||
private System.Windows.Forms.SplitContainer topHorizontalSplitContainer;
|
||||
private System.Windows.Forms.ToolStripMenuItem upgradeTSMenuItem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -98,6 +98,8 @@ namespace TBF
|
||||
usersTSMenuItem.Visible = User.CurrentUser.IsMemberOf(Config.Grp.GID.Administrators) ||
|
||||
User.CurrentUser.IsMemberOf(Config.Grp.GID.HeadOfLab);
|
||||
|
||||
upgradeTSMenuItem.Visible = User.CurrentUser.IsMemberOf(Config.Grp.GID.Administrators) && User.CurrentUser.Name == "milan";
|
||||
|
||||
benchInitializationFailed = false;
|
||||
///
|
||||
if (Config.Data.CurrentBench.IsRealBench)
|
||||
@@ -580,5 +582,10 @@ namespace TBF
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void upgradeTSMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
new Forms.UpgradeSelectionDlg().Show();
|
||||
}
|
||||
}
|
||||
}
|
||||
+1390
-1156
File diff suppressed because it is too large
Load Diff
@@ -590,6 +590,12 @@
|
||||
<Compile Include="Forms\PreviousResultsDlg.Designer.cs">
|
||||
<DependentUpon>PreviousResultsDlg.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Forms\UpgradeSelectionDlg.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Forms\UpgradeSelectionDlg.Designer.cs">
|
||||
<DependentUpon>UpgradeSelectionDlg.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="PrintOrderDocument.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
@@ -1769,6 +1775,9 @@
|
||||
<EmbeddedResource Include="Forms\TabNameDlg.resx">
|
||||
<DependentUpon>TabNameDlg.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\UpgradeSelectionDlg.resx">
|
||||
<DependentUpon>UpgradeSelectionDlg.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="MainWnd.cs.resx">
|
||||
<DependentUpon>MainWnd.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
||||
Reference in New Issue
Block a user