Exemplo n.º 1
0
        private void method_0()
        {
            this.lblAlias           = new Label();
            this.lblAlarmType       = new Label();
            this.lblAlarmMode       = new Label();
            this.lblRevertCh        = new Label();
            this.lblImpoliteRetries = new Label();
            this.lblPoliteRetries   = new Label();
            this.lblCycles          = new Label();
            this.lblTxCycle         = new Label();
            this.lblRxCycle         = new Label();
            this.cmbAlarmMode       = new ComboBox();
            this.pnlEmergency       = new CustomPanel();
            this.cmbRevertCh        = new CustomCombo();
            this.nudPoliteRetries   = new CustomNumericUpDown();
            this.nudImpoliteRetries = new CustomNumericUpDown();
            this.nudRxCycle         = new CustomNumericUpDown();
            this.nudTxCycle         = new CustomNumericUpDown();
            this.nudCycles          = new CustomNumericUpDown();
            this.cmbAlarmType       = new CustomCombo();
            this.txtName            = new SGTextBox();
            this.pnlEmergency.SuspendLayout();
            ((ISupportInitialize)this.nudPoliteRetries).BeginInit();
            ((ISupportInitialize)this.nudImpoliteRetries).BeginInit();
            ((ISupportInitialize)this.nudRxCycle).BeginInit();
            ((ISupportInitialize)this.nudTxCycle).BeginInit();
            ((ISupportInitialize)this.nudCycles).BeginInit();
            base.SuspendLayout();
            this.lblAlias.Location              = new Point(25, 58);
            this.lblAlias.Name                  = "lblAlias";
            this.lblAlias.Size                  = new Size(131, 24);
            this.lblAlias.TabIndex              = 0;
            this.lblAlias.Text                  = "Name";
            this.lblAlias.TextAlign             = ContentAlignment.MiddleRight;
            this.lblAlarmType.Location          = new Point(25, 88);
            this.lblAlarmType.Name              = "lblAlarmType";
            this.lblAlarmType.Size              = new Size(131, 24);
            this.lblAlarmType.TabIndex          = 2;
            this.lblAlarmType.Text              = "Alarm Type";
            this.lblAlarmType.TextAlign         = ContentAlignment.MiddleRight;
            this.lblAlarmMode.Location          = new Point(25, 118);
            this.lblAlarmMode.Name              = "lblAlarmMode";
            this.lblAlarmMode.Size              = new Size(131, 24);
            this.lblAlarmMode.TabIndex          = 4;
            this.lblAlarmMode.Text              = "Mode";
            this.lblAlarmMode.TextAlign         = ContentAlignment.MiddleRight;
            this.lblRevertCh.Location           = new Point(25, 148);
            this.lblRevertCh.Name               = "lblRevertCh";
            this.lblRevertCh.Size               = new Size(131, 24);
            this.lblRevertCh.TabIndex           = 6;
            this.lblRevertCh.Text               = "Revert Channel";
            this.lblRevertCh.TextAlign          = ContentAlignment.MiddleRight;
            this.lblImpoliteRetries.Location    = new Point(25, 178);
            this.lblImpoliteRetries.Name        = "lblImpoliteRetries";
            this.lblImpoliteRetries.Size        = new Size(131, 24);
            this.lblImpoliteRetries.TabIndex    = 8;
            this.lblImpoliteRetries.Text        = "Impolite Retries";
            this.lblImpoliteRetries.TextAlign   = ContentAlignment.MiddleRight;
            this.lblPoliteRetries.Location      = new Point(25, 208);
            this.lblPoliteRetries.Name          = "lblPoliteRetries";
            this.lblPoliteRetries.Size          = new Size(131, 24);
            this.lblPoliteRetries.TabIndex      = 10;
            this.lblPoliteRetries.Text          = "Polite Retries";
            this.lblPoliteRetries.TextAlign     = ContentAlignment.MiddleRight;
            this.lblCycles.Location             = new Point(25, 238);
            this.lblCycles.Name                 = "lblCycles";
            this.lblCycles.Size                 = new Size(131, 24);
            this.lblCycles.TabIndex             = 12;
            this.lblCycles.Text                 = "Cycles";
            this.lblCycles.TextAlign            = ContentAlignment.MiddleRight;
            this.lblTxCycle.Location            = new Point(25, 268);
            this.lblTxCycle.Name                = "lblTxCycle";
            this.lblTxCycle.Size                = new Size(131, 24);
            this.lblTxCycle.TabIndex            = 14;
            this.lblTxCycle.Text                = "Tx Cycle Time [s]";
            this.lblTxCycle.TextAlign           = ContentAlignment.MiddleRight;
            this.lblRxCycle.Location            = new Point(25, 298);
            this.lblRxCycle.Name                = "lblRxCycle";
            this.lblRxCycle.Size                = new Size(131, 24);
            this.lblRxCycle.TabIndex            = 16;
            this.lblRxCycle.Text                = "Rx Cycle Time [s]";
            this.lblRxCycle.TextAlign           = ContentAlignment.MiddleRight;
            this.cmbAlarmMode.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.cmbAlarmMode.FormattingEnabled = true;
            this.cmbAlarmMode.Items.AddRange(new object[3]
            {
                "紧急报警",
                "紧急报警和呼叫",
                "紧急报警和语音"
            });
            this.cmbAlarmMode.Location              = new Point(167, 118);
            this.cmbAlarmMode.Name                  = "cmbAlarmMode";
            this.cmbAlarmMode.Size                  = new Size(120, 24);
            this.cmbAlarmMode.TabIndex              = 5;
            this.cmbAlarmMode.SelectedIndexChanged += this.cmbAlarmMode_SelectedIndexChanged;
            this.pnlEmergency.AutoScroll            = true;
            this.pnlEmergency.AutoSize              = true;
            this.pnlEmergency.Controls.Add(this.cmbRevertCh);
            this.pnlEmergency.Controls.Add(this.nudPoliteRetries);
            this.pnlEmergency.Controls.Add(this.lblAlias);
            this.pnlEmergency.Controls.Add(this.nudImpoliteRetries);
            this.pnlEmergency.Controls.Add(this.lblAlarmType);
            this.pnlEmergency.Controls.Add(this.nudRxCycle);
            this.pnlEmergency.Controls.Add(this.lblAlarmMode);
            this.pnlEmergency.Controls.Add(this.nudTxCycle);
            this.pnlEmergency.Controls.Add(this.lblRevertCh);
            this.pnlEmergency.Controls.Add(this.nudCycles);
            this.pnlEmergency.Controls.Add(this.lblImpoliteRetries);
            this.pnlEmergency.Controls.Add(this.lblPoliteRetries);
            this.pnlEmergency.Controls.Add(this.cmbAlarmMode);
            this.pnlEmergency.Controls.Add(this.lblCycles);
            this.pnlEmergency.Controls.Add(this.cmbAlarmType);
            this.pnlEmergency.Controls.Add(this.lblTxCycle);
            this.pnlEmergency.Controls.Add(this.txtName);
            this.pnlEmergency.Controls.Add(this.lblRxCycle);
            this.pnlEmergency.Dock             = DockStyle.Fill;
            this.pnlEmergency.Location         = new Point(0, 0);
            this.pnlEmergency.Name             = "pnlEmergency";
            this.pnlEmergency.Size             = new Size(327, 376);
            this.pnlEmergency.TabIndex         = 0;
            this.cmbRevertCh.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.cmbRevertCh.FormattingEnabled = true;
            this.cmbRevertCh.Items.AddRange(new object[6]
            {
                "1",
                "2",
                "3",
                "4",
                "5",
                "6"
            });
            this.cmbRevertCh.Location = new Point(167, 148);
            this.cmbRevertCh.Name     = "cmbRevertCh";
            this.cmbRevertCh.Size     = new Size(120, 24);
            this.cmbRevertCh.TabIndex = 7;
            this.nudPoliteRetries.method_2(null);
            this.nudPoliteRetries.Location = new Point(167, 208);
            this.nudPoliteRetries.Maximum  = new decimal(new int[4]
            {
                15,
                0,
                0,
                0
            });
            this.nudPoliteRetries.Name = "nudPoliteRetries";
            this.nudPoliteRetries.method_6(null);
            CustomNumericUpDown @class = this.nudPoliteRetries;

            int[] bits = new int[4];
            @class.method_4(new decimal(bits));
            this.nudPoliteRetries.Size     = new Size(120, 23);
            this.nudPoliteRetries.TabIndex = 11;
            this.nudImpoliteRetries.method_2(null);
            this.nudImpoliteRetries.Location = new Point(167, 178);
            this.nudImpoliteRetries.Maximum  = new decimal(new int[4]
            {
                15,
                0,
                0,
                0
            });
            this.nudImpoliteRetries.Minimum = new decimal(new int[4]
            {
                1,
                0,
                0,
                0
            });
            this.nudImpoliteRetries.Name = "nudImpoliteRetries";
            this.nudImpoliteRetries.method_6(null);
            CustomNumericUpDown class2 = this.nudImpoliteRetries;

            int[] bits2 = new int[4];
            class2.method_4(new decimal(bits2));
            this.nudImpoliteRetries.Size     = new Size(120, 23);
            this.nudImpoliteRetries.TabIndex = 9;
            this.nudImpoliteRetries.Value    = new decimal(new int[4]
            {
                1,
                0,
                0,
                0
            });
            this.nudRxCycle.Increment = new decimal(new int[4]
            {
                10,
                0,
                0,
                0
            });
            this.nudRxCycle.method_2(null);
            this.nudRxCycle.Location = new Point(167, 298);
            this.nudRxCycle.Maximum  = new decimal(new int[4]
            {
                120,
                0,
                0,
                0
            });
            this.nudRxCycle.Minimum = new decimal(new int[4]
            {
                10,
                0,
                0,
                0
            });
            this.nudRxCycle.Name = "nudRxCycle";
            this.nudRxCycle.method_6(null);
            CustomNumericUpDown class3 = this.nudRxCycle;

            int[] bits3 = new int[4];
            class3.method_4(new decimal(bits3));
            this.nudRxCycle.Size     = new Size(120, 23);
            this.nudRxCycle.TabIndex = 17;
            this.nudRxCycle.Value    = new decimal(new int[4]
            {
                10,
                0,
                0,
                0
            });
            this.nudRxCycle.ValueChanged += this.nudRxCycle_ValueChanged;
            this.nudTxCycle.Increment     = new decimal(new int[4]
            {
                10,
                0,
                0,
                0
            });
            this.nudTxCycle.method_2(null);
            this.nudTxCycle.Location = new Point(167, 268);
            this.nudTxCycle.Maximum  = new decimal(new int[4]
            {
                120,
                0,
                0,
                0
            });
            this.nudTxCycle.Minimum = new decimal(new int[4]
            {
                10,
                0,
                0,
                0
            });
            this.nudTxCycle.Name = "nudTxCycle";
            this.nudTxCycle.method_6(null);
            CustomNumericUpDown class4 = this.nudTxCycle;

            int[] bits4 = new int[4];
            class4.method_4(new decimal(bits4));
            this.nudTxCycle.Size     = new Size(120, 23);
            this.nudTxCycle.TabIndex = 15;
            this.nudTxCycle.Value    = new decimal(new int[4]
            {
                10,
                0,
                0,
                0
            });
            this.nudTxCycle.ValueChanged += this.nudTxCycle_ValueChanged;
            this.nudCycles.method_2(null);
            this.nudCycles.Location = new Point(167, 238);
            this.nudCycles.Maximum  = new decimal(new int[4]
            {
                10,
                0,
                0,
                0
            });
            this.nudCycles.Minimum = new decimal(new int[4]
            {
                1,
                0,
                0,
                0
            });
            this.nudCycles.Name = "nudCycles";
            this.nudCycles.method_6(null);
            CustomNumericUpDown class5 = this.nudCycles;

            int[] bits5 = new int[4];
            class5.method_4(new decimal(bits5));
            this.nudCycles.Size     = new Size(120, 23);
            this.nudCycles.TabIndex = 13;
            this.nudCycles.Value    = new decimal(new int[4]
            {
                10,
                0,
                0,
                0
            });
            this.cmbAlarmType.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.cmbAlarmType.FormattingEnabled = true;
            this.cmbAlarmType.Items.AddRange(new object[4]
            {
                "禁用",
                "常规",
                "静默",
                "静默带语音"
            });
            this.cmbAlarmType.Location              = new Point(167, 88);
            this.cmbAlarmType.Name                  = "cmbAlarmType";
            this.cmbAlarmType.Size                  = new Size(120, 24);
            this.cmbAlarmType.TabIndex              = 3;
            this.cmbAlarmType.SelectedIndexChanged += this.cmbAlarmType_SelectedIndexChanged;
            this.txtName.InputString                = null;
            this.txtName.Location      = new Point(167, 58);
            this.txtName.MaxByteLength = 0;
            this.txtName.MaxLength     = 8;
            this.txtName.Name          = "txtName";
            this.txtName.Size          = new Size(120, 23);
            this.txtName.TabIndex      = 1;
            this.txtName.Leave        += this.txtName_Leave;
            base.AutoScaleDimensions   = new SizeF(7f, 16f);
            base.AutoScaleMode         = AutoScaleMode.Font;
            base.ClientSize            = new Size(327, 376);
            base.Controls.Add(this.pnlEmergency);
            this.Font         = new Font("Arial", 10f, FontStyle.Regular, GraphicsUnit.Point, 0);
            base.Name         = "EmergencyForm";
            this.Text         = "Emergency System";
            base.Load        += this.EmergencyForm_Load;
            base.FormClosing += this.EmergencyForm_FormClosing;
            this.pnlEmergency.ResumeLayout(false);
            this.pnlEmergency.PerformLayout();
            ((ISupportInitialize)this.nudPoliteRetries).EndInit();
            ((ISupportInitialize)this.nudImpoliteRetries).EndInit();
            ((ISupportInitialize)this.nudRxCycle).EndInit();
            ((ISupportInitialize)this.nudTxCycle).EndInit();
            ((ISupportInitialize)this.nudCycles).EndInit();
            base.ResumeLayout(false);
            base.PerformLayout();
        }
Exemplo n.º 2
0
        private void InitializeComponent()
        {
            DataGridViewCellStyle dataGridViewCellStyle = new DataGridViewCellStyle();

            this.pnlButton      = new CustomPanel();
            this.class4_1       = new CustomCombo();
            this.dgvOneTouch    = new DataGridView();
            this.cmbMode        = new DataGridViewComboBoxColumn();
            this.cmbCallType    = new DataGridViewComboBoxColumn();
            this.cmbCallList    = new DataGridViewComboBoxColumn();
            this.cmbMsg         = new DataGridViewComboBoxColumn();
            this.lblEmgShortDur = new Label();
            this.class4_2       = new CustomCombo();
            this.lblLongDur     = new Label();
            this.cmbTkLong      = new CustomCombo();
            this.nudEmgShortDur = new CustomNumericUpDown();
            this.cmbTkShort     = new CustomCombo();
            this.nudLongDur     = new CustomNumericUpDown();
            this.class4_3       = new CustomCombo();
            this.lblSK1         = new Label();
            this.class4_0       = new CustomCombo();
            this.lblSK2         = new Label();
            this.lblLongPress   = new Label();
            this.lblTK          = new Label();
            this.lblShortPress  = new Label();
            this.pnlButton.SuspendLayout();
            ((ISupportInitialize)this.dgvOneTouch).BeginInit();
            ((ISupportInitialize)this.nudEmgShortDur).BeginInit();
            ((ISupportInitialize)this.nudLongDur).BeginInit();
            base.SuspendLayout();
            this.pnlButton.AutoScroll = true;
            this.pnlButton.AutoSize   = true;
            this.pnlButton.Controls.Add(this.class4_1);
            this.pnlButton.Controls.Add(this.dgvOneTouch);
            this.pnlButton.Controls.Add(this.lblEmgShortDur);
            this.pnlButton.Controls.Add(this.class4_2);
            this.pnlButton.Controls.Add(this.lblLongDur);
            this.pnlButton.Controls.Add(this.cmbTkLong);
            this.pnlButton.Controls.Add(this.nudEmgShortDur);
            this.pnlButton.Controls.Add(this.cmbTkShort);
            this.pnlButton.Controls.Add(this.nudLongDur);
            this.pnlButton.Controls.Add(this.class4_3);
            this.pnlButton.Controls.Add(this.lblSK1);
            this.pnlButton.Controls.Add(this.class4_0);
            this.pnlButton.Controls.Add(this.lblSK2);
            this.pnlButton.Controls.Add(this.lblLongPress);
            this.pnlButton.Controls.Add(this.lblTK);
            this.pnlButton.Controls.Add(this.lblShortPress);
            this.pnlButton.Dock             = DockStyle.Fill;
            this.pnlButton.Location         = new Point(0, 0);
            this.pnlButton.Name             = "pnlButton";
            this.pnlButton.Size             = new Size(627, 499);
            this.pnlButton.TabIndex         = 16;
            this.class4_1.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.class4_1.FormattingEnabled = true;
            this.class4_1.Location          = new Point(170, 137);
            this.class4_1.Name                             = "cmbSk1Short";
            this.class4_1.Size                             = new Size(179, 24);
            this.class4_1.TabIndex                         = 7;
            this.class4_1.SelectedIndexChanged            += this.class4_1_SelectedIndexChanged;
            this.dgvOneTouch.AllowUserToAddRows            = false;
            dataGridViewCellStyle.Alignment                = DataGridViewContentAlignment.MiddleCenter;
            dataGridViewCellStyle.BackColor                = SystemColors.Control;
            dataGridViewCellStyle.Font                     = new Font("Arial", 10f, FontStyle.Regular);
            dataGridViewCellStyle.ForeColor                = SystemColors.WindowText;
            dataGridViewCellStyle.SelectionBackColor       = SystemColors.Highlight;
            dataGridViewCellStyle.SelectionForeColor       = SystemColors.HighlightText;
            dataGridViewCellStyle.WrapMode                 = DataGridViewTriState.True;
            this.dgvOneTouch.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle;
            this.dgvOneTouch.ColumnHeadersHeightSizeMode   = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dgvOneTouch.Columns.AddRange(this.cmbMode, this.cmbCallType, this.cmbCallList, this.cmbMsg);
            this.dgvOneTouch.EditMode           = DataGridViewEditMode.EditOnEnter;
            this.dgvOneTouch.Location           = new Point(26, 259);
            this.dgvOneTouch.Name               = "dgvOneTouch";
            this.dgvOneTouch.RowTemplate.Height = 23;
            this.dgvOneTouch.Size               = new Size(574, 212);
            this.dgvOneTouch.TabIndex           = 15;
            this.dgvOneTouch.CellValueChanged  += this.dgvOneTouch_CellValueChanged;
            this.dgvOneTouch.RowPostPaint      += this.dgvOneTouch_RowPostPaint;
            this.dgvOneTouch.DataError         += this.dgvOneTouch_DataError;
            this.cmbMode.DisplayStyle           = DataGridViewComboBoxDisplayStyle.Nothing;
            this.cmbMode.HeaderText             = "Mode";
            this.cmbMode.Name             = "cmbMode";
            this.cmbCallType.DisplayStyle = DataGridViewComboBoxDisplayStyle.Nothing;
            this.cmbCallType.HeaderText   = "Call Type";
            this.cmbCallType.Name         = "cmbCallType";
            this.cmbCallList.DisplayStyle = DataGridViewComboBoxDisplayStyle.Nothing;
            this.cmbCallList.HeaderText   = "Call";
            this.cmbCallList.Name         = "cmbCallList";
            this.cmbMsg.DisplayStyle      = DataGridViewComboBoxDisplayStyle.Nothing;
            this.cmbMsg.HeaderText        = "Text Message";
            this.cmbMsg.Name                     = "cmbMsg";
            this.cmbMsg.Width                    = 150;
            this.lblEmgShortDur.Location         = new Point(106, 36);
            this.lblEmgShortDur.Name             = "lblEmgShortDur";
            this.lblEmgShortDur.Size             = new Size(245, 24);
            this.lblEmgShortDur.TabIndex         = 0;
            this.lblEmgShortDur.Text             = "Emergency Short Press Duration [ms]";
            this.lblEmgShortDur.TextAlign        = ContentAlignment.MiddleRight;
            this.lblEmgShortDur.Visible          = false;
            this.class4_2.DropDownStyle          = ComboBoxStyle.DropDownList;
            this.class4_2.FormattingEnabled      = true;
            this.class4_2.Location               = new Point(362, 137);
            this.class4_2.Name                   = "cmbSk1Long";
            this.class4_2.Size                   = new Size(179, 24);
            this.class4_2.TabIndex               = 8;
            this.class4_2.SelectedIndexChanged  += this.class4_2_SelectedIndexChanged;
            this.lblLongDur.Location             = new Point(106, 68);
            this.lblLongDur.Name                 = "lblLongDur";
            this.lblLongDur.Size                 = new Size(245, 24);
            this.lblLongDur.TabIndex             = 2;
            this.lblLongDur.Text                 = "Long Press Duration [ms]";
            this.lblLongDur.TextAlign            = ContentAlignment.MiddleRight;
            this.cmbTkLong.DropDownStyle         = ComboBoxStyle.DropDownList;
            this.cmbTkLong.FormattingEnabled     = true;
            this.cmbTkLong.Location              = new Point(362, 197);
            this.cmbTkLong.Name                  = "cmbTkLong";
            this.cmbTkLong.Size                  = new Size(179, 24);
            this.cmbTkLong.TabIndex              = 14;
            this.cmbTkLong.SelectedIndexChanged += this.cmbTkLong_SelectedIndexChanged;
            this.nudEmgShortDur.Increment        = new decimal(new int[4]
            {
                50,
                0,
                0,
                0
            });
            this.nudEmgShortDur.method_2(null);
            this.nudEmgShortDur.Location = new Point(367, 36);
            this.nudEmgShortDur.Maximum  = new decimal(new int[4]
            {
                750,
                0,
                0,
                0
            });
            this.nudEmgShortDur.Minimum = new decimal(new int[4]
            {
                50,
                0,
                0,
                0
            });
            this.nudEmgShortDur.Name = "nudEmgShortDur";
            this.nudEmgShortDur.method_6(null);
            CustomNumericUpDown @class = this.nudEmgShortDur;

            int[] bits = new int[4];
            @class.method_4(new decimal(bits));
            this.nudEmgShortDur.Size     = new Size(120, 23);
            this.nudEmgShortDur.TabIndex = 1;
            this.nudEmgShortDur.Value    = new decimal(new int[4]
            {
                50,
                0,
                0,
                0
            });
            this.nudEmgShortDur.Visible       = false;
            this.cmbTkShort.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.cmbTkShort.FormattingEnabled = true;
            this.cmbTkShort.Location          = new Point(170, 197);
            this.cmbTkShort.Name                  = "cmbTkShort";
            this.cmbTkShort.Size                  = new Size(179, 24);
            this.cmbTkShort.TabIndex              = 13;
            this.cmbTkShort.SelectedIndexChanged += this.cmbTkShort_SelectedIndexChanged;
            this.nudLongDur.Increment             = new decimal(new int[4]
            {
                250,
                0,
                0,
                0
            });
            this.nudLongDur.method_2(null);
            this.nudLongDur.Location = new Point(367, 68);
            this.nudLongDur.Maximum  = new decimal(new int[4]
            {
                3750,
                0,
                0,
                0
            });
            this.nudLongDur.Minimum = new decimal(new int[4]
            {
                1500,
                0,
                0,
                0
            });
            this.nudLongDur.Name = "nudLongDur";
            this.nudLongDur.method_6(null);
            CustomNumericUpDown class2 = this.nudLongDur;

            int[] bits2 = new int[4];
            class2.method_4(new decimal(bits2));
            this.nudLongDur.Size     = new Size(120, 23);
            this.nudLongDur.TabIndex = 3;
            this.nudLongDur.Value    = new decimal(new int[4]
            {
                1500,
                0,
                0,
                0
            });
            this.class4_3.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.class4_3.FormattingEnabled = true;
            this.class4_3.Items.AddRange(new object[3]
            {
                "紧急报警",
                "紧急报警和呼叫",
                "紧急报警和语音"
            });
            this.class4_3.Location              = new Point(362, 167);
            this.class4_3.Name                  = "cmbSk2Long";
            this.class4_3.Size                  = new Size(179, 24);
            this.class4_3.TabIndex              = 11;
            this.class4_3.SelectedIndexChanged += this.class4_3_SelectedIndexChanged;
            this.lblSK1.Location                = new Point(86, 137);
            this.lblSK1.Name                    = "lblSK1";
            this.lblSK1.Size                    = new Size(76, 24);
            this.lblSK1.TabIndex                = 6;
            this.lblSK1.Text                    = "SK1";
            this.lblSK1.TextAlign               = ContentAlignment.MiddleRight;
            this.class4_0.DropDownStyle         = ComboBoxStyle.DropDownList;
            this.class4_0.FormattingEnabled     = true;
            this.class4_0.Location              = new Point(170, 167);
            this.class4_0.Name                  = "cmbSk2Short";
            this.class4_0.Size                  = new Size(179, 24);
            this.class4_0.TabIndex              = 10;
            this.class4_0.SelectedIndexChanged += this.class4_0_SelectedIndexChanged;
            this.lblSK2.Location                = new Point(86, 167);
            this.lblSK2.Name                    = "lblSK2";
            this.lblSK2.Size                    = new Size(76, 24);
            this.lblSK2.TabIndex                = 9;
            this.lblSK2.Text                    = "SK2";
            this.lblSK2.TextAlign               = ContentAlignment.MiddleRight;
            this.lblLongPress.Location          = new Point(362, 113);
            this.lblLongPress.Name              = "lblLongPress";
            this.lblLongPress.Size              = new Size(179, 16);
            this.lblLongPress.TabIndex          = 5;
            this.lblLongPress.Text              = "Long Press";
            this.lblLongPress.TextAlign         = ContentAlignment.MiddleCenter;
            this.lblTK.Location                 = new Point(86, 197);
            this.lblTK.Name              = "lblTK";
            this.lblTK.Size              = new Size(76, 24);
            this.lblTK.TabIndex          = 12;
            this.lblTK.Text              = "TK";
            this.lblTK.TextAlign         = ContentAlignment.MiddleRight;
            this.lblShortPress.Location  = new Point(170, 112);
            this.lblShortPress.Name      = "lblShortPress";
            this.lblShortPress.Size      = new Size(179, 16);
            this.lblShortPress.TabIndex  = 4;
            this.lblShortPress.Text      = "Short Press";
            this.lblShortPress.TextAlign = ContentAlignment.MiddleCenter;
            base.AutoScaleDimensions     = new SizeF(7f, 16f);
//			base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new Size(627, 499);
            base.Controls.Add(this.pnlButton);
            this.Font         = new Font("Arial", 10f, FontStyle.Regular);
            base.Name         = "ButtonForm";
            this.Text         = "Buttons";
            base.Load        += this.ButtonForm_Load;
            base.FormClosing += this.ButtonForm_FormClosing;
            this.pnlButton.ResumeLayout(false);
            ((ISupportInitialize)this.dgvOneTouch).EndInit();
            ((ISupportInitialize)this.nudEmgShortDur).EndInit();
            ((ISupportInitialize)this.nudLongDur).EndInit();
            base.ResumeLayout(false);
            base.PerformLayout();
        }