|
|
|
|
namespace Mesnac.Gui.Edit.Dialog
|
|
|
|
|
{
|
|
|
|
|
partial class FrmVar
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required designer variable.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Clean up any resources being used.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
{
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
{
|
|
|
|
|
components.Dispose();
|
|
|
|
|
}
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required method for Designer support - do not modify
|
|
|
|
|
/// the contents of this method with the code editor.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
|
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmVar));
|
|
|
|
|
this.tabPageAll = new System.Windows.Forms.TabPage();
|
|
|
|
|
this.listViewVar = new System.Windows.Forms.ListView();
|
|
|
|
|
this.columnName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
|
|
|
this.columnGroup = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
|
|
|
this.columnDevice = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
|
|
|
this.columnComment = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
|
|
|
this.treeView1 = new System.Windows.Forms.TreeView();
|
|
|
|
|
this.tabControlRight = new System.Windows.Forms.TabControl();
|
|
|
|
|
this.tabPageFilter = new System.Windows.Forms.TabPage();
|
|
|
|
|
this.txtFilter = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.errorProvider1 = new System.Windows.Forms.ErrorProvider(this.components);
|
|
|
|
|
this.button4 = new System.Windows.Forms.Button();
|
|
|
|
|
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
|
|
|
|
|
this.button3 = new System.Windows.Forms.Button();
|
|
|
|
|
this.button2 = new System.Windows.Forms.Button();
|
|
|
|
|
this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
|
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
|
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
|
|
|
this.listViewFunction = new System.Windows.Forms.ListView();
|
|
|
|
|
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
|
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
|
|
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
|
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
|
|
|
this.tabPageAll.SuspendLayout();
|
|
|
|
|
this.tabControlRight.SuspendLayout();
|
|
|
|
|
this.tabPageFilter.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// tabPageAll
|
|
|
|
|
//
|
|
|
|
|
this.tabPageAll.Controls.Add(this.listViewVar);
|
|
|
|
|
this.tabPageAll.Location = new System.Drawing.Point(4, 22);
|
|
|
|
|
this.tabPageAll.Name = "tabPageAll";
|
|
|
|
|
this.tabPageAll.Padding = new System.Windows.Forms.Padding(3);
|
|
|
|
|
this.tabPageAll.Size = new System.Drawing.Size(479, 450);
|
|
|
|
|
this.tabPageAll.TabIndex = 0;
|
|
|
|
|
this.tabPageAll.Text = "所有变量";
|
|
|
|
|
this.tabPageAll.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// listViewVar
|
|
|
|
|
//
|
|
|
|
|
this.listViewVar.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
|
|
|
|
this.columnName,
|
|
|
|
|
this.columnGroup,
|
|
|
|
|
this.columnDevice,
|
|
|
|
|
this.columnComment});
|
|
|
|
|
this.listViewVar.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.listViewVar.FullRowSelect = true;
|
|
|
|
|
this.listViewVar.GridLines = true;
|
|
|
|
|
this.listViewVar.Location = new System.Drawing.Point(3, 3);
|
|
|
|
|
this.listViewVar.MultiSelect = false;
|
|
|
|
|
this.listViewVar.Name = "listViewVar";
|
|
|
|
|
this.listViewVar.Size = new System.Drawing.Size(473, 444);
|
|
|
|
|
this.listViewVar.TabIndex = 19;
|
|
|
|
|
this.listViewVar.UseCompatibleStateImageBehavior = false;
|
|
|
|
|
this.listViewVar.View = System.Windows.Forms.View.Details;
|
|
|
|
|
this.listViewVar.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.listViewVar_MouseDoubleClick);
|
|
|
|
|
//
|
|
|
|
|
// columnName
|
|
|
|
|
//
|
|
|
|
|
this.columnName.Text = "变量名";
|
|
|
|
|
this.columnName.Width = 80;
|
|
|
|
|
//
|
|
|
|
|
// columnGroup
|
|
|
|
|
//
|
|
|
|
|
this.columnGroup.Text = "所属组";
|
|
|
|
|
this.columnGroup.Width = 80;
|
|
|
|
|
//
|
|
|
|
|
// columnDevice
|
|
|
|
|
//
|
|
|
|
|
this.columnDevice.Text = "所属设备";
|
|
|
|
|
this.columnDevice.Width = 111;
|
|
|
|
|
//
|
|
|
|
|
// columnComment
|
|
|
|
|
//
|
|
|
|
|
this.columnComment.Text = "描述";
|
|
|
|
|
this.columnComment.Width = 200;
|
|
|
|
|
//
|
|
|
|
|
// treeView1
|
|
|
|
|
//
|
|
|
|
|
this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.treeView1.Location = new System.Drawing.Point(3, 24);
|
|
|
|
|
this.treeView1.Name = "treeView1";
|
|
|
|
|
this.treeView1.ShowNodeToolTips = true;
|
|
|
|
|
this.treeView1.Size = new System.Drawing.Size(473, 423);
|
|
|
|
|
this.treeView1.TabIndex = 2;
|
|
|
|
|
this.treeView1.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView1_NodeMouseDoubleClick);
|
|
|
|
|
//
|
|
|
|
|
// tabControlRight
|
|
|
|
|
//
|
|
|
|
|
this.tabControlRight.Controls.Add(this.tabPageAll);
|
|
|
|
|
this.tabControlRight.Controls.Add(this.tabPageFilter);
|
|
|
|
|
this.tabControlRight.Dock = System.Windows.Forms.DockStyle.Right;
|
|
|
|
|
this.tabControlRight.Location = new System.Drawing.Point(282, 0);
|
|
|
|
|
this.tabControlRight.Name = "tabControlRight";
|
|
|
|
|
this.tabControlRight.SelectedIndex = 0;
|
|
|
|
|
this.tabControlRight.Size = new System.Drawing.Size(487, 476);
|
|
|
|
|
this.tabControlRight.TabIndex = 33;
|
|
|
|
|
//
|
|
|
|
|
// tabPageFilter
|
|
|
|
|
//
|
|
|
|
|
this.tabPageFilter.Controls.Add(this.treeView1);
|
|
|
|
|
this.tabPageFilter.Controls.Add(this.txtFilter);
|
|
|
|
|
this.tabPageFilter.Location = new System.Drawing.Point(4, 22);
|
|
|
|
|
this.tabPageFilter.Name = "tabPageFilter";
|
|
|
|
|
this.tabPageFilter.Padding = new System.Windows.Forms.Padding(3);
|
|
|
|
|
this.tabPageFilter.Size = new System.Drawing.Size(479, 450);
|
|
|
|
|
this.tabPageFilter.TabIndex = 1;
|
|
|
|
|
this.tabPageFilter.Text = "分类变量";
|
|
|
|
|
this.tabPageFilter.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// txtFilter
|
|
|
|
|
//
|
|
|
|
|
this.txtFilter.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
|
|
this.txtFilter.Location = new System.Drawing.Point(3, 3);
|
|
|
|
|
this.txtFilter.Name = "txtFilter";
|
|
|
|
|
this.txtFilter.Size = new System.Drawing.Size(473, 21);
|
|
|
|
|
this.txtFilter.TabIndex = 1;
|
|
|
|
|
this.txtFilter.TextChanged += new System.EventHandler(this.txtFilter_TextChanged);
|
|
|
|
|
//
|
|
|
|
|
// errorProvider1
|
|
|
|
|
//
|
|
|
|
|
this.errorProvider1.ContainerControl = this;
|
|
|
|
|
//
|
|
|
|
|
// button4
|
|
|
|
|
//
|
|
|
|
|
this.button4.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
|
|
|
this.button4.Location = new System.Drawing.Point(178, 441);
|
|
|
|
|
this.button4.Name = "button4";
|
|
|
|
|
this.button4.Size = new System.Drawing.Size(75, 23);
|
|
|
|
|
this.button4.TabIndex = 32;
|
|
|
|
|
this.button4.Text = "取消";
|
|
|
|
|
this.button4.UseVisualStyleBackColor = true;
|
|
|
|
|
this.button4.Click += new System.EventHandler(this.button4_Click);
|
|
|
|
|
//
|
|
|
|
|
// imageList1
|
|
|
|
|
//
|
|
|
|
|
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
|
|
|
|
|
this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
|
|
|
|
|
this.imageList1.Images.SetKeyName(0, "FormulaEvaluator.bmp");
|
|
|
|
|
this.imageList1.Images.SetKeyName(1, "fun.ico");
|
|
|
|
|
this.imageList1.Images.SetKeyName(2, "tray_on.ico");
|
|
|
|
|
//
|
|
|
|
|
// button3
|
|
|
|
|
//
|
|
|
|
|
this.button3.Location = new System.Drawing.Point(96, 441);
|
|
|
|
|
this.button3.Name = "button3";
|
|
|
|
|
this.button3.Size = new System.Drawing.Size(75, 23);
|
|
|
|
|
this.button3.TabIndex = 31;
|
|
|
|
|
this.button3.Text = "确定";
|
|
|
|
|
this.button3.UseVisualStyleBackColor = true;
|
|
|
|
|
this.button3.Click += new System.EventHandler(this.button3_Click);
|
|
|
|
|
//
|
|
|
|
|
// button2
|
|
|
|
|
//
|
|
|
|
|
this.button2.Location = new System.Drawing.Point(14, 441);
|
|
|
|
|
this.button2.Name = "button2";
|
|
|
|
|
this.button2.Size = new System.Drawing.Size(75, 23);
|
|
|
|
|
this.button2.TabIndex = 30;
|
|
|
|
|
this.button2.Text = "检查";
|
|
|
|
|
this.button2.UseVisualStyleBackColor = true;
|
|
|
|
|
this.button2.Click += new System.EventHandler(this.button2_Click);
|
|
|
|
|
//
|
|
|
|
|
// columnHeader2
|
|
|
|
|
//
|
|
|
|
|
this.columnHeader2.Text = "描述";
|
|
|
|
|
this.columnHeader2.Width = 174;
|
|
|
|
|
//
|
|
|
|
|
// button1
|
|
|
|
|
//
|
|
|
|
|
this.button1.Location = new System.Drawing.Point(141, 58);
|
|
|
|
|
this.button1.Name = "button1";
|
|
|
|
|
this.button1.Size = new System.Drawing.Size(75, 23);
|
|
|
|
|
this.button1.TabIndex = 27;
|
|
|
|
|
this.button1.Text = "浏览";
|
|
|
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
|
|
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
|
|
|
//
|
|
|
|
|
// label3
|
|
|
|
|
//
|
|
|
|
|
this.label3.AutoSize = true;
|
|
|
|
|
this.label3.BackColor = System.Drawing.Color.Red;
|
|
|
|
|
this.label3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
|
|
|
|
this.label3.ForeColor = System.Drawing.Color.Black;
|
|
|
|
|
this.label3.Location = new System.Drawing.Point(78, 62);
|
|
|
|
|
this.label3.Name = "label3";
|
|
|
|
|
this.label3.Size = new System.Drawing.Size(37, 14);
|
|
|
|
|
this.label3.TabIndex = 26;
|
|
|
|
|
this.label3.Text = "Color";
|
|
|
|
|
//
|
|
|
|
|
// listViewFunction
|
|
|
|
|
//
|
|
|
|
|
this.listViewFunction.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
|
|
|
|
this.columnHeader1,
|
|
|
|
|
this.columnHeader2});
|
|
|
|
|
this.listViewFunction.FullRowSelect = true;
|
|
|
|
|
this.listViewFunction.GridLines = true;
|
|
|
|
|
this.listViewFunction.Location = new System.Drawing.Point(6, 102);
|
|
|
|
|
this.listViewFunction.MultiSelect = false;
|
|
|
|
|
this.listViewFunction.Name = "listViewFunction";
|
|
|
|
|
this.listViewFunction.Size = new System.Drawing.Size(266, 333);
|
|
|
|
|
this.listViewFunction.SmallImageList = this.imageList1;
|
|
|
|
|
this.listViewFunction.TabIndex = 29;
|
|
|
|
|
this.listViewFunction.UseCompatibleStateImageBehavior = false;
|
|
|
|
|
this.listViewFunction.View = System.Windows.Forms.View.Details;
|
|
|
|
|
//
|
|
|
|
|
// columnHeader1
|
|
|
|
|
//
|
|
|
|
|
this.columnHeader1.Text = "函数名";
|
|
|
|
|
this.columnHeader1.Width = 84;
|
|
|
|
|
//
|
|
|
|
|
// label4
|
|
|
|
|
//
|
|
|
|
|
this.label4.AutoSize = true;
|
|
|
|
|
this.label4.Location = new System.Drawing.Point(7, 84);
|
|
|
|
|
this.label4.Name = "label4";
|
|
|
|
|
this.label4.Size = new System.Drawing.Size(65, 12);
|
|
|
|
|
this.label4.TabIndex = 28;
|
|
|
|
|
this.label4.Text = "函数参考:";
|
|
|
|
|
//
|
|
|
|
|
// textBox1
|
|
|
|
|
//
|
|
|
|
|
this.textBox1.Location = new System.Drawing.Point(5, 33);
|
|
|
|
|
this.textBox1.Name = "textBox1";
|
|
|
|
|
this.textBox1.Size = new System.Drawing.Size(256, 21);
|
|
|
|
|
this.textBox1.TabIndex = 24;
|
|
|
|
|
this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
|
|
|
|
|
//
|
|
|
|
|
// label2
|
|
|
|
|
//
|
|
|
|
|
this.label2.AutoSize = true;
|
|
|
|
|
this.label2.Location = new System.Drawing.Point(6, 63);
|
|
|
|
|
this.label2.Name = "label2";
|
|
|
|
|
this.label2.Size = new System.Drawing.Size(65, 12);
|
|
|
|
|
this.label2.TabIndex = 25;
|
|
|
|
|
this.label2.Text = "填充颜色:";
|
|
|
|
|
//
|
|
|
|
|
// label1
|
|
|
|
|
//
|
|
|
|
|
this.label1.AutoSize = true;
|
|
|
|
|
this.label1.Location = new System.Drawing.Point(4, 15);
|
|
|
|
|
this.label1.Name = "label1";
|
|
|
|
|
this.label1.Size = new System.Drawing.Size(101, 12);
|
|
|
|
|
this.label1.TabIndex = 23;
|
|
|
|
|
this.label1.Text = "变量或者表达式:";
|
|
|
|
|
//
|
|
|
|
|
// FrmVar
|
|
|
|
|
//
|
|
|
|
|
this.AcceptButton = this.button3;
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
this.CancelButton = this.button4;
|
|
|
|
|
this.ClientSize = new System.Drawing.Size(769, 476);
|
|
|
|
|
this.Controls.Add(this.tabControlRight);
|
|
|
|
|
this.Controls.Add(this.button4);
|
|
|
|
|
this.Controls.Add(this.button3);
|
|
|
|
|
this.Controls.Add(this.button2);
|
|
|
|
|
this.Controls.Add(this.button1);
|
|
|
|
|
this.Controls.Add(this.label3);
|
|
|
|
|
this.Controls.Add(this.listViewFunction);
|
|
|
|
|
this.Controls.Add(this.label4);
|
|
|
|
|
this.Controls.Add(this.textBox1);
|
|
|
|
|
this.Controls.Add(this.label2);
|
|
|
|
|
this.Controls.Add(this.label1);
|
|
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
|
|
|
this.MaximizeBox = false;
|
|
|
|
|
this.MinimizeBox = false;
|
|
|
|
|
this.Name = "FrmVar";
|
|
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
|
|
|
this.Text = "设备变量选择器";
|
|
|
|
|
this.Load += new System.EventHandler(this.FrmPlcVar_Load);
|
|
|
|
|
this.tabPageAll.ResumeLayout(false);
|
|
|
|
|
this.tabControlRight.ResumeLayout(false);
|
|
|
|
|
this.tabPageFilter.ResumeLayout(false);
|
|
|
|
|
this.tabPageFilter.PerformLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
this.PerformLayout();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private System.Windows.Forms.TabPage tabPageAll;
|
|
|
|
|
private System.Windows.Forms.ListView listViewVar;
|
|
|
|
|
private System.Windows.Forms.ColumnHeader columnName;
|
|
|
|
|
private System.Windows.Forms.ColumnHeader columnGroup;
|
|
|
|
|
private System.Windows.Forms.ColumnHeader columnDevice;
|
|
|
|
|
private System.Windows.Forms.ColumnHeader columnComment;
|
|
|
|
|
private System.Windows.Forms.TreeView treeView1;
|
|
|
|
|
private System.Windows.Forms.TabControl tabControlRight;
|
|
|
|
|
private System.Windows.Forms.TabPage tabPageFilter;
|
|
|
|
|
private System.Windows.Forms.TextBox txtFilter;
|
|
|
|
|
private System.Windows.Forms.ErrorProvider errorProvider1;
|
|
|
|
|
private System.Windows.Forms.Button button4;
|
|
|
|
|
private System.Windows.Forms.Button button3;
|
|
|
|
|
private System.Windows.Forms.Button button2;
|
|
|
|
|
private System.Windows.Forms.Button button1;
|
|
|
|
|
private System.Windows.Forms.Label label3;
|
|
|
|
|
private System.Windows.Forms.ListView listViewFunction;
|
|
|
|
|
private System.Windows.Forms.ColumnHeader columnHeader1;
|
|
|
|
|
private System.Windows.Forms.ColumnHeader columnHeader2;
|
|
|
|
|
private System.Windows.Forms.ImageList imageList1;
|
|
|
|
|
private System.Windows.Forms.Label label4;
|
|
|
|
|
private System.Windows.Forms.TextBox textBox1;
|
|
|
|
|
private System.Windows.Forms.Label label2;
|
|
|
|
|
private System.Windows.Forms.Label label1;
|
|
|
|
|
}
|
|
|
|
|
}
|