Chinese translations, part 1

This commit is contained in:
Milan Hanajik 2016-03-16 16:43:05 +08:00
parent 88caba317b
commit aee1990243
26 changed files with 4346 additions and 2648 deletions

View File

@ -92,6 +92,7 @@ namespace TBF.BenchControl.DataEntry.Standard
label5.Text = Strings.Serial_Number;
label6.Text = Strings.Serial_Number;
okButton.Text = Strings.OkBtnText;
clearButton.Text = Strings.ClearBtnText;
}
/// <summary>

View File

@ -25,25 +25,16 @@ namespace TBF.Forms
{
InitializeComponent();
Localize();
versionLabel.Text = versionLabel.Text.Replace("_VERSION_", Program.Version);
///
buildDateLabel.Text = buildDateLabel.Text.Replace("_BUILD_DATE_", Program.BuildDateTime.ToShortDateString());
Text = Strings.About_Test_Bench_Framework;
copyrightLabel.Text = string.Format(Strings.CopyrightStr, DateTime.Now.Year);
versionLabel.Text = String.Format(Strings.VersionStr, Program.Version);
buildDateLabel.Text = String.Format(Strings.BuildDateStr, Program.BuildDateTime.ToShortDateString());
closeButton.Text = Strings.CloseBtnText;
byte[] sha1 = (new SHA1CryptoServiceProvider()).ComputeHash(Encoding.Default.GetBytes("nejaky text")); /// TODO: calculate SHA1 of real data
StringBuilder sb = new StringBuilder();
foreach (byte oneByte in sha1) { sb.Append(oneByte.ToString("X2")); }
secureHashLabel.Text = string.Format("SHA1: {0}", sb);
}
void Localize()
{
Text = Strings.About_Test_Bench_Framework;
copyrightLabel.Text = string.Format(Strings.CopyrightStr, DateTime.Now.Year);
versionLabel.Text = Strings.VersionStr;
buildDateLabel.Text = Strings.BuildDateStr;
closeButton.Text = Strings.CloseBtnText;
}
}
}

View File

@ -29,6 +29,8 @@ namespace TBF.Forms
btnEdit.Text = Strings.EditBtnText;
btnDelete.Text = Strings.RemoveBtnText;
btnOk.Text = Strings.OkBtnText;
columnHeader1.Text = Strings.Name;
columnHeader2.Text = Strings.ID;
}
private void EditUsers_Activated(object sender, EventArgs e)

View File

@ -38,36 +38,36 @@ namespace TBF
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.topVerticalSplitContainer = new System.Windows.Forms.SplitContainer();
this.topHorizontalSplitContainer = new System.Windows.Forms.SplitContainer();
this.splitContainer1 = 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.messageLabel = new System.Windows.Forms.Label();
this.activityLabel = new System.Windows.Forms.Label();
this.topHorizontalSplitContainer = new System.Windows.Forms.SplitContainer();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.procedureGroupBox = new System.Windows.Forms.GroupBox();
this.procedureComboBox = new System.Windows.Forms.ComboBox();
this.progressGroupBox = new System.Windows.Forms.GroupBox();
this.mainProgressBar = new System.Windows.Forms.ProgressBar();
this.descriptionGroupBox = new System.Windows.Forms.GroupBox();
this.descriptionLabel = new System.Windows.Forms.Label();
this.verticalSplitContainer = new System.Windows.Forms.SplitContainer();
this.horizontalSplitContainer = new System.Windows.Forms.SplitContainer();
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.ProcessTabPageCtrl6();
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.picturesTabPage = new System.Windows.Forms.TabPage();
this.picturesTabPageCtrl1 = new TBF.Screens.PicturesTabPageCtrl();
this.rightHorizSplitContainer = new System.Windows.Forms.SplitContainer();
this.progressFlowLayoutPanel = new System.Windows.Forms.FlowLayoutPanel();
this.measurementTabPage = new System.Windows.Forms.TabPage();
this.MeasurementTabPageCtrl = new TBF.Screens.MeasurementTabPageCtrl();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.userInfoStatusLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.activityStatusLabel = new System.Windows.Forms.ToolStripStatusLabel();
@ -138,19 +138,19 @@ namespace TBF
//
// topVerticalSplitContainer.Panel1
//
this.topVerticalSplitContainer.Panel1.Controls.Add(this.activityGroupBox);
resources.ApplyResources(this.topVerticalSplitContainer.Panel1, "topVerticalSplitContainer.Panel1");
this.topVerticalSplitContainer.Panel1.Controls.Add(this.activityGroupBox);
//
// topVerticalSplitContainer.Panel2
//
this.topVerticalSplitContainer.Panel2.Controls.Add(this.topHorizontalSplitContainer);
resources.ApplyResources(this.topVerticalSplitContainer.Panel2, "topVerticalSplitContainer.Panel2");
this.topVerticalSplitContainer.Panel2.Controls.Add(this.topHorizontalSplitContainer);
//
// 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;
//
@ -172,10 +172,12 @@ 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
@ -186,16 +188,18 @@ 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
//
this.procedureGroupBox.Controls.Add(this.procedureComboBox);
resources.ApplyResources(this.procedureGroupBox, "procedureGroupBox");
this.procedureGroupBox.Controls.Add(this.procedureComboBox);
this.procedureGroupBox.Name = "procedureGroupBox";
this.procedureGroupBox.TabStop = false;
//
@ -208,8 +212,8 @@ namespace TBF
//
// progressGroupBox
//
this.progressGroupBox.Controls.Add(this.mainProgressBar);
resources.ApplyResources(this.progressGroupBox, "progressGroupBox");
this.progressGroupBox.Controls.Add(this.mainProgressBar);
this.progressGroupBox.Name = "progressGroupBox";
this.progressGroupBox.TabStop = false;
//
@ -220,8 +224,8 @@ namespace TBF
//
// descriptionGroupBox
//
this.descriptionGroupBox.Controls.Add(this.descriptionLabel);
resources.ApplyResources(this.descriptionGroupBox, "descriptionGroupBox");
this.descriptionGroupBox.Controls.Add(this.descriptionLabel);
this.descriptionGroupBox.Name = "descriptionGroupBox";
this.descriptionGroupBox.TabStop = false;
//
@ -238,10 +242,12 @@ 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
@ -252,95 +258,97 @@ 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
//
this.ctrlBrdComponent.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
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
//
this.processTabPage.Controls.Add(this.processTabPageCtrl);
resources.ApplyResources(this.processTabPage, "processTabPage");
this.processTabPage.Controls.Add(this.processTabPageCtrl);
this.processTabPage.Name = "processTabPage";
this.processTabPage.UseVisualStyleBackColor = true;
//
// processTabPageCtrl
//
this.processTabPageCtrl.BackColor = System.Drawing.SystemColors.Control;
resources.ApplyResources(this.processTabPageCtrl, "processTabPageCtrl");
this.processTabPageCtrl.BackColor = System.Drawing.SystemColors.Control;
this.processTabPageCtrl.Name = "processTabPageCtrl";
//
// insertTabPage
//
this.insertTabPage.BackColor = System.Drawing.Color.Silver;
resources.ApplyResources(this.insertTabPage, "insertTabPage");
this.insertTabPage.BackColor = System.Drawing.Color.Silver;
this.insertTabPage.Name = "insertTabPage";
//
// resultsTabPage
//
this.resultsTabPage.Controls.Add(this.resultsTabPageCtrl);
resources.ApplyResources(this.resultsTabPage, "resultsTabPage");
this.resultsTabPage.Controls.Add(this.resultsTabPageCtrl);
this.resultsTabPage.Name = "resultsTabPage";
this.resultsTabPage.UseVisualStyleBackColor = true;
//
// resultsTabPageCtrl
//
this.resultsTabPageCtrl.BackColor = System.Drawing.SystemColors.Control;
resources.ApplyResources(this.resultsTabPageCtrl, "resultsTabPageCtrl");
this.resultsTabPageCtrl.BackColor = System.Drawing.SystemColors.Control;
this.resultsTabPageCtrl.Name = "resultsTabPageCtrl";
//
// logsTabPage
//
this.logsTabPage.Controls.Add(this.logsTabPageCtrl);
resources.ApplyResources(this.logsTabPage, "logsTabPage");
this.logsTabPage.Controls.Add(this.logsTabPageCtrl);
this.logsTabPage.Name = "logsTabPage";
this.logsTabPage.UseVisualStyleBackColor = true;
//
// logsTabPageCtrl
//
this.logsTabPageCtrl.BackColor = System.Drawing.SystemColors.Control;
resources.ApplyResources(this.logsTabPageCtrl, "logsTabPageCtrl");
this.logsTabPageCtrl.BackColor = System.Drawing.SystemColors.Control;
this.logsTabPageCtrl.Name = "logsTabPageCtrl";
//
// picturesTabPage
//
this.picturesTabPage.Controls.Add(this.picturesTabPageCtrl1);
resources.ApplyResources(this.picturesTabPage, "picturesTabPage");
this.picturesTabPage.Controls.Add(this.picturesTabPageCtrl1);
this.picturesTabPage.Name = "picturesTabPage";
this.picturesTabPage.UseVisualStyleBackColor = true;
//
// picturesTabPageCtrl1
//
this.picturesTabPageCtrl1.BackColor = System.Drawing.Color.Silver;
resources.ApplyResources(this.picturesTabPageCtrl1, "picturesTabPageCtrl1");
this.picturesTabPageCtrl1.BackColor = System.Drawing.Color.Silver;
this.picturesTabPageCtrl1.Name = "picturesTabPageCtrl1";
//
// rightHorizSplitContainer
@ -351,8 +359,13 @@ 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");
@ -361,37 +374,38 @@ namespace TBF
//
// measurementTabPage
//
this.measurementTabPage.Controls.Add(this.MeasurementTabPageCtrl);
resources.ApplyResources(this.measurementTabPage, "measurementTabPage");
this.measurementTabPage.Controls.Add(this.MeasurementTabPageCtrl);
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.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(180)))), ((int)(((byte)(200)))));
this.MeasurementTabPageCtrl.Name = "MeasurementTabPageCtrl";
//
// statusStrip1
//
resources.ApplyResources(this.statusStrip1, "statusStrip1");
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.userInfoStatusLabel,
this.activityStatusLabel});
resources.ApplyResources(this.statusStrip1, "statusStrip1");
this.statusStrip1.Name = "statusStrip1";
//
// userInfoStatusLabel
//
this.userInfoStatusLabel.Name = "userInfoStatusLabel";
resources.ApplyResources(this.userInfoStatusLabel, "userInfoStatusLabel");
this.userInfoStatusLabel.Name = "userInfoStatusLabel";
//
// activityStatusLabel
//
this.activityStatusLabel.Name = "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[] {
this.benchComponentsTSMenuItem,
this.benchPathsTSMenuItem,
@ -400,108 +414,108 @@ namespace TBF
this.toolStripSeparator1,
this.exitToolStripMenuItem});
this.benchTSMenuItem.Name = "benchTSMenuItem";
resources.ApplyResources(this.benchTSMenuItem, "benchTSMenuItem");
//
// benchComponentsTSMenuItem
//
this.benchComponentsTSMenuItem.Name = "benchComponentsTSMenuItem";
resources.ApplyResources(this.benchComponentsTSMenuItem, "benchComponentsTSMenuItem");
this.benchComponentsTSMenuItem.Name = "benchComponentsTSMenuItem";
this.benchComponentsTSMenuItem.Click += new System.EventHandler(this.benchComponentsTSMItem_Click);
//
// benchPathsTSMenuItem
//
this.benchPathsTSMenuItem.Name = "benchPathsTSMenuItem";
resources.ApplyResources(this.benchPathsTSMenuItem, "benchPathsTSMenuItem");
this.benchPathsTSMenuItem.Name = "benchPathsTSMenuItem";
this.benchPathsTSMenuItem.Click += new System.EventHandler(this.benchPathsTSMItem_Click);
//
// benchTransitionsToolStripMenuItem
//
this.benchTransitionsToolStripMenuItem.Name = "benchTransitionsToolStripMenuItem";
resources.ApplyResources(this.benchTransitionsToolStripMenuItem, "benchTransitionsToolStripMenuItem");
this.benchTransitionsToolStripMenuItem.Name = "benchTransitionsToolStripMenuItem";
this.benchTransitionsToolStripMenuItem.Click += new System.EventHandler(this.benchTransitionsTSMItem_Click);
//
// benchMetrologyTSMenuItem
//
this.benchMetrologyTSMenuItem.Name = "benchMetrologyTSMenuItem";
resources.ApplyResources(this.benchMetrologyTSMenuItem, "benchMetrologyTSMenuItem");
this.benchMetrologyTSMenuItem.Name = "benchMetrologyTSMenuItem";
this.benchMetrologyTSMenuItem.Click += new System.EventHandler(this.benchMetrologyTSMItem_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
resources.ApplyResources(this.toolStripSeparator1, "toolStripSeparator1");
this.toolStripSeparator1.Name = "toolStripSeparator1";
//
// exitToolStripMenuItem
//
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
resources.ApplyResources(this.exitToolStripMenuItem, "exitToolStripMenuItem");
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
//
// homeTSMenuItem
//
this.homeTSMenuItem.Name = "homeTSMenuItem";
resources.ApplyResources(this.homeTSMenuItem, "homeTSMenuItem");
this.homeTSMenuItem.Name = "homeTSMenuItem";
this.homeTSMenuItem.Click += new System.EventHandler(this.homeTSMenuItem_Click);
//
// resultsTSMenuItem
//
this.resultsTSMenuItem.Name = "resultsTSMenuItem";
resources.ApplyResources(this.resultsTSMenuItem, "resultsTSMenuItem");
this.resultsTSMenuItem.Name = "resultsTSMenuItem";
//
// logsTSMenuItem
//
this.logsTSMenuItem.Name = "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.usersTSMenuItem,
this.localSettingsTSMenuItem,
this.databaseSettingsTSMenuItem,
this.passwortToolStripMenuItem});
this.editTSMenuItem.Name = "editTSMenuItem";
resources.ApplyResources(this.editTSMenuItem, "editTSMenuItem");
//
// usersTSMenuItem
//
this.usersTSMenuItem.Name = "usersTSMenuItem";
resources.ApplyResources(this.usersTSMenuItem, "usersTSMenuItem");
this.usersTSMenuItem.Name = "usersTSMenuItem";
this.usersTSMenuItem.Click += new System.EventHandler(this.usersTSMItem_Click);
//
// localSettingsTSMenuItem
//
this.localSettingsTSMenuItem.Name = "localSettingsTSMenuItem";
resources.ApplyResources(this.localSettingsTSMenuItem, "localSettingsTSMenuItem");
this.localSettingsTSMenuItem.Name = "localSettingsTSMenuItem";
this.localSettingsTSMenuItem.Click += new System.EventHandler(this.localSettingsTSMItem_Click);
//
// databaseSettingsTSMenuItem
//
this.databaseSettingsTSMenuItem.Name = "databaseSettingsTSMenuItem";
resources.ApplyResources(this.databaseSettingsTSMenuItem, "databaseSettingsTSMenuItem");
this.databaseSettingsTSMenuItem.Name = "databaseSettingsTSMenuItem";
this.databaseSettingsTSMenuItem.Click += new System.EventHandler(this.databaseSettingsTSMItem_Click);
//
// passwortToolStripMenuItem
//
this.passwortToolStripMenuItem.Name = "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.aboutTSMenuItem});
this.helpTSMenuItem.Name = "helpTSMenuItem";
resources.ApplyResources(this.helpTSMenuItem, "helpTSMenuItem");
//
// aboutTSMenuItem
//
this.aboutTSMenuItem.Name = "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.benchTSMenuItem,
this.proceduresToolStripMenuItem,
@ -512,31 +526,30 @@ namespace TBF
this.logsTSMenuItem,
this.editTSMenuItem,
this.helpTSMenuItem});
resources.ApplyResources(this.mainMenuStrip, "mainMenuStrip");
this.mainMenuStrip.Name = "mainMenuStrip";
//
// proceduresToolStripMenuItem
//
this.proceduresToolStripMenuItem.Name = "proceduresToolStripMenuItem";
resources.ApplyResources(this.proceduresToolStripMenuItem, "proceduresToolStripMenuItem");
this.proceduresToolStripMenuItem.Name = "proceduresToolStripMenuItem";
this.proceduresToolStripMenuItem.Click += new System.EventHandler(this.proceduresTSMItem_Click);
//
// processToolStripMenuItem
//
this.processToolStripMenuItem.Name = "processToolStripMenuItem";
resources.ApplyResources(this.processToolStripMenuItem, "processToolStripMenuItem");
this.processToolStripMenuItem.Name = "processToolStripMenuItem";
this.processToolStripMenuItem.Click += new System.EventHandler(this.processTSMenuItem_Click);
//
// resultsToolStripMenuItem
//
this.resultsToolStripMenuItem.Name = "resultsToolStripMenuItem";
resources.ApplyResources(this.resultsToolStripMenuItem, "resultsToolStripMenuItem");
this.resultsToolStripMenuItem.Name = "resultsToolStripMenuItem";
this.resultsToolStripMenuItem.Click += new System.EventHandler(this.resultsTSMenuItem_Click);
//
// printToolStripMenuItem
//
this.printToolStripMenuItem.Name = "printToolStripMenuItem";
resources.ApplyResources(this.printToolStripMenuItem, "printToolStripMenuItem");
this.printToolStripMenuItem.Name = "printToolStripMenuItem";
this.printToolStripMenuItem.Click += new System.EventHandler(this.printToolStripMenuItem_Click);
//
// MainWnd

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,280 @@
<?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>
<data name="activityGroupBox.Text" xml:space="preserve">
<value>活动</value>
</data>
<data name="procedureGroupBox.Text" xml:space="preserve">
<value>程序</value>
</data>
<data name="progressGroupBox.Text" xml:space="preserve">
<value>进度</value>
</data>
<data name="homeTabPage.Text" xml:space="preserve">
<value>液压</value>
</data>
<data name="processTabPage.Text" xml:space="preserve">
<value>过程</value>
</data>
<data name="insertTabPage.Text" xml:space="preserve">
<value>插入</value>
</data>
<data name="resultsTabPage.Text" xml:space="preserve">
<value>结果</value>
</data>
<data name="logsTabPage.Text" xml:space="preserve">
<value>日志</value>
</data>
<data name="picturesTabPage.Text" xml:space="preserve">
<value>图片</value>
</data>
<data name="measurementTabPage.Text" xml:space="preserve">
<value>测量</value>
</data>
<data name="statusStrip1.Text" xml:space="preserve">
<value>状态栏1</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="benchTSMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>55, 20</value>
</data>
<data name="benchTSMenuItem.Text" xml:space="preserve">
<value>工作台</value>
</data>
<data name="benchComponentsTSMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>98, 22</value>
</data>
<data name="benchComponentsTSMenuItem.Text" xml:space="preserve">
<value>组件</value>
</data>
<data name="benchPathsTSMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>98, 22</value>
</data>
<data name="benchPathsTSMenuItem.Text" xml:space="preserve">
<value>路径</value>
</data>
<data name="benchTransitionsToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>98, 22</value>
</data>
<data name="benchTransitionsToolStripMenuItem.Text" xml:space="preserve">
<value>转换</value>
</data>
<data name="benchMetrologyTSMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>98, 22</value>
</data>
<data name="benchMetrologyTSMenuItem.Text" xml:space="preserve">
<value>测量</value>
</data>
<data name="toolStripSeparator1.Size" type="System.Drawing.Size, System.Drawing">
<value>95, 6</value>
</data>
<data name="exitToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>98, 22</value>
</data>
<data name="exitToolStripMenuItem.Text" xml:space="preserve">
<value>退出</value>
</data>
<data name="homeTSMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>55, 20</value>
</data>
<data name="homeTSMenuItem.Text" xml:space="preserve">
<value>主页面</value>
</data>
<data name="resultsTSMenuItem.Text" xml:space="preserve">
<value>结果</value>
</data>
<data name="logsTSMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>43, 20</value>
</data>
<data name="logsTSMenuItem.Text" xml:space="preserve">
<value>日志</value>
</data>
<data name="editTSMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>88, 20</value>
</data>
<data name="editTSMenuItem.Text" xml:space="preserve">
<value>设置 Settings</value>
</data>
<data name="usersTSMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>153, 22</value>
</data>
<data name="usersTSMenuItem.Text" xml:space="preserve">
<value>用户</value>
</data>
<data name="localSettingsTSMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>153, 22</value>
</data>
<data name="localSettingsTSMenuItem.Text" xml:space="preserve">
<value>语言 Language</value>
</data>
<data name="databaseSettingsTSMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>153, 22</value>
</data>
<data name="databaseSettingsTSMenuItem.Text" xml:space="preserve">
<value>数据库</value>
</data>
<data name="passwortToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>153, 22</value>
</data>
<data name="passwortToolStripMenuItem.Text" xml:space="preserve">
<value>密码</value>
</data>
<data name="helpTSMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>43, 20</value>
</data>
<data name="helpTSMenuItem.Text" xml:space="preserve">
<value>帮助</value>
</data>
<data name="aboutTSMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>98, 22</value>
</data>
<data name="aboutTSMenuItem.Text" xml:space="preserve">
<value>关于</value>
</data>
<data name="mainMenuStrip.Text" xml:space="preserve">
<value>维护菜单状态栏</value>
</data>
<data name="proceduresToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>43, 20</value>
</data>
<data name="proceduresToolStripMenuItem.Text" xml:space="preserve">
<value>程序</value>
</data>
<data name="processToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>43, 20</value>
</data>
<data name="processToolStripMenuItem.Text" xml:space="preserve">
<value>过程</value>
</data>
<data name="resultsToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>43, 20</value>
</data>
<data name="resultsToolStripMenuItem.Text" xml:space="preserve">
<value>结果</value>
</data>
<data name="printToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>43, 20</value>
</data>
<data name="printToolStripMenuItem.Text" xml:space="preserve">
<value>打印</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>校验台框架</value>
</data>
</root>

View File

@ -31,150 +31,150 @@ namespace TBF
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PathsDlg));
this.splitContainer = new System.Windows.Forms.SplitContainer();
this.pathsTabControl = new System.Windows.Forms.TabControl();
this.feedingTabPage = new System.Windows.Forms.TabPage();
this.pathsFeedingCtrl = new TBF.UiControls.PathsFeedingCtrl();
this.benchTabPage = new System.Windows.Forms.TabPage();
this.pathsBenchCtrl = new TBF.UiControls.PathsBenchCtrl();
this.outputTabPage = new System.Windows.Forms.TabPage();
this.pathsOutputCtrl = new TBF.UiControls.PathsOutputCtrl();
this.metersTabPage = new System.Windows.Forms.TabPage();
this.pathsMetersCtrl = new TBF.UiControls.PathsMetersCtrl();
this.sharedButtons = new TBF.UiControls.SharedButtons();
((System.ComponentModel.ISupportInitialize)(this.splitContainer)).BeginInit();
this.splitContainer.Panel1.SuspendLayout();
this.splitContainer.Panel2.SuspendLayout();
this.splitContainer.SuspendLayout();
this.pathsTabControl.SuspendLayout();
this.feedingTabPage.SuspendLayout();
this.benchTabPage.SuspendLayout();
this.outputTabPage.SuspendLayout();
this.metersTabPage.SuspendLayout();
this.SuspendLayout();
//
// splitContainer
//
resources.ApplyResources(this.splitContainer, "splitContainer");
this.splitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
this.splitContainer.Name = "splitContainer";
//
// splitContainer.Panel1
//
resources.ApplyResources(this.splitContainer.Panel1, "splitContainer.Panel1");
this.splitContainer.Panel1.Controls.Add(this.pathsTabControl);
//
// splitContainer.Panel2
//
resources.ApplyResources(this.splitContainer.Panel2, "splitContainer.Panel2");
this.splitContainer.Panel2.Controls.Add(this.sharedButtons);
//
// pathsTabControl
//
resources.ApplyResources(this.pathsTabControl, "pathsTabControl");
this.pathsTabControl.Controls.Add(this.feedingTabPage);
this.pathsTabControl.Controls.Add(this.benchTabPage);
this.pathsTabControl.Controls.Add(this.outputTabPage);
this.pathsTabControl.Controls.Add(this.metersTabPage);
this.pathsTabControl.Name = "pathsTabControl";
this.pathsTabControl.SelectedIndex = 0;
this.pathsTabControl.SelectedIndexChanged += new System.EventHandler(this.pathsTabControl_SelectedIndexChanged);
//
// feedingTabPage
//
resources.ApplyResources(this.feedingTabPage, "feedingTabPage");
this.feedingTabPage.Controls.Add(this.pathsFeedingCtrl);
this.feedingTabPage.Name = "feedingTabPage";
this.feedingTabPage.UseVisualStyleBackColor = true;
//
// pathsFeedingCtrl
//
resources.ApplyResources(this.pathsFeedingCtrl, "pathsFeedingCtrl");
this.pathsFeedingCtrl.DoubleClickActivation = false;
this.pathsFeedingCtrl.FullRowSelect = true;
this.pathsFeedingCtrl.GridLines = true;
this.pathsFeedingCtrl.Name = "pathsFeedingCtrl";
this.pathsFeedingCtrl.UseCompatibleStateImageBehavior = false;
this.pathsFeedingCtrl.View = System.Windows.Forms.View.Details;
this.pathsFeedingCtrl.SelectedIndexChanged += new System.EventHandler(this.SelectedIndexChanged);
//
// benchTabPage
//
resources.ApplyResources(this.benchTabPage, "benchTabPage");
this.benchTabPage.Controls.Add(this.pathsBenchCtrl);
this.benchTabPage.Name = "benchTabPage";
this.benchTabPage.UseVisualStyleBackColor = true;
//
// pathsBenchCtrl
//
resources.ApplyResources(this.pathsBenchCtrl, "pathsBenchCtrl");
this.pathsBenchCtrl.DoubleClickActivation = false;
this.pathsBenchCtrl.FullRowSelect = true;
this.pathsBenchCtrl.GridLines = true;
this.pathsBenchCtrl.Name = "pathsBenchCtrl";
this.pathsBenchCtrl.UseCompatibleStateImageBehavior = false;
this.pathsBenchCtrl.View = System.Windows.Forms.View.Details;
this.pathsBenchCtrl.SelectedIndexChanged += new System.EventHandler(this.SelectedIndexChanged);
//
// outputTabPage
//
resources.ApplyResources(this.outputTabPage, "outputTabPage");
this.outputTabPage.Controls.Add(this.pathsOutputCtrl);
this.outputTabPage.Name = "outputTabPage";
this.outputTabPage.UseVisualStyleBackColor = true;
//
// pathsOutputCtrl
//
resources.ApplyResources(this.pathsOutputCtrl, "pathsOutputCtrl");
this.pathsOutputCtrl.DoubleClickActivation = false;
this.pathsOutputCtrl.FullRowSelect = true;
this.pathsOutputCtrl.GridLines = true;
this.pathsOutputCtrl.Name = "pathsOutputCtrl";
this.pathsOutputCtrl.UseCompatibleStateImageBehavior = false;
this.pathsOutputCtrl.View = System.Windows.Forms.View.Details;
this.pathsOutputCtrl.SelectedIndexChanged += new System.EventHandler(this.SelectedIndexChanged);
//
// metersTabPage
//
resources.ApplyResources(this.metersTabPage, "metersTabPage");
this.metersTabPage.Controls.Add(this.pathsMetersCtrl);
this.metersTabPage.Name = "metersTabPage";
this.metersTabPage.UseVisualStyleBackColor = true;
//
// pathsMetersCtrl
//
resources.ApplyResources(this.pathsMetersCtrl, "pathsMetersCtrl");
this.pathsMetersCtrl.DoubleClickActivation = false;
this.pathsMetersCtrl.FullRowSelect = true;
this.pathsMetersCtrl.GridLines = true;
this.pathsMetersCtrl.Name = "pathsMetersCtrl";
this.pathsMetersCtrl.UseCompatibleStateImageBehavior = false;
this.pathsMetersCtrl.View = System.Windows.Forms.View.Details;
this.pathsMetersCtrl.SelectedIndexChanged += new System.EventHandler(this.SelectedIndexChanged);
//
// sharedButtons
//
resources.ApplyResources(this.sharedButtons, "sharedButtons");
this.sharedButtons.Name = "sharedButtons";
//
// PathsDlg
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.splitContainer);
this.Name = "PathsDlg";
this.Load += new System.EventHandler(this.PathsDlg_Load);
this.splitContainer.Panel1.ResumeLayout(false);
this.splitContainer.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer)).EndInit();
this.splitContainer.ResumeLayout(false);
this.pathsTabControl.ResumeLayout(false);
this.feedingTabPage.ResumeLayout(false);
this.benchTabPage.ResumeLayout(false);
this.outputTabPage.ResumeLayout(false);
this.metersTabPage.ResumeLayout(false);
this.ResumeLayout(false);
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PathsDlg));
this.splitContainer = new System.Windows.Forms.SplitContainer();
this.pathsTabControl = new System.Windows.Forms.TabControl();
this.feedingTabPage = new System.Windows.Forms.TabPage();
this.pathsFeedingCtrl = new TBF.UiControls.PathsFeedingCtrl();
this.benchTabPage = new System.Windows.Forms.TabPage();
this.pathsBenchCtrl = new TBF.UiControls.PathsBenchCtrl();
this.outputTabPage = new System.Windows.Forms.TabPage();
this.pathsOutputCtrl = new TBF.UiControls.PathsOutputCtrl();
this.metersTabPage = new System.Windows.Forms.TabPage();
this.pathsMetersCtrl = new TBF.UiControls.PathsMetersCtrl();
this.sharedButtons = new TBF.UiControls.SharedButtons();
((System.ComponentModel.ISupportInitialize)(this.splitContainer)).BeginInit();
this.splitContainer.Panel1.SuspendLayout();
this.splitContainer.Panel2.SuspendLayout();
this.splitContainer.SuspendLayout();
this.pathsTabControl.SuspendLayout();
this.feedingTabPage.SuspendLayout();
this.benchTabPage.SuspendLayout();
this.outputTabPage.SuspendLayout();
this.metersTabPage.SuspendLayout();
this.SuspendLayout();
//
// splitContainer
//
resources.ApplyResources(this.splitContainer, "splitContainer");
this.splitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
this.splitContainer.Name = "splitContainer";
//
// splitContainer.Panel1
//
resources.ApplyResources(this.splitContainer.Panel1, "splitContainer.Panel1");
this.splitContainer.Panel1.Controls.Add(this.pathsTabControl);
//
// splitContainer.Panel2
//
resources.ApplyResources(this.splitContainer.Panel2, "splitContainer.Panel2");
this.splitContainer.Panel2.Controls.Add(this.sharedButtons);
//
// pathsTabControl
//
resources.ApplyResources(this.pathsTabControl, "pathsTabControl");
this.pathsTabControl.Controls.Add(this.feedingTabPage);
this.pathsTabControl.Controls.Add(this.benchTabPage);
this.pathsTabControl.Controls.Add(this.outputTabPage);
this.pathsTabControl.Controls.Add(this.metersTabPage);
this.pathsTabControl.Name = "pathsTabControl";
this.pathsTabControl.SelectedIndex = 0;
this.pathsTabControl.SelectedIndexChanged += new System.EventHandler(this.pathsTabControl_SelectedIndexChanged);
//
// feedingTabPage
//
resources.ApplyResources(this.feedingTabPage, "feedingTabPage");
this.feedingTabPage.Controls.Add(this.pathsFeedingCtrl);
this.feedingTabPage.Name = "feedingTabPage";
this.feedingTabPage.UseVisualStyleBackColor = true;
//
// pathsFeedingCtrl
//
resources.ApplyResources(this.pathsFeedingCtrl, "pathsFeedingCtrl");
this.pathsFeedingCtrl.DoubleClickActivation = false;
this.pathsFeedingCtrl.FullRowSelect = true;
this.pathsFeedingCtrl.GridLines = true;
this.pathsFeedingCtrl.Name = "pathsFeedingCtrl";
this.pathsFeedingCtrl.UseCompatibleStateImageBehavior = false;
this.pathsFeedingCtrl.View = System.Windows.Forms.View.Details;
this.pathsFeedingCtrl.SelectedIndexChanged += new System.EventHandler(this.SelectedIndexChanged);
//
// benchTabPage
//
resources.ApplyResources(this.benchTabPage, "benchTabPage");
this.benchTabPage.Controls.Add(this.pathsBenchCtrl);
this.benchTabPage.Name = "benchTabPage";
this.benchTabPage.UseVisualStyleBackColor = true;
//
// pathsBenchCtrl
//
resources.ApplyResources(this.pathsBenchCtrl, "pathsBenchCtrl");
this.pathsBenchCtrl.DoubleClickActivation = false;
this.pathsBenchCtrl.FullRowSelect = true;
this.pathsBenchCtrl.GridLines = true;
this.pathsBenchCtrl.Name = "pathsBenchCtrl";
this.pathsBenchCtrl.UseCompatibleStateImageBehavior = false;
this.pathsBenchCtrl.View = System.Windows.Forms.View.Details;
this.pathsBenchCtrl.SelectedIndexChanged += new System.EventHandler(this.SelectedIndexChanged);
//
// outputTabPage
//
resources.ApplyResources(this.outputTabPage, "outputTabPage");
this.outputTabPage.Controls.Add(this.pathsOutputCtrl);
this.outputTabPage.Name = "outputTabPage";
this.outputTabPage.UseVisualStyleBackColor = true;
//
// pathsOutputCtrl
//
resources.ApplyResources(this.pathsOutputCtrl, "pathsOutputCtrl");
this.pathsOutputCtrl.DoubleClickActivation = false;
this.pathsOutputCtrl.FullRowSelect = true;
this.pathsOutputCtrl.GridLines = true;
this.pathsOutputCtrl.Name = "pathsOutputCtrl";
this.pathsOutputCtrl.UseCompatibleStateImageBehavior = false;
this.pathsOutputCtrl.View = System.Windows.Forms.View.Details;
this.pathsOutputCtrl.SelectedIndexChanged += new System.EventHandler(this.SelectedIndexChanged);
//
// metersTabPage
//
resources.ApplyResources(this.metersTabPage, "metersTabPage");
this.metersTabPage.Controls.Add(this.pathsMetersCtrl);
this.metersTabPage.Name = "metersTabPage";
this.metersTabPage.UseVisualStyleBackColor = true;
//
// pathsMetersCtrl
//
resources.ApplyResources(this.pathsMetersCtrl, "pathsMetersCtrl");
this.pathsMetersCtrl.DoubleClickActivation = false;
this.pathsMetersCtrl.FullRowSelect = true;
this.pathsMetersCtrl.GridLines = true;
this.pathsMetersCtrl.Name = "pathsMetersCtrl";
this.pathsMetersCtrl.UseCompatibleStateImageBehavior = false;
this.pathsMetersCtrl.View = System.Windows.Forms.View.Details;
this.pathsMetersCtrl.SelectedIndexChanged += new System.EventHandler(this.SelectedIndexChanged);
//
// sharedButtons
//
resources.ApplyResources(this.sharedButtons, "sharedButtons");
this.sharedButtons.Name = "sharedButtons";
//
// PathsDlg
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.splitContainer);
this.Name = "PathsDlg";
this.Load += new System.EventHandler(this.PathsDlg_Load);
this.splitContainer.Panel1.ResumeLayout(false);
this.splitContainer.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer)).EndInit();
this.splitContainer.ResumeLayout(false);
this.pathsTabControl.ResumeLayout(false);
this.feedingTabPage.ResumeLayout(false);
this.benchTabPage.ResumeLayout(false);
this.outputTabPage.ResumeLayout(false);
this.metersTabPage.ResumeLayout(false);
this.ResumeLayout(false);
}

View File

@ -75,6 +75,7 @@ namespace TBF
private void PathsDlg_Load(object sender, EventArgs e)
{
Localize();
TBF.LocalSettings ls = Program.LocalSettings;
Width = (ls.PathsDlgWidth > 0) ? ls.PathsDlgWidth : 1050;
Height = (ls.PathsDlgHeight > 0) ? ls.PathsDlgHeight : 360;
@ -82,6 +83,15 @@ namespace TBF
Top = (ls.PathsDlgTop != 0) ? ls.PathsDlgTop : 150;
}
private void Localize()
{
Text = Strings.PathsDlgTitle;
pathsTabControl.TabPages[(int)PathsDlgTabs.Feeding].Text = Strings.FeedingTabPageTitle;
pathsTabControl.TabPages[(int)PathsDlgTabs.Bench].Text = Strings.BenchTabPageTitle;
pathsTabControl.TabPages[(int)PathsDlgTabs.Output].Text = Strings.OutputTabPageTitle;
pathsTabControl.TabPages[(int)PathsDlgTabs.Meters].Text = Strings.MetersTabPageTitle;
}
private void Unlocked(object sender, EventArgs e)
{
foreach (TabPage tab in pathsTabControl.TabPages)

View File

@ -162,7 +162,7 @@
<value>benchTabPage</value>
</data>
<data name="&gt;&gt;pathsBenchCtrl.Type" xml:space="preserve">
<value>TBF.UiControls.PathsBenchCtrl, TBF, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</value>
<value>TBF.UiControls.PathsBenchCtrl, TBF, Version=2.3.244.1, Culture=neutral, PublicKeyToken=null</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="splitContainer.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
@ -208,13 +208,13 @@
<value>CenterParent</value>
</data>
<data name="&gt;&gt;pathsFeedingCtrl.Type" xml:space="preserve">
<value>TBF.UiControls.PathsFeedingCtrl, TBF, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</value>
<value>TBF.UiControls.PathsFeedingCtrl, TBF, Version=2.3.244.1, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;benchTabPage.Parent" xml:space="preserve">
<value>pathsTabControl</value>
</data>
<data name="&gt;&gt;pathsMetersCtrl.Type" xml:space="preserve">
<value>TBF.UiControls.PathsMetersCtrl, TBF, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</value>
<value>TBF.UiControls.PathsMetersCtrl, TBF, Version=2.3.244.1, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="benchTabPage.Text" xml:space="preserve">
<value> Bench </value>
@ -298,7 +298,7 @@
<value>0</value>
</data>
<data name="&gt;&gt;sharedButtons.Type" xml:space="preserve">
<value>TBF.UiControls.SharedButtons, TBF, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</value>
<value>TBF.UiControls.SharedButtons, TBF, Version=2.3.244.1, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;metersTabPage.Type" xml:space="preserve">
<value>System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
@ -355,7 +355,7 @@
<value>1</value>
</data>
<data name="&gt;&gt;pathsOutputCtrl.Type" xml:space="preserve">
<value>TBF.UiControls.PathsOutputCtrl, TBF, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</value>
<value>TBF.UiControls.PathsOutputCtrl, TBF, Version=2.3.244.1, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;splitContainer.Type" xml:space="preserve">
<value>System.Windows.Forms.SplitContainer, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>

View File

@ -97,27 +97,30 @@ namespace TBF
//
// mainSplitContainer.Panel1
//
resources.ApplyResources(this.mainSplitContainer.Panel1, "mainSplitContainer.Panel1");
this.mainSplitContainer.Panel1.Controls.Add(this.tabControl);
//
// mainSplitContainer.Panel2
//
resources.ApplyResources(this.mainSplitContainer.Panel2, "mainSplitContainer.Panel2");
this.mainSplitContainer.Panel2.Controls.Add(this.sharedButtons);
//
// tabControl
//
resources.ApplyResources(this.tabControl, "tabControl");
this.tabControl.Controls.Add(this.generalTabPage);
this.tabControl.Controls.Add(this.historyTabPage);
this.tabControl.Controls.Add(this.metrology1TabPage);
this.tabControl.Controls.Add(this.metrology2TabPage);
this.tabControl.Controls.Add(this.processTabPage);
this.tabControl.Controls.Add(this.parametersTabPage);
resources.ApplyResources(this.tabControl, "tabControl");
this.tabControl.Name = "tabControl";
this.tabControl.SelectedIndex = 0;
this.tabControl.SelectedIndexChanged += new System.EventHandler(this.tabControl_SelectedIndexChanged);
//
// generalTabPage
//
resources.ApplyResources(this.generalTabPage, "generalTabPage");
this.generalTabPage.Controls.Add(this.protocolTitleTextBox);
this.generalTabPage.Controls.Add(this.protocolTitleLabel);
this.generalTabPage.Controls.Add(this.metersKindRadioButton2);
@ -148,9 +151,7 @@ namespace TBF
this.generalTabPage.Controls.Add(this.label12);
this.generalTabPage.Controls.Add(this.procNameTextBox);
this.generalTabPage.Controls.Add(this.label1);
resources.ApplyResources(this.generalTabPage, "generalTabPage");
this.generalTabPage.Name = "generalTabPage";
this.generalTabPage.ToolTipText = global::TBF.Resources.Strings.String1;
this.generalTabPage.UseVisualStyleBackColor = true;
//
// protocolTitleTextBox
@ -180,62 +181,57 @@ namespace TBF
//
// transitionEndComboBox
//
this.transitionEndComboBox.FormattingEnabled = true;
resources.ApplyResources(this.transitionEndComboBox, "transitionEndComboBox");
this.transitionEndComboBox.FormattingEnabled = true;
this.transitionEndComboBox.Name = "transitionEndComboBox";
//
// transitionEndLabel
//
resources.ApplyResources(this.transitionEndLabel, "transitionEndLabel");
this.transitionEndLabel.ImageKey = global::TBF.Resources.Strings.String1;
this.transitionEndLabel.Name = "transitionEndLabel";
//
// transitionStartComboBox
//
this.transitionStartComboBox.FormattingEnabled = true;
resources.ApplyResources(this.transitionStartComboBox, "transitionStartComboBox");
this.transitionStartComboBox.FormattingEnabled = true;
this.transitionStartComboBox.Name = "transitionStartComboBox";
//
// transitionStartLabel
//
resources.ApplyResources(this.transitionStartLabel, "transitionStartLabel");
this.transitionStartLabel.ImageKey = global::TBF.Resources.Strings.String1;
this.transitionStartLabel.Name = "transitionStartLabel";
//
// resultsWriterComboBox
//
this.resultsWriterComboBox.FormattingEnabled = true;
resources.ApplyResources(this.resultsWriterComboBox, "resultsWriterComboBox");
this.resultsWriterComboBox.FormattingEnabled = true;
this.resultsWriterComboBox.Name = "resultsWriterComboBox";
//
// resultsPrinterComboBox
//
this.resultsPrinterComboBox.FormattingEnabled = true;
resources.ApplyResources(this.resultsPrinterComboBox, "resultsPrinterComboBox");
this.resultsPrinterComboBox.FormattingEnabled = true;
this.resultsPrinterComboBox.Name = "resultsPrinterComboBox";
//
// dataEntryComboBox
//
this.dataEntryComboBox.FormattingEnabled = true;
resources.ApplyResources(this.dataEntryComboBox, "dataEntryComboBox");
this.dataEntryComboBox.FormattingEnabled = true;
this.dataEntryComboBox.Name = "dataEntryComboBox";
//
// resultsWriterLabel
//
resources.ApplyResources(this.resultsWriterLabel, "resultsWriterLabel");
this.resultsWriterLabel.ImageKey = global::TBF.Resources.Strings.String1;
this.resultsWriterLabel.Name = "resultsWriterLabel";
//
// resultsPrinterLabel
//
resources.ApplyResources(this.resultsPrinterLabel, "resultsPrinterLabel");
this.resultsPrinterLabel.ImageKey = global::TBF.Resources.Strings.String1;
this.resultsPrinterLabel.Name = "resultsPrinterLabel";
//
// dataEntryLabel
//
resources.ApplyResources(this.dataEntryLabel, "dataEntryLabel");
this.dataEntryLabel.ImageKey = global::TBF.Resources.Strings.String1;
this.dataEntryLabel.Name = "dataEntryLabel";
//
// notesTextBox
@ -246,7 +242,6 @@ namespace TBF
// label18
//
resources.ApplyResources(this.label18, "label18");
this.label18.ImageKey = global::TBF.Resources.Strings.String1;
this.label18.Name = "label18";
//
// watermetersTextBox
@ -257,7 +252,6 @@ namespace TBF
// watermetersLabel
//
resources.ApplyResources(this.watermetersLabel, "watermetersLabel");
this.watermetersLabel.ImageKey = global::TBF.Resources.Strings.String1;
this.watermetersLabel.Name = "watermetersLabel";
//
// lastChangedOnTextBox
@ -268,7 +262,6 @@ namespace TBF
// label15
//
resources.ApplyResources(this.label15, "label15");
this.label15.ImageKey = global::TBF.Resources.Strings.String1;
this.label15.Name = "label15";
//
// lastChangedByTextBox
@ -279,7 +272,6 @@ namespace TBF
// label16
//
resources.ApplyResources(this.label16, "label16");
this.label16.ImageKey = global::TBF.Resources.Strings.String1;
this.label16.Name = "label16";
//
// createdOnTextBox
@ -290,7 +282,6 @@ namespace TBF
// label14
//
resources.ApplyResources(this.label14, "label14");
this.label14.ImageKey = global::TBF.Resources.Strings.String1;
this.label14.Name = "label14";
//
// createdByTextBox
@ -301,7 +292,6 @@ namespace TBF
// label13
//
resources.ApplyResources(this.label13, "label13");
this.label13.ImageKey = global::TBF.Resources.Strings.String1;
this.label13.Name = "label13";
//
// descriptionTextBox
@ -312,7 +302,6 @@ namespace TBF
// label12
//
resources.ApplyResources(this.label12, "label12");
this.label12.ImageKey = global::TBF.Resources.Strings.String1;
this.label12.Name = "label12";
//
// procNameTextBox
@ -323,21 +312,19 @@ namespace TBF
// label1
//
resources.ApplyResources(this.label1, "label1");
this.label1.ImageKey = global::TBF.Resources.Strings.String1;
this.label1.Name = "label1";
//
// historyTabPage
//
this.historyTabPage.Controls.Add(this.historyListViewEx);
resources.ApplyResources(this.historyTabPage, "historyTabPage");
this.historyTabPage.Controls.Add(this.historyListViewEx);
this.historyTabPage.Name = "historyTabPage";
this.historyTabPage.ToolTipText = global::TBF.Resources.Strings.String1;
this.historyTabPage.UseVisualStyleBackColor = true;
//
// historyListViewEx
//
this.historyListViewEx.AllowColumnReorder = true;
resources.ApplyResources(this.historyListViewEx, "historyListViewEx");
this.historyListViewEx.AllowColumnReorder = true;
this.historyListViewEx.DoubleClickActivation = false;
this.historyListViewEx.FullRowSelect = true;
this.historyListViewEx.GridLines = true;
@ -347,16 +334,15 @@ namespace TBF
//
// metrology1TabPage
//
this.metrology1TabPage.Controls.Add(this.metrology1ListViewEx);
resources.ApplyResources(this.metrology1TabPage, "metrology1TabPage");
this.metrology1TabPage.Controls.Add(this.metrology1ListViewEx);
this.metrology1TabPage.Name = "metrology1TabPage";
this.metrology1TabPage.ToolTipText = global::TBF.Resources.Strings.String1;
this.metrology1TabPage.UseVisualStyleBackColor = true;
//
// metrology1ListViewEx
//
this.metrology1ListViewEx.AllowColumnReorder = true;
resources.ApplyResources(this.metrology1ListViewEx, "metrology1ListViewEx");
this.metrology1ListViewEx.AllowColumnReorder = true;
this.metrology1ListViewEx.DoubleClickActivation = false;
this.metrology1ListViewEx.FullRowSelect = true;
this.metrology1ListViewEx.GridLines = true;
@ -367,16 +353,15 @@ namespace TBF
//
// metrology2TabPage
//
this.metrology2TabPage.Controls.Add(this.metrology2ListViewEx);
resources.ApplyResources(this.metrology2TabPage, "metrology2TabPage");
this.metrology2TabPage.Controls.Add(this.metrology2ListViewEx);
this.metrology2TabPage.Name = "metrology2TabPage";
this.metrology2TabPage.ToolTipText = global::TBF.Resources.Strings.String1;
this.metrology2TabPage.UseVisualStyleBackColor = true;
//
// metrology2ListViewEx
//
this.metrology2ListViewEx.AllowColumnReorder = true;
resources.ApplyResources(this.metrology2ListViewEx, "metrology2ListViewEx");
this.metrology2ListViewEx.AllowColumnReorder = true;
this.metrology2ListViewEx.DoubleClickActivation = false;
this.metrology2ListViewEx.FullRowSelect = true;
this.metrology2ListViewEx.GridLines = true;
@ -387,16 +372,15 @@ namespace TBF
//
// processTabPage
//
this.processTabPage.Controls.Add(this.processListViewEx);
resources.ApplyResources(this.processTabPage, "processTabPage");
this.processTabPage.Controls.Add(this.processListViewEx);
this.processTabPage.Name = "processTabPage";
this.processTabPage.ToolTipText = global::TBF.Resources.Strings.String1;
this.processTabPage.UseVisualStyleBackColor = true;
//
// processListViewEx
//
this.processListViewEx.AllowColumnReorder = true;
resources.ApplyResources(this.processListViewEx, "processListViewEx");
this.processListViewEx.AllowColumnReorder = true;
this.processListViewEx.DoubleClickActivation = false;
this.processListViewEx.FullRowSelect = true;
this.processListViewEx.GridLines = true;
@ -407,15 +391,15 @@ namespace TBF
//
// parametersTabPage
//
this.parametersTabPage.Controls.Add(this.parametersListViewEx);
resources.ApplyResources(this.parametersTabPage, "parametersTabPage");
this.parametersTabPage.Controls.Add(this.parametersListViewEx);
this.parametersTabPage.Name = "parametersTabPage";
this.parametersTabPage.UseVisualStyleBackColor = true;
//
// parametersListViewEx
//
this.parametersListViewEx.AllowColumnReorder = true;
resources.ApplyResources(this.parametersListViewEx, "parametersListViewEx");
this.parametersListViewEx.AllowColumnReorder = true;
this.parametersListViewEx.DoubleClickActivation = false;
this.parametersListViewEx.FullRowSelect = true;
this.parametersListViewEx.Name = "parametersListViewEx";

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,193 @@
<?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>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="label1.Size" type="System.Drawing.Size, System.Drawing">
<value>79, 13</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>程序</value>
</data>
<data name="dataEntryLabel.Text" xml:space="preserve">
<value>输入数据</value>
</data>
<data name="generalTabPage.Text" xml:space="preserve">
<value>总体情况</value>
</data>
<data name="historyTabPage.Text" xml:space="preserve">
<value>变更历史记录</value>
</data>
<data name="label1.Text" xml:space="preserve">
<value>程序名</value>
</data>
<data name="label12.Text" xml:space="preserve">
<value>简短描述</value>
</data>
<data name="label13.Text" xml:space="preserve">
<value>创建者</value>
</data>
<data name="label14.Text" xml:space="preserve">
<value>日期</value>
</data>
<data name="label15.Text" xml:space="preserve">
<value>日期</value>
</data>
<data name="label16.Text" xml:space="preserve">
<value>最后修改者</value>
</data>
<data name="label18.Text" xml:space="preserve">
<value>记录</value>
</data>
<data name="metersKindRadioButton1.Text" xml:space="preserve">
<value>单个的</value>
</data>
<data name="metersKindRadioButton2.Text" xml:space="preserve">
<value>组合的</value>
</data>
<data name="metrology1TabPage.Text" xml:space="preserve">
<value>计量 I.</value>
</data>
<data name="metrology2TabPage.Text" xml:space="preserve">
<value>计量 II.</value>
</data>
<data name="parametersTabPage.Text" xml:space="preserve">
<value>参数</value>
</data>
<data name="processTabPage.Text" xml:space="preserve">
<value>进程</value>
</data>
<data name="protocolTitleLabel.Text" xml:space="preserve">
<value>方案标题</value>
</data>
<data name="resultsPrinterLabel.Text" xml:space="preserve">
<value>打印结果</value>
</data>
<data name="resultsWriterLabel.Text" xml:space="preserve">
<value>写入结果</value>
</data>
<data name="transitionEndLabel.Text" xml:space="preserve">
<value>清除 - 结束</value>
</data>
<data name="transitionStartLabel.Text" xml:space="preserve">
<value>清除 - 开始</value>
</data>
<data name="watermetersLabel.Text" xml:space="preserve">
<value>测试仪表型号</value>
</data>
</root>

View File

@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
// Build Number
// Revision
//
[assembly: AssemblyVersion("2.3.243.1")]
[assembly: AssemblyFileVersion("2.3.243.1")]
[assembly: AssemblyVersion("2.3.244.1")]
[assembly: AssemblyFileVersion("2.3.244.1")]

View File

@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34209
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@ -358,7 +358,16 @@ namespace TBF.Resources {
}
/// <summary>
/// Looks up a localized string similar to Build date _BUILD_DATE_.
/// Looks up a localized string similar to Bench.
/// </summary>
internal static string BenchTabPageTitle {
get {
return ResourceManager.GetString("BenchTabPageTitle", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Build date {0}.
/// </summary>
internal static string BuildDateStr {
get {
@ -375,6 +384,15 @@ namespace TBF.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to .
/// </summary>
internal static string Camera {
get {
return ResourceManager.GetString("Camera", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Camera error.
/// </summary>
@ -1023,6 +1041,15 @@ namespace TBF.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Feeding.
/// </summary>
internal static string FeedingTabPageTitle {
get {
return ResourceManager.GetString("FeedingTabPageTitle", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Fill the test bench with water?.
/// </summary>
@ -1068,6 +1095,15 @@ namespace TBF.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Focus.
/// </summary>
internal static string Focus {
get {
return ResourceManager.GetString("Focus", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Get mass of water in the tank.
/// </summary>
@ -1077,6 +1113,15 @@ namespace TBF.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Grab.
/// </summary>
internal static string Grab {
get {
return ResourceManager.GetString("Grab", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Groups.
/// </summary>
@ -1113,6 +1158,15 @@ namespace TBF.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to ID.
/// </summary>
internal static string ID {
get {
return ResourceManager.GetString("ID", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Ignore.
/// </summary>
@ -1185,6 +1239,15 @@ namespace TBF.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Live.
/// </summary>
internal static string Live {
get {
return ResourceManager.GetString("Live", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Loading the procedure.
/// </summary>
@ -1320,6 +1383,15 @@ namespace TBF.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Sensors.
/// </summary>
internal static string MetersTabPageTitle {
get {
return ResourceManager.GetString("MetersTabPageTitle", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Test method.
/// </summary>
@ -1581,6 +1653,15 @@ namespace TBF.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Output.
/// </summary>
internal static string OutputTabPageTitle {
get {
return ResourceManager.GetString("OutputTabPageTitle", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to P up.
/// </summary>
@ -1689,6 +1770,15 @@ namespace TBF.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Paths.
/// </summary>
internal static string PathsDlgTitle {
get {
return ResourceManager.GetString("PathsDlgTitle", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to PID.
/// </summary>
@ -3070,7 +3160,7 @@ namespace TBF.Resources {
}
/// <summary>
/// Looks up a localized string similar to Version _VERSION_.
/// Looks up a localized string similar to Version {0}.
/// </summary>
internal static string VersionStr {
get {

View File

@ -147,7 +147,7 @@
<data name="User_name" xml:space="preserve">
<value>Benutzername</value>
</data>
<data name="warning" xml:space="preserve">
<data name="Warning" xml:space="preserve">
<value>Warnung</value>
</data>
<data name="MaxChars" xml:space="preserve">
@ -973,13 +973,13 @@
<value>Über Test Bench Framework</value>
</data>
<data name="BuildDateStr" xml:space="preserve">
<value>erstellt am _BUILD_DATE_</value>
<value>erstellt am {0}</value>
</data>
<data name="CopyrightStr" xml:space="preserve">
<value>© 2013 - {0} Sensus GmbH</value>
</data>
<data name="VersionStr" xml:space="preserve">
<value>Version _VERSION_</value>
<value>Version {0}</value>
</data>
<data name="Edit_User" xml:space="preserve">
<value>Benutzer einrichten</value>
@ -1002,4 +1002,22 @@
<data name="Uncertainty_pct_chdr" xml:space="preserve">
<value>Unsicherheit [%]</value>
</data>
<data name="BenchTabPageTitle" xml:space="preserve">
<value>Bank</value>
</data>
<data name="FeedingTabPageTitle" xml:space="preserve">
<value>Speisung</value>
</data>
<data name="MetersTabPageTitle" xml:space="preserve">
<value>Messsensoren</value>
</data>
<data name="OutputTabPageTitle" xml:space="preserve">
<value>Ausgabe</value>
</data>
<data name="PathsDlgTitle" xml:space="preserve">
<value>Pfade</value>
</data>
<data name="Camera" xml:space="preserve">
<value>Kamera</value>
</data>
</root>

View File

@ -1026,9 +1026,6 @@
<data name="Warning" xml:space="preserve">
<value>Ostrzeżenie</value>
</data>
<data name="warning" xml:space="preserve">
<value>Ostrzeżenie</value>
</data>
<data name="Water_Meter" xml:space="preserve">
<value>Wodomierz</value>
</data>

View File

@ -1127,13 +1127,13 @@
<value>About Test Bench Framework</value>
</data>
<data name="BuildDateStr" xml:space="preserve">
<value>Build date _BUILD_DATE_</value>
<value>Build date {0}</value>
</data>
<data name="CopyrightStr" xml:space="preserve">
<value>Copyright © 2013 - {0}</value>
</data>
<data name="VersionStr" xml:space="preserve">
<value>Version _VERSION_</value>
<value>Version {0}</value>
</data>
<data name="Edit_User" xml:space="preserve">
<value>Edit User</value>
@ -1171,4 +1171,34 @@
<data name="Previous_results" xml:space="preserve">
<value>Previous results</value>
</data>
<data name="BenchTabPageTitle" xml:space="preserve">
<value>Bench</value>
</data>
<data name="FeedingTabPageTitle" xml:space="preserve">
<value>Feeding</value>
</data>
<data name="MetersTabPageTitle" xml:space="preserve">
<value>Sensors</value>
</data>
<data name="OutputTabPageTitle" xml:space="preserve">
<value>Output</value>
</data>
<data name="PathsDlgTitle" xml:space="preserve">
<value>Paths</value>
</data>
<data name="ID" xml:space="preserve">
<value>ID</value>
</data>
<data name="Focus" xml:space="preserve">
<value>Focus</value>
</data>
<data name="Grab" xml:space="preserve">
<value>Grab</value>
</data>
<data name="Live" xml:space="preserve">
<value>Live</value>
</data>
<data name="Camera" xml:space="preserve">
<value />
</data>
</root>

View File

@ -795,9 +795,6 @@
<value>Volum [l]</value>
</data>
<data name="Warning" xml:space="preserve">
<value>atentie</value>
</data>
<data name="warning" xml:space="preserve">
<value>Atentie</value>
</data>
<data name="Water_Meter" xml:space="preserve">

File diff suppressed because it is too large Load Diff

View File

@ -13,7 +13,8 @@ namespace TBF.Screens
public PicturesTabPageCtrl()
{
InitializeComponent();
configureButton.Text = Strings.Configure;
Localize();
Bridge.CameraStateChangedHandler += delegate(object sender, CameraStateChangedEventArgs args)
{
@ -34,6 +35,14 @@ namespace TBF.Screens
};
}
private void Localize()
{
configureButton.Text = Strings.Configure;
grabButton.Text = Strings.Grab;
liveButton.Text = Strings.Live;
focusButton.Text = Strings.Focus;
}
void OnCameraStateChanged(object sender, CameraStateChangedEventArgs args)
{
switch (args.CameraIdx)

View File

@ -1020,10 +1020,10 @@
<Compile Include="Forms\TabNameDlg.Designer.cs">
<DependentUpon>TabNameDlg.cs</DependentUpon>
</Compile>
<Compile Include="Resources\Strings.cs.Designer.cs">
<Compile Include="Resources\Strings.de.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Strings.cs.resx</DependentUpon>
<DependentUpon>Strings.de.resx</DependentUpon>
</Compile>
<Compile Include="Resources\Strings.zh-CN.Designer.cs">
<AutoGen>True</AutoGen>
@ -1218,11 +1218,6 @@
<Compile Include="BenchControl\StateMachine.cs" />
<Compile Include="BenchControl\Operations\TimerOp.cs" />
<Compile Include="BenchControl\Operations\CheckUIOp.cs" />
<Compile Include="Resources\Strings.de.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Strings.de.resx</DependentUpon>
</Compile>
<Compile Include="Resources\Strings.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
@ -1692,9 +1687,15 @@
<EmbeddedResource Include="Forms\TabNameDlg.resx">
<DependentUpon>TabNameDlg.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="MainWnd.zh-CN.resx">
<DependentUpon>MainWnd.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="PrintOrderDocument.resx">
<DependentUpon>PrintOrderDocument.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="ProcedureDlg.zh-CN.resx">
<DependentUpon>ProcedureDlg.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Resources\Strings.cs.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Strings.cs.Designer.cs</LastGenOutput>
@ -1773,9 +1774,6 @@
<EmbeddedResource Include="MetrologyDlg.resx">
<DependentUpon>MetrologyDlg.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="PathsDlg.de.resx">
<DependentUpon>PathsDlg.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="PathsDlg.resx">
<DependentUpon>PathsDlg.cs</DependentUpon>
</EmbeddedResource>
@ -1848,6 +1846,9 @@
<EmbeddedResource Include="UiControls\BenchControlPanel.resx">
<DependentUpon>BenchControlPanel.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UiControls\BenchControlPanel.zh-CN.resx">
<DependentUpon>BenchControlPanel.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UiControls\CameraPictureCtrl.resx">
<DependentUpon>CameraPictureCtrl.cs</DependentUpon>
</EmbeddedResource>

View File

@ -86,6 +86,8 @@ namespace TBF
private void TransitionsDlg_Load(object sender, EventArgs e)
{
Localize();
TBF.LocalSettings ls = Program.LocalSettings;
Width = (ls.TransitionsDlgWidth > 0) ? ls.TransitionsDlgWidth : 1050;
Height = (ls.TransitionsDlgHeight > 0) ? ls.TransitionsDlgHeight : 360;

View File

@ -156,21 +156,15 @@
<data name="$this.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 4, 4, 4</value>
</data>
<data name="&gt;&gt;groupBox1.Type" xml:space="preserve">
<value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;startQ1Btn.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="stopBtn.TabIndex" type="System.Int32, mscorlib">
<value>5</value>
<data name="acceptResultsBtn.Size" type="System.Drawing.Size, System.Drawing">
<value>92, 42</value>
</data>
<data name="&gt;&gt;cameraTestBtn.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="startQ1Btn.Location" type="System.Drawing.Point, System.Drawing">
<value>8, 117</value>
</data>
<data name="&gt;&gt;cameraTestBtn.Name" xml:space="preserve">
<value>cameraTestBtn</value>
</data>
@ -186,15 +180,21 @@
<data name="otherGroupBox.Text" xml:space="preserve">
<value>Auxiliary</value>
</data>
<data name="&gt;&gt;startCycleBtn.Type" xml:space="preserve">
<data name="&gt;&gt;startTestBtn.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="testComboBox.Size" type="System.Drawing.Size, System.Drawing">
<value>190, 33</value>
</data>
<data name="cameraTestBtn.Text" xml:space="preserve">
<value>Camera test</value>
</data>
<data name="&gt;&gt;sensitivityTestBtn.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="startQ2Btn.Size" type="System.Drawing.Size, System.Drawing">
<value>60, 45</value>
</data>
<data name="resetResultsBtn.Text" xml:space="preserve">
<value>Reset</value>
</data>
@ -207,8 +207,8 @@
<data name="&gt;&gt;sensitivityTestBtn.Name" xml:space="preserve">
<value>sensitivityTestBtn</value>
</data>
<data name="purgeEndBtn.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
<data name="nextButton.Size" type="System.Drawing.Size, System.Drawing">
<value>91, 25</value>
</data>
<data name="$this.Font" type="System.Drawing.Font, System.Drawing">
<value>Verdana, 11.25pt</value>
@ -216,6 +216,12 @@
<data name="testGroupBox.TabIndex" type="System.Int32, mscorlib">
<value>17</value>
</data>
<data name="purgeGroupBox.Location" type="System.Drawing.Point, System.Drawing">
<value>7, 253</value>
</data>
<data name="emptyGroupBox.Font" type="System.Drawing.Font, System.Drawing">
<value>Verdana, 12pt</value>
</data>
<data name="nextButton.Font" type="System.Drawing.Font, System.Drawing">
<value>Lucida Console, 8.25pt</value>
</data>
@ -237,8 +243,11 @@
<data name="&gt;&gt;otherGroupBox.Type" xml:space="preserve">
<value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="emptyTank1Btn.Text" xml:space="preserve">
<value>Tank 1</value>
<data name="&gt;&gt;purgeGroupBox.Type" xml:space="preserve">
<value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;stopBtn.Parent" xml:space="preserve">
<value>testGroupBox</value>
</data>
<data name="startQ1Btn.Size" type="System.Drawing.Size, System.Drawing">
<value>60, 45</value>
@ -249,30 +258,24 @@
<data name="&gt;&gt;groupBox1.Name" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="&gt;&gt;stopBtn.Parent" xml:space="preserve">
<value>testGroupBox</value>
<data name="&gt;&gt;purgeBeginBtn.Name" xml:space="preserve">
<value>purgeBeginBtn</value>
</data>
<data name="emptyGroupBox.Location" type="System.Drawing.Point, System.Drawing">
<value>7, 397</value>
</data>
<data name="&gt;&gt;startCycleBtn.Name" xml:space="preserve">
<value>startCycleBtn</value>
</data>
<data name="breakBtn.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
<data name="&gt;&gt;startQ3Btn.Name" xml:space="preserve">
<value>startQ3Btn</value>
</data>
<data name="&gt;&gt;emptyGroupBox.Name" xml:space="preserve">
<value>emptyGroupBox</value>
</data>
<data name="&gt;&gt;startQ3Btn.Name" xml:space="preserve">
<value>startQ3Btn</value>
<data name="breakBtn.Font" type="System.Drawing.Font, System.Drawing">
<value>Verdana, 12pt</value>
</data>
<data name="&gt;&gt;testComboBox.Parent" xml:space="preserve">
<value>testGroupBox</value>
</data>
<data name="&gt;&gt;acceptResultsBtn.Parent" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="&gt;&gt;startTestBtn.ZOrder" xml:space="preserve">
<value>4</value>
</data>
@ -285,9 +288,6 @@
<data name="&gt;&gt;breakBtn.Name" xml:space="preserve">
<value>breakBtn</value>
</data>
<data name="&gt;&gt;emptyGroupBox.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;startQ1Btn.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
@ -315,11 +315,14 @@
<data name="startQ3Btn.Text" xml:space="preserve">
<value>Q3</value>
</data>
<data name="stopBtn.Size" type="System.Drawing.Size, System.Drawing">
<value>92, 70</value>
</data>
<data name="groupBox1.TabIndex" type="System.Int32, mscorlib">
<value>22</value>
</data>
<data name="emptyTank2Btn.Text" xml:space="preserve">
<value>Tank 2</value>
<data name="resetResultsBtn.Location" type="System.Drawing.Point, System.Drawing">
<value>8, 20</value>
</data>
<data name="otherGroupBox.Size" type="System.Drawing.Size, System.Drawing">
<value>207, 128</value>
@ -330,6 +333,9 @@
<data name="&gt;&gt;nextButton.Parent" xml:space="preserve">
<value>otherGroupBox</value>
</data>
<data name="&gt;&gt;cameraTestBtn.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="startQ1Btn.Text" xml:space="preserve">
<value>Q1</value>
</data>
@ -351,8 +357,11 @@
<data name="&gt;&gt;nextButton.Name" xml:space="preserve">
<value>nextButton</value>
</data>
<data name="&gt;&gt;emptyTank2Btn.ZOrder" xml:space="preserve">
<value>1</value>
<data name="sensitivityTestBtn.Font" type="System.Drawing.Font, System.Drawing">
<value>Verdana, 12pt</value>
</data>
<data name="emptyTank1Btn.Text" xml:space="preserve">
<value>Tank 1</value>
</data>
<data name="purgeBeginBtn.Size" type="System.Drawing.Size, System.Drawing">
<value>92, 35</value>
@ -366,9 +375,6 @@
<data name="startCycleBtn.Size" type="System.Drawing.Size, System.Drawing">
<value>92, 70</value>
</data>
<data name="sensitivityTestBtn.Text" xml:space="preserve">
<value>Sensi- tivity</value>
</data>
<data name="otherGroupBox.TabIndex" type="System.Int32, mscorlib">
<value>20</value>
</data>
@ -393,8 +399,8 @@
<data name="sensitivityTestBtn.TabIndex" type="System.Int32, mscorlib">
<value>14</value>
</data>
<data name="&gt;&gt;startQ2Btn.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<data name="stopBtn.TabIndex" type="System.Int32, mscorlib">
<value>5</value>
</data>
<data name="purgeEndBtn.Size" type="System.Drawing.Size, System.Drawing">
<value>92, 35</value>
@ -402,17 +408,17 @@
<data name="&gt;&gt;purgeBeginBtn.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="testComboBox.TabIndex" type="System.Int32, mscorlib">
<value>6</value>
</data>
<data name="&gt;&gt;groupBox1.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="&gt;&gt;emptyTank2Btn.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="resetResultsBtn.Size" type="System.Drawing.Size, System.Drawing">
<value>92, 42</value>
</data>
<data name="breakBtn.Font" type="System.Drawing.Font, System.Drawing">
<value>Verdana, 12pt</value>
<data name="&gt;&gt;acceptResultsBtn.Name" xml:space="preserve">
<value>acceptResultsBtn</value>
</data>
<data name="startCycleBtn.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
@ -438,11 +444,8 @@
<data name="&gt;&gt;breakBtn.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="acceptResultsBtn.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="testGroupBox.Location" type="System.Drawing.Point, System.Drawing">
<value>7, 3</value>
<data name="&gt;&gt;startQ2Btn.Parent" xml:space="preserve">
<value>testGroupBox</value>
</data>
<data name="&gt;&gt;startQ1Btn.Name" xml:space="preserve">
<value>startQ1Btn</value>
@ -450,12 +453,18 @@
<data name="&gt;&gt;acceptResultsBtn.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="resetResultsBtn.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="emptyTank1Btn.TabIndex" type="System.Int32, mscorlib">
<value>13</value>
</data>
<data name="acceptResultsBtn.Font" type="System.Drawing.Font, System.Drawing">
<value>Verdana, 15.75pt</value>
</data>
<data name="startQ1Btn.TabIndex" type="System.Int32, mscorlib">
<value>7</value>
</data>
<data name="&gt;&gt;purgeGroupBox.ZOrder" xml:space="preserve">
<value>3</value>
</data>
@ -474,18 +483,6 @@
<data name="&gt;&gt;resetResultsBtn.Name" xml:space="preserve">
<value>resetResultsBtn</value>
</data>
<data name="resetResultsBtn.Font" type="System.Drawing.Font, System.Drawing">
<value>Verdana, 15.75pt</value>
</data>
<data name="nextButton.Text" xml:space="preserve">
<value>Next</value>
</data>
<data name="&gt;&gt;stopBtn.Name" xml:space="preserve">
<value>stopBtn</value>
</data>
<data name="acceptResultsBtn.Size" type="System.Drawing.Size, System.Drawing">
<value>92, 42</value>
</data>
<data name="testGroupBox.Text" xml:space="preserve">
<value>Test</value>
</data>
@ -513,8 +510,8 @@
<data name="nextButton.Visible" type="System.Boolean, mscorlib">
<value>False</value>
</data>
<data name="resetResultsBtn.TabIndex" type="System.Int32, mscorlib">
<value>11</value>
<data name="startQ3Btn.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="startQ3Btn.TabIndex" type="System.Int32, mscorlib">
<value>9</value>
@ -531,24 +528,27 @@
<data name="startTestBtn.TabIndex" type="System.Int32, mscorlib">
<value>4</value>
</data>
<data name="purgeEndBtn.TabIndex" type="System.Int32, mscorlib">
<value>9</value>
<data name="startQ2Btn.Text" xml:space="preserve">
<value>Q2</value>
</data>
<data name="$this.Size" type="System.Drawing.Size, System.Drawing">
<value>224, 736</value>
</data>
<data name="&gt;&gt;purgeBeginBtn.Name" xml:space="preserve">
<value>purgeBeginBtn</value>
<data name="&gt;&gt;startCycleBtn.Name" xml:space="preserve">
<value>startCycleBtn</value>
</data>
<data name="emptyGroupBox.Font" type="System.Drawing.Font, System.Drawing">
<value>Verdana, 12pt</value>
<data name="purgeBeginBtn.Location" type="System.Drawing.Point, System.Drawing">
<value>8, 23</value>
</data>
<data name="&gt;&gt;emptyTank2Btn.Name" xml:space="preserve">
<value>emptyTank2Btn</value>
</data>
<data name="emptyGroupBox.Size" type="System.Drawing.Size, System.Drawing">
<value>207, 68</value>
</data>
<data name="&gt;&gt;purgeEndBtn.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;nextButton.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="&gt;&gt;emptyTank1Btn.Parent" xml:space="preserve">
<value>emptyGroupBox</value>
</data>
@ -558,8 +558,8 @@
<data name="testComboBox.Location" type="System.Drawing.Point, System.Drawing">
<value>8, 25</value>
</data>
<data name="&gt;&gt;startQ2Btn.Parent" xml:space="preserve">
<value>testGroupBox</value>
<data name="&gt;&gt;startCycleBtn.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>System.Windows.Forms.UserControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
@ -567,8 +567,8 @@
<data name="startQ3Btn.Location" type="System.Drawing.Point, System.Drawing">
<value>138, 117</value>
</data>
<data name="resetResultsBtn.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
<data name="&gt;&gt;emptyGroupBox.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="testGroupBox.Font" type="System.Drawing.Font, System.Drawing">
<value>Verdana, 12pt</value>
@ -579,8 +579,8 @@
<data name="&gt;&gt;sensitivityTestBtn.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="startQ1Btn.TabIndex" type="System.Int32, mscorlib">
<value>7</value>
<data name="startQ1Btn.Location" type="System.Drawing.Point, System.Drawing">
<value>8, 117</value>
</data>
<data name="startQ2Btn.Font" type="System.Drawing.Font, System.Drawing">
<value>Verdana, 15.75pt</value>
@ -591,14 +591,11 @@
<data name="&gt;&gt;breakBtn.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="groupBox1.Size" type="System.Drawing.Size, System.Drawing">
<value>207, 68</value>
</data>
<data name="stopBtn.Text" xml:space="preserve">
<value>Stop</value>
</data>
<data name="&gt;&gt;acceptResultsBtn.Name" xml:space="preserve">
<value>acceptResultsBtn</value>
<data name="emptyTank2Btn.Text" xml:space="preserve">
<value>Tank 2</value>
</data>
<data name="sensitivityTestBtn.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
@ -612,8 +609,11 @@
<data name="stopBtn.Location" type="System.Drawing.Point, System.Drawing">
<value>106, 168</value>
</data>
<data name="testComboBox.Size" type="System.Drawing.Size, System.Drawing">
<value>190, 33</value>
<data name="startTestBtn.Size" type="System.Drawing.Size, System.Drawing">
<value>190, 45</value>
</data>
<data name="&gt;&gt;acceptResultsBtn.Parent" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="emptyTank2Btn.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
@ -645,11 +645,11 @@
<data name="&gt;&gt;startCycleBtn.ZOrder" xml:space="preserve">
<value>5</value>
</data>
<data name="startTestBtn.Size" type="System.Drawing.Size, System.Drawing">
<value>190, 45</value>
<data name="acceptResultsBtn.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="emptyGroupBox.Size" type="System.Drawing.Size, System.Drawing">
<value>207, 68</value>
<data name="&gt;&gt;startQ3Btn.Parent" xml:space="preserve">
<value>testGroupBox</value>
</data>
<data name="&gt;&gt;testGroupBox.Parent" xml:space="preserve">
<value>$this</value>
@ -666,8 +666,8 @@
<data name="&gt;&gt;nextButton.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;cameraTestBtn.ZOrder" xml:space="preserve">
<value>2</value>
<data name="&gt;&gt;stopBtn.Name" xml:space="preserve">
<value>stopBtn</value>
</data>
<data name="purgeBeginBtn.Font" type="System.Drawing.Font, System.Drawing">
<value>Verdana, 15.75pt</value>
@ -675,14 +675,14 @@
<data name="&gt;&gt;emptyTank2Btn.Parent" xml:space="preserve">
<value>emptyGroupBox</value>
</data>
<data name="&gt;&gt;emptyTank2Btn.Name" xml:space="preserve">
<value>emptyTank2Btn</value>
<data name="purgeEndBtn.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="otherGroupBox.Location" type="System.Drawing.Point, System.Drawing">
<value>7, 469</value>
</data>
<data name="&gt;&gt;startTestBtn.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<data name="groupBox1.Text" xml:space="preserve">
<value>Results</value>
</data>
<data name="emptyTank1Btn.Location" type="System.Drawing.Point, System.Drawing">
<value>8, 26</value>
@ -693,17 +693,17 @@
<data name="&gt;&gt;testGroupBox.Type" xml:space="preserve">
<value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="nextButton.Size" type="System.Drawing.Size, System.Drawing">
<value>91, 25</value>
<data name="groupBox1.Size" type="System.Drawing.Size, System.Drawing">
<value>207, 68</value>
</data>
<data name="sensitivityTestBtn.Size" type="System.Drawing.Size, System.Drawing">
<value>92, 45</value>
</data>
<data name="&gt;&gt;purgeGroupBox.Type" xml:space="preserve">
<value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<data name="acceptResultsBtn.Text" xml:space="preserve">
<value>Accept</value>
</data>
<data name="purgeGroupBox.Location" type="System.Drawing.Point, System.Drawing">
<value>7, 253</value>
<data name="testGroupBox.Location" type="System.Drawing.Point, System.Drawing">
<value>7, 3</value>
</data>
<data name="&gt;&gt;resetResultsBtn.ZOrder" xml:space="preserve">
<value>1</value>
@ -720,11 +720,11 @@
<data name="breakBtn.Location" type="System.Drawing.Point, System.Drawing">
<value>8, 26</value>
</data>
<data name="resetResultsBtn.Location" type="System.Drawing.Point, System.Drawing">
<value>8, 20</value>
<data name="resetResultsBtn.TabIndex" type="System.Int32, mscorlib">
<value>11</value>
</data>
<data name="startQ2Btn.Text" xml:space="preserve">
<value>Q2</value>
<data name="sensitivityTestBtn.Text" xml:space="preserve">
<value>Sensi- tivity</value>
</data>
<data name="breakBtn.Size" type="System.Drawing.Size, System.Drawing">
<value>92, 45</value>
@ -741,32 +741,32 @@
<data name="nextButton.Enabled" type="System.Boolean, mscorlib">
<value>False</value>
</data>
<data name="startQ3Btn.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
<data name="&gt;&gt;startQ2Btn.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="startQ3Btn.Font" type="System.Drawing.Font, System.Drawing">
<value>Verdana, 15.75pt</value>
</data>
<data name="&gt;&gt;startQ3Btn.Parent" xml:space="preserve">
<value>testGroupBox</value>
<data name="breakBtn.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="cameraTestBtn.Location" type="System.Drawing.Point, System.Drawing">
<value>106, 26</value>
</data>
<data name="sensitivityTestBtn.Font" type="System.Drawing.Font, System.Drawing">
<value>Verdana, 12pt</value>
<data name="nextButton.Text" xml:space="preserve">
<value>Next</value>
</data>
<data name="&gt;&gt;emptyTank1Btn.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="groupBox1.Text" xml:space="preserve">
<value>Results</value>
<data name="purgeEndBtn.TabIndex" type="System.Int32, mscorlib">
<value>9</value>
</data>
<data name="stopBtn.Size" type="System.Drawing.Size, System.Drawing">
<value>92, 70</value>
<data name="resetResultsBtn.Font" type="System.Drawing.Font, System.Drawing">
<value>Verdana, 15.75pt</value>
</data>
<data name="purgeBeginBtn.Location" type="System.Drawing.Point, System.Drawing">
<value>8, 23</value>
<data name="&gt;&gt;nextButton.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="emptyTank2Btn.TabIndex" type="System.Int32, mscorlib">
<value>15</value>
@ -774,11 +774,11 @@
<data name="testGroupBox.Size" type="System.Drawing.Size, System.Drawing">
<value>207, 246</value>
</data>
<data name="acceptResultsBtn.Text" xml:space="preserve">
<value>Accept</value>
<data name="testComboBox.TabIndex" type="System.Int32, mscorlib">
<value>6</value>
</data>
<data name="startQ2Btn.Size" type="System.Drawing.Size, System.Drawing">
<value>60, 45</value>
<data name="&gt;&gt;groupBox1.Type" xml:space="preserve">
<value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>

View File

@ -117,19 +117,58 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="feedingTabPage.Text" xml:space="preserve">
<value> Speisung </value>
<data name="stopBtn.Text" xml:space="preserve">
<value>停止</value>
</data>
<data name="benchTabPage.Text" xml:space="preserve">
<value> Bank </value>
<data name="startTestBtn.Text" xml:space="preserve">
<value>开始测试</value>
</data>
<data name="outputTabPage.Text" xml:space="preserve">
<value> Ausgabe </value>
<data name="startCycleBtn.Text" xml:space="preserve">
<value>启动循环</value>
</data>
<data name="metersTabPage.Text" xml:space="preserve">
<value> Messsensoren </value>
<data name="purgeBeginBtn.Text" xml:space="preserve">
<value>开始</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>Pfade</value>
<data name="purgeEndBtn.Text" xml:space="preserve">
<value>结束</value>
</data>
<data name="breakBtn.Text" xml:space="preserve">
<value>断开</value>
</data>
<data name="resetResultsBtn.Text" xml:space="preserve">
<value>重置</value>
</data>
<data name="cameraTestBtn.Text" xml:space="preserve">
<value>相机测试</value>
</data>
<data name="emptyTank1Btn.Text" xml:space="preserve">
<value>水箱 1</value>
</data>
<data name="sensitivityTestBtn.Text" xml:space="preserve">
<value>灵敏度</value>
</data>
<data name="emptyTank2Btn.Text" xml:space="preserve">
<value>水箱 2</value>
</data>
<data name="testGroupBox.Text" xml:space="preserve">
<value>测试</value>
</data>
<data name="purgeGroupBox.Text" xml:space="preserve">
<value>清除</value>
</data>
<data name="emptyGroupBox.Text" xml:space="preserve">
<value>清空</value>
</data>
<data name="nextButton.Text" xml:space="preserve">
<value>下一个</value>
</data>
<data name="otherGroupBox.Text" xml:space="preserve">
<value>辅助的</value>
</data>
<data name="acceptResultsBtn.Text" xml:space="preserve">
<value>接受</value>
</data>
<data name="groupBox1.Text" xml:space="preserve">
<value>结果</value>
</data>
</root>

View File

@ -5,6 +5,7 @@ using System;
using System.Drawing;
using System.Windows.Forms;
using TBF.BenchControl.Cameras.IdcCamera;
using TBF.Resources;
namespace TBF.UiControls
{
@ -41,6 +42,11 @@ namespace TBF.UiControls
public CameraPictureCtrl()
{
InitializeComponent();
groupBox.Text = Strings.Camera;
grabButton.Text = Strings.Grab;
liveButton.Text = Strings.Live;
focusButton.Text = Strings.Focus;
}
private void grabButton_Click(object sender, EventArgs e)