Example #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.ButtonsPN = new System.Windows.Forms.Panel();
     this.CancelBTN = new System.Windows.Forms.Button();
     this.OkBTN     = new System.Windows.Forms.Button();
     this.ValueCTRL = new CAS.Lib.OPCClientControlsLib.ValueCtrl();
     this.ButtonsPN.SuspendLayout();
     this.SuspendLayout();
     //
     // ButtonsPN
     //
     this.ButtonsPN.Controls.Add(this.CancelBTN);
     this.ButtonsPN.Controls.Add(this.OkBTN);
     this.ButtonsPN.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.ButtonsPN.Location = new System.Drawing.Point(0, 26);
     this.ButtonsPN.Name     = "ButtonsPN";
     this.ButtonsPN.Size     = new System.Drawing.Size(296, 36);
     this.ButtonsPN.TabIndex = 0;
     //
     // CancelBTN
     //
     this.CancelBTN.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.CancelBTN.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.CancelBTN.Location     = new System.Drawing.Point(216, 8);
     this.CancelBTN.Name         = "CancelBTN";
     this.CancelBTN.TabIndex     = 0;
     this.CancelBTN.Text         = "Cancel";
     //
     // OkBTN
     //
     this.OkBTN.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.OkBTN.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.OkBTN.Location     = new System.Drawing.Point(4, 8);
     this.OkBTN.Name         = "OkBTN";
     this.OkBTN.TabIndex     = 1;
     this.OkBTN.Text         = "OK";
     //
     // ValueCTRL
     //
     this.ValueCTRL.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.ValueCTRL.DockPadding.Left  = 4;
     this.ValueCTRL.DockPadding.Right = 4;
     this.ValueCTRL.DockPadding.Top   = 4;
     this.ValueCTRL.ItemID            = null;
     this.ValueCTRL.Location          = new System.Drawing.Point(0, 0);
     this.ValueCTRL.Name              = "ValueCTRL";
     this.ValueCTRL.Size              = new System.Drawing.Size(296, 26);
     this.ValueCTRL.TabIndex          = 1;
     //
     // EditValueDlg
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(296, 62);
     this.Controls.Add(this.ValueCTRL);
     this.Controls.Add(this.ButtonsPN);
     this.Name          = "EditValueDlg";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "Edit Value";
     this.ButtonsPN.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.ItemNameLB           = new System.Windows.Forms.Label();
     this.TimestampLB          = new System.Windows.Forms.Label();
     this.ValueLB              = new System.Windows.Forms.Label();
     this.ItemNameTB           = new System.Windows.Forms.TextBox();
     this.TimestampSpecifiedCB = new System.Windows.Forms.CheckBox();
     this.ItemPathTB           = new System.Windows.Forms.TextBox();
     this.ItemPathLB           = new System.Windows.Forms.Label();
     this.QualitySpecifiedCB   = new System.Windows.Forms.CheckBox();
     this.VendorBitsCTRL       = new System.Windows.Forms.NumericUpDown();
     this.QualityBitsLB        = new System.Windows.Forms.Label();
     this.ValueSpecifiedCB     = new System.Windows.Forms.CheckBox();
     this.QualityBitsCTRL      = new CAS.Lib.OPCClientControlsLib.EnumCtrl();
     this.LimitBitsCTRL        = new CAS.Lib.OPCClientControlsLib.EnumCtrl();
     this.LimitBitsLB          = new System.Windows.Forms.Label();
     this.VendorBitsLB         = new System.Windows.Forms.Label();
     this.ValueCTRL            = new CAS.Lib.OPCClientControlsLib.ValueCtrl();
     this.TimestampCTRL        = new System.Windows.Forms.DateTimePicker();
     ((System.ComponentModel.ISupportInitialize)(this.VendorBitsCTRL)).BeginInit();
     this.SuspendLayout();
     //
     // ItemNameLB
     //
     this.ItemNameLB.Name      = "ItemNameLB";
     this.ItemNameLB.TabIndex  = 0;
     this.ItemNameLB.Text      = "Item Name";
     this.ItemNameLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // TimestampLB
     //
     this.TimestampLB.Location  = new System.Drawing.Point(0, 144);
     this.TimestampLB.Name      = "TimestampLB";
     this.TimestampLB.TabIndex  = 1;
     this.TimestampLB.Text      = "Timestamp";
     this.TimestampLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // ValueLB
     //
     this.ValueLB.Location  = new System.Drawing.Point(0, 48);
     this.ValueLB.Name      = "ValueLB";
     this.ValueLB.TabIndex  = 3;
     this.ValueLB.Text      = "Value";
     this.ValueLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // ItemNameTB
     //
     this.ItemNameTB.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                               | System.Windows.Forms.AnchorStyles.Right);
     this.ItemNameTB.Location = new System.Drawing.Point(104, 0);
     this.ItemNameTB.Name     = "ItemNameTB";
     this.ItemNameTB.ReadOnly = true;
     this.ItemNameTB.Size     = new System.Drawing.Size(248, 20);
     this.ItemNameTB.TabIndex = 8;
     this.ItemNameTB.Text     = "";
     //
     // TimestampSpecifiedCB
     //
     this.TimestampSpecifiedCB.Anchor          = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
     this.TimestampSpecifiedCB.Checked         = true;
     this.TimestampSpecifiedCB.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.TimestampSpecifiedCB.Location        = new System.Drawing.Point(336, 143);
     this.TimestampSpecifiedCB.Name            = "TimestampSpecifiedCB";
     this.TimestampSpecifiedCB.Size            = new System.Drawing.Size(16, 24);
     this.TimestampSpecifiedCB.TabIndex        = 20;
     this.TimestampSpecifiedCB.CheckedChanged += new System.EventHandler(this.Specified_CheckedChanged);
     //
     // ItemPathTB
     //
     this.ItemPathTB.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                               | System.Windows.Forms.AnchorStyles.Right);
     this.ItemPathTB.Location = new System.Drawing.Point(104, 24);
     this.ItemPathTB.Name     = "ItemPathTB";
     this.ItemPathTB.ReadOnly = true;
     this.ItemPathTB.Size     = new System.Drawing.Size(248, 20);
     this.ItemPathTB.TabIndex = 27;
     this.ItemPathTB.Text     = "";
     //
     // ItemPathLB
     //
     this.ItemPathLB.Location  = new System.Drawing.Point(0, 24);
     this.ItemPathLB.Name      = "ItemPathLB";
     this.ItemPathLB.TabIndex  = 26;
     this.ItemPathLB.Text      = "Item Path";
     this.ItemPathLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // QualitySpecifiedCB
     //
     this.QualitySpecifiedCB.Anchor          = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
     this.QualitySpecifiedCB.Checked         = true;
     this.QualitySpecifiedCB.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.QualitySpecifiedCB.Location        = new System.Drawing.Point(336, 71);
     this.QualitySpecifiedCB.Name            = "QualitySpecifiedCB";
     this.QualitySpecifiedCB.Size            = new System.Drawing.Size(16, 24);
     this.QualitySpecifiedCB.TabIndex        = 30;
     this.QualitySpecifiedCB.CheckedChanged += new System.EventHandler(this.Specified_CheckedChanged);
     //
     // VendorBitsCTRL
     //
     this.VendorBitsCTRL.Location = new System.Drawing.Point(104, 121);
     this.VendorBitsCTRL.Maximum  = new System.Decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.VendorBitsCTRL.Name     = "VendorBitsCTRL";
     this.VendorBitsCTRL.Size     = new System.Drawing.Size(80, 20);
     this.VendorBitsCTRL.TabIndex = 29;
     //
     // QualityBitsLB
     //
     this.QualityBitsLB.Location  = new System.Drawing.Point(0, 72);
     this.QualityBitsLB.Name      = "QualityBitsLB";
     this.QualityBitsLB.TabIndex  = 28;
     this.QualityBitsLB.Text      = "Quality Bits";
     this.QualityBitsLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // ValueSpecifiedCB
     //
     this.ValueSpecifiedCB.Anchor          = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
     this.ValueSpecifiedCB.Checked         = true;
     this.ValueSpecifiedCB.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.ValueSpecifiedCB.Location        = new System.Drawing.Point(336, 48);
     this.ValueSpecifiedCB.Name            = "ValueSpecifiedCB";
     this.ValueSpecifiedCB.Size            = new System.Drawing.Size(16, 24);
     this.ValueSpecifiedCB.TabIndex        = 31;
     this.ValueSpecifiedCB.CheckedChanged += new System.EventHandler(this.Specified_CheckedChanged);
     //
     // QualityBitsCTRL
     //
     this.QualityBitsCTRL.Location = new System.Drawing.Point(104, 71);
     this.QualityBitsCTRL.Name     = "QualityBitsCTRL";
     this.QualityBitsCTRL.Size     = new System.Drawing.Size(152, 24);
     this.QualityBitsCTRL.TabIndex = 32;
     //
     // LimitBitsCTRL
     //
     this.LimitBitsCTRL.Location = new System.Drawing.Point(104, 95);
     this.LimitBitsCTRL.Name     = "LimitBitsCTRL";
     this.LimitBitsCTRL.Size     = new System.Drawing.Size(80, 24);
     this.LimitBitsCTRL.TabIndex = 34;
     //
     // LimitBitsLB
     //
     this.LimitBitsLB.Location  = new System.Drawing.Point(0, 96);
     this.LimitBitsLB.Name      = "LimitBitsLB";
     this.LimitBitsLB.TabIndex  = 33;
     this.LimitBitsLB.Text      = "Limit Bits";
     this.LimitBitsLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // VendorBitsLB
     //
     this.VendorBitsLB.Location  = new System.Drawing.Point(0, 120);
     this.VendorBitsLB.Name      = "VendorBitsLB";
     this.VendorBitsLB.TabIndex  = 35;
     this.VendorBitsLB.Text      = "Vendor Bits";
     this.VendorBitsLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // ValueCTRL
     //
     this.ValueCTRL.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                              | System.Windows.Forms.AnchorStyles.Right);
     this.ValueCTRL.Location = new System.Drawing.Point(104, 49);
     this.ValueCTRL.Name     = "ValueCTRL";
     this.ValueCTRL.Size     = new System.Drawing.Size(224, 20);
     this.ValueCTRL.TabIndex = 36;
     //
     // TimestampCTRL
     //
     this.TimestampCTRL.CustomFormat = "yyyy/MM/dd HH:mm:ss";
     this.TimestampCTRL.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.TimestampCTRL.Location     = new System.Drawing.Point(104, 145);
     this.TimestampCTRL.Name         = "TimestampCTRL";
     this.TimestampCTRL.ShowUpDown   = true;
     this.TimestampCTRL.Size         = new System.Drawing.Size(136, 20);
     this.TimestampCTRL.TabIndex     = 37;
     //
     // ItemValueEditCtrl
     //
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.TimestampCTRL,
         this.ValueCTRL,
         this.VendorBitsLB,
         this.LimitBitsCTRL,
         this.LimitBitsLB,
         this.QualityBitsCTRL,
         this.ValueSpecifiedCB,
         this.QualitySpecifiedCB,
         this.VendorBitsCTRL,
         this.QualityBitsLB,
         this.ItemPathTB,
         this.ItemPathLB,
         this.TimestampSpecifiedCB,
         this.ItemNameTB,
         this.ValueLB,
         this.TimestampLB,
         this.ItemNameLB
     });
     this.Name = "ItemValueEditCtrl";
     this.Size = new System.Drawing.Size(360, 168);
     ((System.ComponentModel.ISupportInitialize)(this.VendorBitsCTRL)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.ButtonsPN   = new System.Windows.Forms.Panel();
     this.CancelBTN   = new System.Windows.Forms.Button();
     this.OkBTN       = new System.Windows.Forms.Button();
     this.ValueCTRL   = new CAS.Lib.OPCClientControlsLib.ValueCtrl();
     this.MainPN      = new System.Windows.Forms.Panel();
     this.ArrayLV     = new System.Windows.Forms.ListView();
     this.IndexCH     = new System.Windows.Forms.ColumnHeader();
     this.ValueCH     = new System.Windows.Forms.ColumnHeader();
     this.PopupMenu   = new System.Windows.Forms.ContextMenu();
     this.ViewMI      = new System.Windows.Forms.MenuItem();
     this.Separator01 = new System.Windows.Forms.MenuItem();
     this.InsertMI    = new System.Windows.Forms.MenuItem();
     this.DeleteMI    = new System.Windows.Forms.MenuItem();
     this.ButtonsPN.SuspendLayout();
     this.MainPN.SuspendLayout();
     this.SuspendLayout();
     //
     // ButtonsPN
     //
     this.ButtonsPN.Controls.Add(this.CancelBTN);
     this.ButtonsPN.Controls.Add(this.OkBTN);
     this.ButtonsPN.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.ButtonsPN.Location = new System.Drawing.Point(0, 146);
     this.ButtonsPN.Name     = "ButtonsPN";
     this.ButtonsPN.Size     = new System.Drawing.Size(296, 36);
     this.ButtonsPN.TabIndex = 0;
     //
     // CancelBTN
     //
     this.CancelBTN.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.CancelBTN.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.CancelBTN.Location     = new System.Drawing.Point(216, 8);
     this.CancelBTN.Name         = "CancelBTN";
     this.CancelBTN.TabIndex     = 0;
     this.CancelBTN.Text         = "Cancel";
     this.CancelBTN.Click       += new System.EventHandler(this.CancelBTN_Click);
     //
     // OkBTN
     //
     this.OkBTN.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.OkBTN.Location = new System.Drawing.Point(4, 8);
     this.OkBTN.Name     = "OkBTN";
     this.OkBTN.TabIndex = 1;
     this.OkBTN.Text     = "OK";
     this.OkBTN.Click   += new System.EventHandler(this.OkBTN_Click);
     //
     // ValueCTRL
     //
     this.ValueCTRL.Dock              = System.Windows.Forms.DockStyle.Top;
     this.ValueCTRL.DockPadding.Left  = 4;
     this.ValueCTRL.DockPadding.Right = 4;
     this.ValueCTRL.DockPadding.Top   = 4;
     this.ValueCTRL.ItemID            = null;
     this.ValueCTRL.Location          = new System.Drawing.Point(0, 0);
     this.ValueCTRL.Name              = "ValueCTRL";
     this.ValueCTRL.Size              = new System.Drawing.Size(296, 28);
     this.ValueCTRL.TabIndex          = 1;
     //
     // MainPN
     //
     this.MainPN.Controls.Add(this.ArrayLV);
     this.MainPN.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.MainPN.DockPadding.Left  = 4;
     this.MainPN.DockPadding.Right = 4;
     this.MainPN.DockPadding.Top   = 4;
     this.MainPN.Location          = new System.Drawing.Point(0, 28);
     this.MainPN.Name              = "MainPN";
     this.MainPN.Size              = new System.Drawing.Size(296, 118);
     this.MainPN.TabIndex          = 2;
     //
     // ArrayLV
     //
     this.ArrayLV.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.IndexCH,
         this.ValueCH
     });
     this.ArrayLV.ContextMenu           = this.PopupMenu;
     this.ArrayLV.Dock                  = System.Windows.Forms.DockStyle.Fill;
     this.ArrayLV.FullRowSelect         = true;
     this.ArrayLV.GridLines             = true;
     this.ArrayLV.Location              = new System.Drawing.Point(4, 4);
     this.ArrayLV.Name                  = "ArrayLV";
     this.ArrayLV.Size                  = new System.Drawing.Size(288, 114);
     this.ArrayLV.TabIndex              = 0;
     this.ArrayLV.View                  = System.Windows.Forms.View.Details;
     this.ArrayLV.MouseDown            += new System.Windows.Forms.MouseEventHandler(this.ArrayLV_MouseDown);
     this.ArrayLV.DoubleClick          += new System.EventHandler(this.ViewMI_Click);
     this.ArrayLV.SelectedIndexChanged += new System.EventHandler(this.ArrayLV_SelectedIndexChanged);
     this.ArrayLV.ColumnClick          += new ColumnClickEventHandler(SortHandler.listView_ColumnClick);
     //
     // IndexCH
     //
     this.IndexCH.Text  = "Index";
     this.IndexCH.Width = 38;
     //
     // ValueCH
     //
     this.ValueCH.Text  = "Value";
     this.ValueCH.Width = 246;
     //
     // PopupMenu
     //
     this.PopupMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.ViewMI,
         this.Separator01,
         this.InsertMI,
         this.DeleteMI
     });
     //
     // ViewMI
     //
     this.ViewMI.Index  = 0;
     this.ViewMI.Text   = "&View...";
     this.ViewMI.Click += new System.EventHandler(this.ViewMI_Click);
     //
     // Separator01
     //
     this.Separator01.Index = 1;
     this.Separator01.Text  = "-";
     //
     // InsertMI
     //
     this.InsertMI.Index  = 2;
     this.InsertMI.Text   = "&Insert";
     this.InsertMI.Click += new System.EventHandler(this.InsertMI_Click);
     //
     // DeleteMI
     //
     this.DeleteMI.Index  = 3;
     this.DeleteMI.Text   = "&Delete";
     this.DeleteMI.Click += new System.EventHandler(this.DeleteMI_Click);
     //
     // EditArrayDlg
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(296, 182);
     this.Controls.Add(this.MainPN);
     this.Controls.Add(this.ValueCTRL);
     this.Controls.Add(this.ButtonsPN);
     this.Name          = "EditArrayDlg";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "Edit Array";
     this.ButtonsPN.ResumeLayout(false);
     this.MainPN.ResumeLayout(false);
     this.ResumeLayout(false);
 }