コード例 #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.OkBTN             = new System.Windows.Forms.Button();
     this.CancelBTN         = new System.Windows.Forms.Button();
     this.ButtonsPN         = new System.Windows.Forms.Panel();
     this.ItemTimeLB        = new System.Windows.Forms.Label();
     this.ItemNameLB        = new System.Windows.Forms.Label();
     this.ItemTimeCB        = new System.Windows.Forms.CheckBox();
     this.ItemPathLB        = new System.Windows.Forms.Label();
     this.TopPN             = new System.Windows.Forms.Panel();
     this.LocaleSpecifiedCB = new System.Windows.Forms.CheckBox();
     this.LocaleCTRL        = new OpcClientSdk.Controls.LocaleCtrl();
     this.LocaleLB          = new System.Windows.Forms.Label();
     this.ClientHandleCB    = new System.Windows.Forms.CheckBox();
     this.ItemPathCB        = new System.Windows.Forms.CheckBox();
     this.ItemNameCB        = new System.Windows.Forms.CheckBox();
     this.DiagnosticInfoCB  = new System.Windows.Forms.CheckBox();
     this.ErrorTextCB       = new System.Windows.Forms.CheckBox();
     this.ClientHandleLB    = new System.Windows.Forms.Label();
     this.DiagnosticInfoLB  = new System.Windows.Forms.Label();
     this.ErrorTextLB       = new System.Windows.Forms.Label();
     this.ButtonsPN.SuspendLayout();
     this.TopPN.SuspendLayout();
     this.SuspendLayout();
     //
     // 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(5, 8);
     this.OkBTN.Name         = "OkBTN";
     this.OkBTN.TabIndex     = 1;
     this.OkBTN.Text         = "OK";
     //
     // 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(176, 8);
     this.CancelBTN.Name         = "CancelBTN";
     this.CancelBTN.TabIndex     = 0;
     this.CancelBTN.Text         = "Cancel";
     //
     // 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, 170);
     this.ButtonsPN.Name     = "ButtonsPN";
     this.ButtonsPN.Size     = new System.Drawing.Size(256, 36);
     this.ButtonsPN.TabIndex = 0;
     //
     // ItemTimeLB
     //
     this.ItemTimeLB.Location  = new System.Drawing.Point(4, 100);
     this.ItemTimeLB.Name      = "ItemTimeLB";
     this.ItemTimeLB.Size      = new System.Drawing.Size(128, 23);
     this.ItemTimeLB.TabIndex  = 8;
     this.ItemTimeLB.Text      = "Return Timestamp";
     this.ItemTimeLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // ItemNameLB
     //
     this.ItemNameLB.Location  = new System.Drawing.Point(4, 28);
     this.ItemNameLB.Name      = "ItemNameLB";
     this.ItemNameLB.Size      = new System.Drawing.Size(128, 23);
     this.ItemNameLB.TabIndex  = 0;
     this.ItemNameLB.Text      = "Return Item Name";
     this.ItemNameLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // ItemTimeCB
     //
     this.ItemTimeCB.Checked    = true;
     this.ItemTimeCB.CheckState = System.Windows.Forms.CheckState.Checked;
     this.ItemTimeCB.Location   = new System.Drawing.Point(132, 100);
     this.ItemTimeCB.Name       = "ItemTimeCB";
     this.ItemTimeCB.Size       = new System.Drawing.Size(96, 24);
     this.ItemTimeCB.TabIndex   = 9;
     //
     // ItemPathLB
     //
     this.ItemPathLB.Location  = new System.Drawing.Point(4, 52);
     this.ItemPathLB.Name      = "ItemPathLB";
     this.ItemPathLB.Size      = new System.Drawing.Size(128, 23);
     this.ItemPathLB.TabIndex  = 2;
     this.ItemPathLB.Text      = "Return Item Path";
     this.ItemPathLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // TopPN
     //
     this.TopPN.Controls.Add(this.LocaleSpecifiedCB);
     this.TopPN.Controls.Add(this.LocaleCTRL);
     this.TopPN.Controls.Add(this.LocaleLB);
     this.TopPN.Controls.Add(this.ClientHandleCB);
     this.TopPN.Controls.Add(this.ItemPathCB);
     this.TopPN.Controls.Add(this.ItemNameCB);
     this.TopPN.Controls.Add(this.DiagnosticInfoCB);
     this.TopPN.Controls.Add(this.ErrorTextCB);
     this.TopPN.Controls.Add(this.ItemTimeCB);
     this.TopPN.Controls.Add(this.ClientHandleLB);
     this.TopPN.Controls.Add(this.DiagnosticInfoLB);
     this.TopPN.Controls.Add(this.ErrorTextLB);
     this.TopPN.Controls.Add(this.ItemTimeLB);
     this.TopPN.Controls.Add(this.ItemPathLB);
     this.TopPN.Controls.Add(this.ItemNameLB);
     this.TopPN.Dock              = System.Windows.Forms.DockStyle.Top;
     this.TopPN.DockPadding.Left  = 4;
     this.TopPN.DockPadding.Right = 4;
     this.TopPN.Location          = new System.Drawing.Point(0, 0);
     this.TopPN.Name              = "TopPN";
     this.TopPN.Size              = new System.Drawing.Size(256, 460);
     this.TopPN.TabIndex          = 1;
     //
     // LocaleSpecifiedCB
     //
     this.LocaleSpecifiedCB.Location        = new System.Drawing.Point(236, 4);
     this.LocaleSpecifiedCB.Name            = "LocaleSpecifiedCB";
     this.LocaleSpecifiedCB.Size            = new System.Drawing.Size(16, 24);
     this.LocaleSpecifiedCB.TabIndex        = 16;
     this.LocaleSpecifiedCB.CheckedChanged += new System.EventHandler(this.LocaleSpecifiedCB_CheckedChanged);
     //
     // LocaleCTRL
     //
     this.LocaleCTRL.Enabled  = false;
     this.LocaleCTRL.Locale   = "";
     this.LocaleCTRL.Location = new System.Drawing.Point(132, 4);
     this.LocaleCTRL.Name     = "LocaleCTRL";
     this.LocaleCTRL.Size     = new System.Drawing.Size(96, 24);
     this.LocaleCTRL.TabIndex = 15;
     //
     // LocaleLB
     //
     this.LocaleLB.Location  = new System.Drawing.Point(4, 4);
     this.LocaleLB.Name      = "LocaleLB";
     this.LocaleLB.Size      = new System.Drawing.Size(128, 23);
     this.LocaleLB.TabIndex  = 14;
     this.LocaleLB.Text      = "Locale";
     this.LocaleLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // ClientHandleCB
     //
     this.ClientHandleCB.Checked    = true;
     this.ClientHandleCB.CheckState = System.Windows.Forms.CheckState.Checked;
     this.ClientHandleCB.Location   = new System.Drawing.Point(132, 76);
     this.ClientHandleCB.Name       = "ClientHandleCB";
     this.ClientHandleCB.Size       = new System.Drawing.Size(96, 24);
     this.ClientHandleCB.TabIndex   = 5;
     //
     // ItemPathCB
     //
     this.ItemPathCB.Checked    = true;
     this.ItemPathCB.CheckState = System.Windows.Forms.CheckState.Checked;
     this.ItemPathCB.Location   = new System.Drawing.Point(132, 52);
     this.ItemPathCB.Name       = "ItemPathCB";
     this.ItemPathCB.Size       = new System.Drawing.Size(96, 24);
     this.ItemPathCB.TabIndex   = 3;
     //
     // ItemNameCB
     //
     this.ItemNameCB.Checked    = true;
     this.ItemNameCB.CheckState = System.Windows.Forms.CheckState.Checked;
     this.ItemNameCB.Location   = new System.Drawing.Point(132, 28);
     this.ItemNameCB.Name       = "ItemNameCB";
     this.ItemNameCB.Size       = new System.Drawing.Size(96, 24);
     this.ItemNameCB.TabIndex   = 1;
     //
     // DiagnosticInfoCB
     //
     this.DiagnosticInfoCB.Checked    = true;
     this.DiagnosticInfoCB.CheckState = System.Windows.Forms.CheckState.Checked;
     this.DiagnosticInfoCB.Location   = new System.Drawing.Point(132, 148);
     this.DiagnosticInfoCB.Name       = "DiagnosticInfoCB";
     this.DiagnosticInfoCB.Size       = new System.Drawing.Size(96, 24);
     this.DiagnosticInfoCB.TabIndex   = 13;
     //
     // ErrorTextCB
     //
     this.ErrorTextCB.Checked    = true;
     this.ErrorTextCB.CheckState = System.Windows.Forms.CheckState.Checked;
     this.ErrorTextCB.Location   = new System.Drawing.Point(132, 124);
     this.ErrorTextCB.Name       = "ErrorTextCB";
     this.ErrorTextCB.Size       = new System.Drawing.Size(96, 24);
     this.ErrorTextCB.TabIndex   = 11;
     //
     // ClientHandleLB
     //
     this.ClientHandleLB.Location  = new System.Drawing.Point(4, 76);
     this.ClientHandleLB.Name      = "ClientHandleLB";
     this.ClientHandleLB.Size      = new System.Drawing.Size(128, 23);
     this.ClientHandleLB.TabIndex  = 4;
     this.ClientHandleLB.Text      = "Return Client Handle";
     this.ClientHandleLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // DiagnosticInfoLB
     //
     this.DiagnosticInfoLB.Location  = new System.Drawing.Point(4, 148);
     this.DiagnosticInfoLB.Name      = "DiagnosticInfoLB";
     this.DiagnosticInfoLB.Size      = new System.Drawing.Size(128, 23);
     this.DiagnosticInfoLB.TabIndex  = 12;
     this.DiagnosticInfoLB.Text      = "Return Diagnostic Info";
     this.DiagnosticInfoLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // ErrorTextLB
     //
     this.ErrorTextLB.Location  = new System.Drawing.Point(4, 124);
     this.ErrorTextLB.Name      = "ErrorTextLB";
     this.ErrorTextLB.Size      = new System.Drawing.Size(128, 23);
     this.ErrorTextLB.TabIndex  = 10;
     this.ErrorTextLB.Text      = "Return Error Text";
     this.ErrorTextLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // OptionsEditDlg
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(256, 206);
     this.Controls.Add(this.ButtonsPN);
     this.Controls.Add(this.TopPN);
     this.Name          = "OptionsEditDlg";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "Edit Options";
     this.ButtonsPN.ResumeLayout(false);
     this.TopPN.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.NameLB               = new System.Windows.Forms.Label();
     this.ActiveLB             = new System.Windows.Forms.Label();
     this.UpdateRateLB         = new System.Windows.Forms.Label();
     this.KeepAliveRateLB      = new System.Windows.Forms.Label();
     this.DeadbandLB           = new System.Windows.Forms.Label();
     this.NameTB               = new System.Windows.Forms.TextBox();
     this.ActiveCB             = new System.Windows.Forms.CheckBox();
     this.UpdateRateCTRL       = new System.Windows.Forms.NumericUpDown();
     this.KeepAliveRateCTRL    = new System.Windows.Forms.NumericUpDown();
     this.DeadbandCTRL         = new System.Windows.Forms.NumericUpDown();
     this.KeepAliveSpecifiedCB = new System.Windows.Forms.CheckBox();
     this.DeadbandSpecifiedCB  = new System.Windows.Forms.CheckBox();
     this.LocaleLB             = new System.Windows.Forms.Label();
     this.LocaleCTRL           = new OpcClientSdk.Controls.LocaleCtrl();
     this.LocaleSpecifiedCB    = new System.Windows.Forms.CheckBox();
     ((System.ComponentModel.ISupportInitialize)(this.UpdateRateCTRL)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.KeepAliveRateCTRL)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.DeadbandCTRL)).BeginInit();
     this.SuspendLayout();
     //
     // NameLB
     //
     this.NameLB.Location  = new System.Drawing.Point(0, 0);
     this.NameLB.Name      = "NameLB";
     this.NameLB.TabIndex  = 0;
     this.NameLB.Text      = "Name";
     this.NameLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // ActiveLB
     //
     this.ActiveLB.Location  = new System.Drawing.Point(0, 24);
     this.ActiveLB.Name      = "ActiveLB";
     this.ActiveLB.TabIndex  = 1;
     this.ActiveLB.Text      = "Active";
     this.ActiveLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // UpdateRateLB
     //
     this.UpdateRateLB.Location  = new System.Drawing.Point(0, 48);
     this.UpdateRateLB.Name      = "UpdateRateLB";
     this.UpdateRateLB.TabIndex  = 4;
     this.UpdateRateLB.Text      = "Update Rate";
     this.UpdateRateLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // KeepAliveRateLB
     //
     this.KeepAliveRateLB.Location  = new System.Drawing.Point(0, 72);
     this.KeepAliveRateLB.Name      = "KeepAliveRateLB";
     this.KeepAliveRateLB.TabIndex  = 5;
     this.KeepAliveRateLB.Text      = "Keep Alive Rate";
     this.KeepAliveRateLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // DeadbandLB
     //
     this.DeadbandLB.Location  = new System.Drawing.Point(0, 96);
     this.DeadbandLB.Name      = "DeadbandLB";
     this.DeadbandLB.TabIndex  = 6;
     this.DeadbandLB.Text      = "Deadband";
     this.DeadbandLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // NameTB
     //
     this.NameTB.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.NameTB.Location = new System.Drawing.Point(104, 0);
     this.NameTB.Name     = "NameTB";
     this.NameTB.Size     = new System.Drawing.Size(128, 20);
     this.NameTB.TabIndex = 8;
     this.NameTB.Text     = "";
     //
     // ActiveCB
     //
     this.ActiveCB.Location = new System.Drawing.Point(104, 24);
     this.ActiveCB.Name     = "ActiveCB";
     this.ActiveCB.Size     = new System.Drawing.Size(16, 24);
     this.ActiveCB.TabIndex = 9;
     //
     // UpdateRateCTRL
     //
     this.UpdateRateCTRL.Increment = new System.Decimal(new int[] {
         100,
         0,
         0,
         0
     });
     this.UpdateRateCTRL.Location = new System.Drawing.Point(104, 48);
     this.UpdateRateCTRL.Maximum  = new System.Decimal(new int[] {
         1000000000,
         0,
         0,
         0
     });
     this.UpdateRateCTRL.Name     = "UpdateRateCTRL";
     this.UpdateRateCTRL.Size     = new System.Drawing.Size(72, 20);
     this.UpdateRateCTRL.TabIndex = 11;
     //
     // KeepAliveRateCTRL
     //
     this.KeepAliveRateCTRL.Increment = new System.Decimal(new int[] {
         100,
         0,
         0,
         0
     });
     this.KeepAliveRateCTRL.Location = new System.Drawing.Point(104, 72);
     this.KeepAliveRateCTRL.Maximum  = new System.Decimal(new int[] {
         1000000000,
         0,
         0,
         0
     });
     this.KeepAliveRateCTRL.Name     = "KeepAliveRateCTRL";
     this.KeepAliveRateCTRL.Size     = new System.Drawing.Size(72, 20);
     this.KeepAliveRateCTRL.TabIndex = 12;
     //
     // DeadbandCTRL
     //
     this.DeadbandCTRL.DecimalPlaces = 1;
     this.DeadbandCTRL.Location      = new System.Drawing.Point(104, 96);
     this.DeadbandCTRL.Name          = "DeadbandCTRL";
     this.DeadbandCTRL.Size          = new System.Drawing.Size(72, 20);
     this.DeadbandCTRL.TabIndex      = 14;
     //
     // KeepAliveSpecifiedCB
     //
     this.KeepAliveSpecifiedCB.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.KeepAliveSpecifiedCB.Checked         = true;
     this.KeepAliveSpecifiedCB.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.KeepAliveSpecifiedCB.Location        = new System.Drawing.Point(216, 72);
     this.KeepAliveSpecifiedCB.Name            = "KeepAliveSpecifiedCB";
     this.KeepAliveSpecifiedCB.Size            = new System.Drawing.Size(16, 24);
     this.KeepAliveSpecifiedCB.TabIndex        = 20;
     this.KeepAliveSpecifiedCB.CheckedChanged += new System.EventHandler(this.Specified_CheckedChanged);
     //
     // DeadbandSpecifiedCB
     //
     this.DeadbandSpecifiedCB.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.DeadbandSpecifiedCB.Checked         = true;
     this.DeadbandSpecifiedCB.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.DeadbandSpecifiedCB.Location        = new System.Drawing.Point(216, 96);
     this.DeadbandSpecifiedCB.Name            = "DeadbandSpecifiedCB";
     this.DeadbandSpecifiedCB.Size            = new System.Drawing.Size(16, 24);
     this.DeadbandSpecifiedCB.TabIndex        = 21;
     this.DeadbandSpecifiedCB.CheckedChanged += new System.EventHandler(this.Specified_CheckedChanged);
     //
     // LocaleLB
     //
     this.LocaleLB.Location  = new System.Drawing.Point(0, 120);
     this.LocaleLB.Name      = "LocaleLB";
     this.LocaleLB.TabIndex  = 22;
     this.LocaleLB.Text      = "Locale";
     this.LocaleLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // LocaleCTRL
     //
     this.LocaleCTRL.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.LocaleCTRL.Enabled  = false;
     this.LocaleCTRL.Locale   = "";
     this.LocaleCTRL.Location = new System.Drawing.Point(104, 120);
     this.LocaleCTRL.Name     = "LocaleCTRL";
     this.LocaleCTRL.Size     = new System.Drawing.Size(104, 24);
     this.LocaleCTRL.TabIndex = 23;
     //
     // LocaleSpecifiedCB
     //
     this.LocaleSpecifiedCB.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.LocaleSpecifiedCB.Checked         = true;
     this.LocaleSpecifiedCB.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.LocaleSpecifiedCB.Location        = new System.Drawing.Point(216, 120);
     this.LocaleSpecifiedCB.Name            = "LocaleSpecifiedCB";
     this.LocaleSpecifiedCB.Size            = new System.Drawing.Size(16, 24);
     this.LocaleSpecifiedCB.TabIndex        = 24;
     this.LocaleSpecifiedCB.CheckedChanged += new System.EventHandler(this.Specified_CheckedChanged);
     //
     // SubscriptionEditCtrl
     //
     this.Controls.Add(this.LocaleSpecifiedCB);
     this.Controls.Add(this.LocaleCTRL);
     this.Controls.Add(this.LocaleLB);
     this.Controls.Add(this.DeadbandSpecifiedCB);
     this.Controls.Add(this.KeepAliveSpecifiedCB);
     this.Controls.Add(this.DeadbandCTRL);
     this.Controls.Add(this.KeepAliveRateCTRL);
     this.Controls.Add(this.UpdateRateCTRL);
     this.Controls.Add(this.ActiveCB);
     this.Controls.Add(this.NameTB);
     this.Controls.Add(this.KeepAliveRateLB);
     this.Controls.Add(this.ActiveLB);
     this.Controls.Add(this.NameLB);
     this.Controls.Add(this.UpdateRateLB);
     this.Controls.Add(this.DeadbandLB);
     this.Name = "SubscriptionEditCtrl";
     this.Size = new System.Drawing.Size(232, 144);
     ((System.ComponentModel.ISupportInitialize)(this.UpdateRateCTRL)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.KeepAliveRateCTRL)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.DeadbandCTRL)).EndInit();
     this.ResumeLayout(false);
 }