form1.cs
来自「zwave 无线通讯协议 PC controller 控制器源码」· CS 代码 · 共 1,249 行 · 第 1/5 页
CS
1,249 行
this.tabPageWakeUp.Location = new System.Drawing.Point(4, 22);
this.tabPageWakeUp.Name = "tabPageWakeUp";
this.tabPageWakeUp.Size = new System.Drawing.Size(392, 142);
this.tabPageWakeUp.TabIndex = 5;
this.tabPageWakeUp.Text = "Wake Up";
this.tabPageWakeUp.UseVisualStyleBackColor = true;
//
// labelBatteryStatusField
//
this.labelBatteryStatusField.Location = new System.Drawing.Point(79, 26);
this.labelBatteryStatusField.Name = "labelBatteryStatusField";
this.labelBatteryStatusField.Size = new System.Drawing.Size(232, 16);
this.labelBatteryStatusField.TabIndex = 33;
//
// labelBatteryStatus
//
this.labelBatteryStatus.Location = new System.Drawing.Point(10, 26);
this.labelBatteryStatus.Name = "labelBatteryStatus";
this.labelBatteryStatus.Size = new System.Drawing.Size(72, 16);
this.labelBatteryStatus.TabIndex = 32;
this.labelBatteryStatus.Text = "Last Event:";
//
// label1
//
this.label1.Location = new System.Drawing.Point(221, 102);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(24, 16);
this.label1.TabIndex = 25;
this.label1.Text = "min.";
//
// labelWakeUpTimeField
//
this.labelWakeUpTimeField.Location = new System.Drawing.Point(93, 62);
this.labelWakeUpTimeField.Name = "labelWakeUpTimeField";
this.labelWakeUpTimeField.Size = new System.Drawing.Size(152, 16);
this.labelWakeUpTimeField.TabIndex = 22;
//
// labelWakeUpTime
//
this.labelWakeUpTime.Location = new System.Drawing.Point(10, 62);
this.labelWakeUpTime.Name = "labelWakeUpTime";
this.labelWakeUpTime.Size = new System.Drawing.Size(80, 16);
this.labelWakeUpTime.TabIndex = 21;
this.labelWakeUpTime.Text = "WakeUp Time:";
//
// buttonWakeUpSet
//
this.buttonWakeUpSet.Location = new System.Drawing.Point(13, 102);
this.buttonWakeUpSet.Name = "buttonWakeUpSet";
this.buttonWakeUpSet.Size = new System.Drawing.Size(104, 23);
this.buttonWakeUpSet.TabIndex = 17;
this.buttonWakeUpSet.Text = "Set WakeUp Time";
this.buttonWakeUpSet.Click += new System.EventHandler(this.buttonWakeUpSet_Click);
//
// textBoxWakeupTime
//
this.textBoxWakeupTime.Location = new System.Drawing.Point(123, 102);
this.textBoxWakeupTime.MaxLength = 6;
this.textBoxWakeupTime.Name = "textBoxWakeupTime";
this.textBoxWakeupTime.Size = new System.Drawing.Size(74, 20);
this.textBoxWakeupTime.TabIndex = 16;
this.textBoxWakeupTime.TextChanged += new System.EventHandler(this.textBoxWakeupTime_TextChanged);
//
// tabPageConfiguration
//
this.tabPageConfiguration.Controls.Add(this.labelValue);
this.tabPageConfiguration.Controls.Add(this.textBoxConfigParam);
this.tabPageConfiguration.Controls.Add(this.labelParam);
this.tabPageConfiguration.Controls.Add(this.textBoxConfigValue);
this.tabPageConfiguration.Controls.Add(this.buttonConfigSet);
this.tabPageConfiguration.Location = new System.Drawing.Point(4, 22);
this.tabPageConfiguration.Name = "tabPageConfiguration";
this.tabPageConfiguration.Padding = new System.Windows.Forms.Padding(3);
this.tabPageConfiguration.Size = new System.Drawing.Size(392, 142);
this.tabPageConfiguration.TabIndex = 8;
this.tabPageConfiguration.Text = "Configuration";
this.tabPageConfiguration.UseVisualStyleBackColor = true;
//
// labelValue
//
this.labelValue.Location = new System.Drawing.Point(12, 97);
this.labelValue.Name = "labelValue";
this.labelValue.Size = new System.Drawing.Size(40, 16);
this.labelValue.TabIndex = 29;
this.labelValue.Text = "Value:";
//
// textBoxConfigParam
//
this.textBoxConfigParam.Location = new System.Drawing.Point(60, 65);
this.textBoxConfigParam.MaxLength = 3;
this.textBoxConfigParam.Name = "textBoxConfigParam";
this.textBoxConfigParam.Size = new System.Drawing.Size(56, 20);
this.textBoxConfigParam.TabIndex = 28;
//
// labelParam
//
this.labelParam.Location = new System.Drawing.Point(12, 65);
this.labelParam.Name = "labelParam";
this.labelParam.Size = new System.Drawing.Size(48, 16);
this.labelParam.TabIndex = 27;
this.labelParam.Text = "Parameter:";
//
// textBoxConfigValue
//
this.textBoxConfigValue.Location = new System.Drawing.Point(60, 97);
this.textBoxConfigValue.MaxLength = 10;
this.textBoxConfigValue.Name = "textBoxConfigValue";
this.textBoxConfigValue.Size = new System.Drawing.Size(56, 20);
this.textBoxConfigValue.TabIndex = 26;
//
// buttonConfigSet
//
this.buttonConfigSet.Location = new System.Drawing.Point(12, 25);
this.buttonConfigSet.Name = "buttonConfigSet";
this.buttonConfigSet.Size = new System.Drawing.Size(120, 23);
this.buttonConfigSet.TabIndex = 25;
this.buttonConfigSet.Text = "Configuration Set";
this.buttonConfigSet.Click += new System.EventHandler(this.buttonConfigSet_Click);
//
// tabPageAssociation
//
this.tabPageAssociation.Controls.Add(this.chkAssignRoutes);
this.tabPageAssociation.Controls.Add(this.listBoxAssociationGroups);
this.tabPageAssociation.Controls.Add(this.listBoxAssociationInGroup);
this.tabPageAssociation.Controls.Add(this.listBoxAssocSup);
this.tabPageAssociation.Controls.Add(this.labelAssociationInGroup);
this.tabPageAssociation.Controls.Add(this.labelGroups);
this.tabPageAssociation.Controls.Add(this.labelDest);
this.tabPageAssociation.Controls.Add(this.buttonGetAssociation);
this.tabPageAssociation.Controls.Add(this.buttonRemoveAssociation);
this.tabPageAssociation.Controls.Add(this.buttonAddAssociation);
this.tabPageAssociation.Location = new System.Drawing.Point(4, 22);
this.tabPageAssociation.Name = "tabPageAssociation";
this.tabPageAssociation.Size = new System.Drawing.Size(392, 142);
this.tabPageAssociation.TabIndex = 6;
this.tabPageAssociation.Text = "Associations";
this.tabPageAssociation.UseVisualStyleBackColor = true;
//
// chkAssignRoutes
//
this.chkAssignRoutes.Location = new System.Drawing.Point(224, 88);
this.chkAssignRoutes.Name = "chkAssignRoutes";
this.chkAssignRoutes.Size = new System.Drawing.Size(64, 24);
this.chkAssignRoutes.TabIndex = 30;
this.chkAssignRoutes.Text = "Assign Routes";
//
// listBoxAssociationGroups
//
this.listBoxAssociationGroups.Location = new System.Drawing.Point(84, 27);
this.listBoxAssociationGroups.Name = "listBoxAssociationGroups";
this.listBoxAssociationGroups.Size = new System.Drawing.Size(56, 82);
this.listBoxAssociationGroups.Sorted = true;
this.listBoxAssociationGroups.TabIndex = 29;
this.listBoxAssociationGroups.SelectedIndexChanged += new System.EventHandler(this.listBoxAssociationGroups_SelectedIndexChanged);
//
// listBoxAssociationInGroup
//
this.listBoxAssociationInGroup.Location = new System.Drawing.Point(148, 27);
this.listBoxAssociationInGroup.Name = "listBoxAssociationInGroup";
this.listBoxAssociationInGroup.Size = new System.Drawing.Size(56, 82);
this.listBoxAssociationInGroup.Sorted = true;
this.listBoxAssociationInGroup.TabIndex = 28;
//
// listBoxAssocSup
//
this.listBoxAssocSup.Location = new System.Drawing.Point(20, 27);
this.listBoxAssocSup.Name = "listBoxAssocSup";
this.listBoxAssocSup.Size = new System.Drawing.Size(56, 82);
this.listBoxAssocSup.Sorted = true;
this.listBoxAssocSup.TabIndex = 27;
//
// labelAssociationInGroup
//
this.labelAssociationInGroup.Location = new System.Drawing.Point(148, 11);
this.labelAssociationInGroup.Name = "labelAssociationInGroup";
this.labelAssociationInGroup.Size = new System.Drawing.Size(128, 16);
this.labelAssociationInGroup.TabIndex = 26;
this.labelAssociationInGroup.Text = "In Group:";
//
// labelGroups
//
this.labelGroups.Location = new System.Drawing.Point(92, 11);
this.labelGroups.Name = "labelGroups";
this.labelGroups.Size = new System.Drawing.Size(48, 16);
this.labelGroups.TabIndex = 25;
this.labelGroups.Text = "Groups:";
//
// labelDest
//
this.labelDest.Location = new System.Drawing.Point(28, 11);
this.labelDest.Name = "labelDest";
this.labelDest.Size = new System.Drawing.Size(48, 16);
this.labelDest.TabIndex = 24;
this.labelDest.Text = "Source:";
//
// buttonGetAssociation
//
this.buttonGetAssociation.Location = new System.Drawing.Point(292, 19);
this.buttonGetAssociation.Name = "buttonGetAssociation";
this.buttonGetAssociation.Size = new System.Drawing.Size(80, 32);
this.buttonGetAssociation.TabIndex = 23;
this.buttonGetAssociation.Text = "Get Associations";
this.buttonGetAssociation.Click += new System.EventHandler(this.buttonGetAssociation_Click);
//
// buttonRemoveAssociation
//
this.buttonRemoveAssociation.Location = new System.Drawing.Point(292, 83);
this.buttonRemoveAssociation.Name = "buttonRemoveAssociation";
this.buttonRemoveAssociation.Size = new System.Drawing.Size(80, 32);
this.buttonRemoveAssociation.TabIndex = 22;
this.buttonRemoveAssociation.Text = "Remove Association";
this.buttonRemoveAssociation.Click += new System.EventHandler(this.buttonRemoveAssociation_Click);
//
// buttonAddAssociation
//
this.buttonAddAssociation.Location = new System.Drawing.Point(292, 51);
this.buttonAddAssociation.Name = "buttonAddAssociation";
this.buttonAddAssociation.Size = new System.Drawing.Size(80, 32);
this.buttonAddAssociation.TabIndex = 21;
this.buttonAddAssociation.Text = "Create Association";
this.buttonAddAssociation.Click += new System.EventHandler(this.buttonAddAssociation_Click);
//
// tabPageRouting
//
this.tabPageRouting.Controls.Add(this.labelDst);
this.tabPageRouting.Controls.Add(this.labelSource);
this.tabPageRouting.Controls.Add(this.listBoxDst);
this.tabPageRouting.Controls.Add(this.listBoxSrc);
this.tabPageRouting.Controls.Add(this.buttonDeleteRoute);
this.tabPageRouting.Controls.Add(this.buttonAssignRoute);
this.tabPageRouting.Location = new System.Drawing.Point(4, 22);
this.tabPageRouting.Name = "tabPageRouting";
this.tabPageRouting.Size = new System.Drawing.Size(392, 142);
this.tabPageRouting.TabIndex = 7;
this.tabPageRouting.Text = "Setup Route";
this.tabPageRouting.UseVisualStyleBackColor = true;
//
// labelDst
//
this.labelDst.Location = new System.Drawing.Point(96, 14);
this.labelDst.Name = "labelDst";
this.labelDst.Size = new System.Drawing.Size(64, 16);
this.labelDst.TabIndex = 13;
this.labelDst.Text = "Destination";
//
// labelSource
//
this.labelSource.Location = new System.Drawing.Point(24, 14);
this.labelSource.Name = "labelSource";
this.labelSource.Size = new System.Drawing.Size(48, 16);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?