public Form1()
    {
        InitializeComponent();
        CustomNumericUpDown nudTest = new CustomNumericUpDown();

        nudTest.QueryCancelValueChanging += NudTest_QueryCancelValueChanging;
    }
Пример #2
0
        internal static void CheckProxyStatusEnabled(Options form)
        {
            CheckBox            enableProxySettingsCheckBox = form.enableProxySettingsCheckBox;
            TextBox             usernameTextBox             = form.usernameTextBox;
            TextBox             passwordTextBox             = form.passwordTextBox;
            TextBox             confirmTextBox         = form.domainTextBox;
            TextBox             proxyHostTextBox       = form.proxyHostTextBox;
            CustomNumericUpDown proxyPortNumericUpDown = form.proxyPortNumericUpDown;
            PictureBox          statusPictureBox       = form.statusPictureBox;
            Button checkConnectionButton = form.checkConnectionButton;

            if (!enableProxySettingsCheckBox.Checked)
            {
                usernameTextBox.Enabled        = false;
                passwordTextBox.Enabled        = false;
                confirmTextBox.Enabled         = false;
                proxyHostTextBox.Enabled       = false;
                proxyPortNumericUpDown.Enabled = false;
                statusPictureBox.Visible       = false;
                checkConnectionButton.Enabled  = false;
            }
            else
            {
                usernameTextBox.Enabled        = true;
                passwordTextBox.Enabled        = true;
                confirmTextBox.Enabled         = true;
                proxyHostTextBox.Enabled       = true;
                proxyPortNumericUpDown.Enabled = true;
                checkConnectionButton.Enabled  = true;
            }
        }
Пример #3
0
        internal static void ManageControl(Control control, String formName)
        {
            CustomNumericUpDown controlCustomNumeric = ((CustomNumericUpDown)control);

            if (controlCustomNumeric.CustomContextMenuStrip != null)
            {
                LanguageUtil.CicleControls(formName, controlCustomNumeric.CustomContextMenuStrip.Items);
            }
        }
Пример #4
0
        private void nudRxCycle_ValueChanged(object sender, EventArgs e)
        {
            decimal num = this.nudRxCycle.Value % this.nudRxCycle.Increment;

            if (num != 0m)
            {
                CustomNumericUpDown @class = this.nudRxCycle;
                @class.Value -= num;
            }
        }
Пример #5
0
 private void InitializeComponent()
 {
     this.pnlSignalingBasic = new CustomPanel();
     this.nudTxSyncWakeTot  = new CustomNumericUpDown();
     this.chkCallAlert      = new System.Windows.Forms.CheckBox();
     this.nudAutoResetTimer = new CustomNumericUpDown();
     this.chkRadioDisable   = new System.Windows.Forms.CheckBox();
     this.nudTxWakeMsgLimit = new CustomNumericUpDown();
     this.chkRemoteMonitor  = new System.Windows.Forms.CheckBox();
     this.nudRMDuration     = new CustomNumericUpDown();
     this.chkEmgRM          = new System.Windows.Forms.CheckBox();
     this.lblTxSyncWakeTot  = new System.Windows.Forms.Label();
     this.chkSelCall        = new System.Windows.Forms.CheckBox();
     this.lblTxWakeMsgLimit = new System.Windows.Forms.Label();
     this.cmbSelCallToneId  = new System.Windows.Forms.ComboBox();
     this.nudSelCallHang    = new CustomNumericUpDown();
     this.lblSelCallToneId  = new System.Windows.Forms.Label();
     this.lblRMDuration     = new System.Windows.Forms.Label();
     this.lblSelCallHang    = new System.Windows.Forms.Label();
     this.lblAutoResetTimer = new System.Windows.Forms.Label();
     this.pnlSignalingBasic.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nudTxSyncWakeTot)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudAutoResetTimer)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudTxWakeMsgLimit)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudRMDuration)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudSelCallHang)).BeginInit();
     this.SuspendLayout();
     //
     // pnlSignalingBasic
     //
     this.pnlSignalingBasic.AutoScroll = true;
     this.pnlSignalingBasic.AutoSize   = true;
     this.pnlSignalingBasic.Controls.Add(this.nudTxSyncWakeTot);
     this.pnlSignalingBasic.Controls.Add(this.chkCallAlert);
     this.pnlSignalingBasic.Controls.Add(this.nudAutoResetTimer);
     this.pnlSignalingBasic.Controls.Add(this.chkRadioDisable);
     this.pnlSignalingBasic.Controls.Add(this.nudTxWakeMsgLimit);
     this.pnlSignalingBasic.Controls.Add(this.chkRemoteMonitor);
     this.pnlSignalingBasic.Controls.Add(this.nudRMDuration);
     this.pnlSignalingBasic.Controls.Add(this.chkEmgRM);
     this.pnlSignalingBasic.Controls.Add(this.lblTxSyncWakeTot);
     this.pnlSignalingBasic.Controls.Add(this.chkSelCall);
     this.pnlSignalingBasic.Controls.Add(this.lblTxWakeMsgLimit);
     this.pnlSignalingBasic.Controls.Add(this.cmbSelCallToneId);
     this.pnlSignalingBasic.Controls.Add(this.nudSelCallHang);
     this.pnlSignalingBasic.Controls.Add(this.lblSelCallToneId);
     this.pnlSignalingBasic.Controls.Add(this.lblRMDuration);
     this.pnlSignalingBasic.Controls.Add(this.lblSelCallHang);
     this.pnlSignalingBasic.Controls.Add(this.lblAutoResetTimer);
     this.pnlSignalingBasic.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.pnlSignalingBasic.Location = new System.Drawing.Point(0, 0);
     this.pnlSignalingBasic.Name     = "pnlSignalingBasic";
     this.pnlSignalingBasic.Size     = new System.Drawing.Size(381, 224);
     this.pnlSignalingBasic.TabIndex = 0;
     //
     // nudTxSyncWakeTot
     //
     this.nudTxSyncWakeTot.Increment = new decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.nudTxSyncWakeTot.Location = new System.Drawing.Point(245, 158);
     this.nudTxSyncWakeTot.Maximum  = new decimal(new int[] {
         375,
         0,
         0,
         0
     });
     this.nudTxSyncWakeTot.Minimum = new decimal(new int[] {
         125,
         0,
         0,
         0
     });
     this.nudTxSyncWakeTot.Name     = "nudTxSyncWakeTot";
     this.nudTxSyncWakeTot.Size     = new System.Drawing.Size(120, 23);
     this.nudTxSyncWakeTot.TabIndex = 8;
     this.nudTxSyncWakeTot.Value    = new decimal(new int[] {
         125,
         0,
         0,
         0
     });
     //
     // chkCallAlert
     //
     this.chkCallAlert.AutoSize = true;
     this.chkCallAlert.Location = new System.Drawing.Point(206, 188);
     this.chkCallAlert.Name     = "chkCallAlert";
     this.chkCallAlert.Size     = new System.Drawing.Size(135, 20);
     this.chkCallAlert.TabIndex = 9;
     this.chkCallAlert.Text     = "Call Alert Encode";
     this.chkCallAlert.UseVisualStyleBackColor = true;
     this.chkCallAlert.Visible = false;
     //
     // nudAutoResetTimer
     //
     this.nudAutoResetTimer.Location = new System.Drawing.Point(214, 192);
     this.nudAutoResetTimer.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.nudAutoResetTimer.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.nudAutoResetTimer.Name     = "nudAutoResetTimer";
     this.nudAutoResetTimer.Size     = new System.Drawing.Size(120, 23);
     this.nudAutoResetTimer.TabIndex = 16;
     this.nudAutoResetTimer.Value    = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.nudAutoResetTimer.Visible = false;
     //
     // chkRadioDisable
     //
     this.chkRadioDisable.AutoSize = true;
     this.chkRadioDisable.Location = new System.Drawing.Point(52, 12);
     this.chkRadioDisable.Name     = "chkRadioDisable";
     this.chkRadioDisable.Size     = new System.Drawing.Size(168, 20);
     this.chkRadioDisable.TabIndex = 0;
     this.chkRadioDisable.Text     = "Radio Disable Decode";
     this.chkRadioDisable.UseVisualStyleBackColor = true;
     this.chkRadioDisable.CheckedChanged         += new System.EventHandler(this.chkRadioDisable_CheckedChanged);
     //
     // nudTxWakeMsgLimit
     //
     this.nudTxWakeMsgLimit.Location = new System.Drawing.Point(245, 98);
     this.nudTxWakeMsgLimit.Maximum  = new decimal(new int[] {
         4,
         0,
         0,
         0
     });
     this.nudTxWakeMsgLimit.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.nudTxWakeMsgLimit.Name     = "nudTxWakeMsgLimit";
     this.nudTxWakeMsgLimit.Size     = new System.Drawing.Size(120, 23);
     this.nudTxWakeMsgLimit.TabIndex = 4;
     this.nudTxWakeMsgLimit.Value    = new decimal(new int[] {
         4,
         0,
         0,
         0
     });
     //
     // chkRemoteMonitor
     //
     this.chkRemoteMonitor.AutoSize = true;
     this.chkRemoteMonitor.Location = new System.Drawing.Point(52, 36);
     this.chkRemoteMonitor.Name     = "chkRemoteMonitor";
     this.chkRemoteMonitor.Size     = new System.Drawing.Size(180, 20);
     this.chkRemoteMonitor.TabIndex = 1;
     this.chkRemoteMonitor.Text     = "Remote Monitor Decode";
     this.chkRemoteMonitor.UseVisualStyleBackColor = true;
     //
     // nudRMDuration
     //
     this.nudRMDuration.Increment = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.nudRMDuration.Location = new System.Drawing.Point(245, 128);
     this.nudRMDuration.Maximum  = new decimal(new int[] {
         120,
         0,
         0,
         0
     });
     this.nudRMDuration.Minimum = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.nudRMDuration.Name     = "nudRMDuration";
     this.nudRMDuration.Size     = new System.Drawing.Size(120, 23);
     this.nudRMDuration.TabIndex = 6;
     this.nudRMDuration.Value    = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     //
     // chkEmgRM
     //
     this.chkEmgRM.AutoSize = true;
     this.chkEmgRM.Location = new System.Drawing.Point(52, 62);
     this.chkEmgRM.Name     = "chkEmgRM";
     this.chkEmgRM.Size     = new System.Drawing.Size(255, 20);
     this.chkEmgRM.TabIndex = 2;
     this.chkEmgRM.Text     = "Emergency Romote Monitor Decode";
     this.chkEmgRM.UseVisualStyleBackColor = true;
     //
     // lblTxSyncWakeTot
     //
     this.lblTxSyncWakeTot.Location  = new System.Drawing.Point(49, 158);
     this.lblTxSyncWakeTot.Name      = "lblTxSyncWakeTot";
     this.lblTxSyncWakeTot.Size      = new System.Drawing.Size(185, 24);
     this.lblTxSyncWakeTot.TabIndex  = 7;
     this.lblTxSyncWakeTot.Text      = "Tx Sync Wakeup TOT [ms]";
     this.lblTxSyncWakeTot.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // chkSelCall
     //
     this.chkSelCall.AutoSize = true;
     this.chkSelCall.Location = new System.Drawing.Point(208, 188);
     this.chkSelCall.Name     = "chkSelCall";
     this.chkSelCall.Size     = new System.Drawing.Size(131, 20);
     this.chkSelCall.TabIndex = 10;
     this.chkSelCall.Text     = "Self Call Encode";
     this.chkSelCall.UseVisualStyleBackColor = true;
     this.chkSelCall.Visible = false;
     //
     // lblTxWakeMsgLimit
     //
     this.lblTxWakeMsgLimit.Location  = new System.Drawing.Point(49, 98);
     this.lblTxWakeMsgLimit.Name      = "lblTxWakeMsgLimit";
     this.lblTxWakeMsgLimit.Size      = new System.Drawing.Size(185, 24);
     this.lblTxWakeMsgLimit.TabIndex  = 3;
     this.lblTxWakeMsgLimit.Text      = "Tx Wakeup Message Limit";
     this.lblTxWakeMsgLimit.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // cmbSelCallToneId
     //
     this.cmbSelCallToneId.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbSelCallToneId.FormattingEnabled = true;
     this.cmbSelCallToneId.Items.AddRange(new object[] {
         "前置",
         "始终"
     });
     this.cmbSelCallToneId.Location = new System.Drawing.Point(209, 188);
     this.cmbSelCallToneId.Name     = "cmbSelCallToneId";
     this.cmbSelCallToneId.Size     = new System.Drawing.Size(121, 24);
     this.cmbSelCallToneId.TabIndex = 12;
     this.cmbSelCallToneId.Visible  = false;
     //
     // nudSelCallHang
     //
     this.nudSelCallHang.Increment = new decimal(new int[] {
         500,
         0,
         0,
         0
     });
     this.nudSelCallHang.Location = new System.Drawing.Point(219, 190);
     this.nudSelCallHang.Maximum  = new decimal(new int[] {
         7000,
         0,
         0,
         0
     });
     this.nudSelCallHang.Name     = "nudSelCallHang";
     this.nudSelCallHang.Size     = new System.Drawing.Size(120, 23);
     this.nudSelCallHang.TabIndex = 14;
     this.nudSelCallHang.Visible  = false;
     //
     // lblSelCallToneId
     //
     this.lblSelCallToneId.Location  = new System.Drawing.Point(13, 188);
     this.lblSelCallToneId.Name      = "lblSelCallToneId";
     this.lblSelCallToneId.Size      = new System.Drawing.Size(185, 24);
     this.lblSelCallToneId.TabIndex  = 11;
     this.lblSelCallToneId.Text      = "Self Call Tone/ID";
     this.lblSelCallToneId.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblSelCallToneId.Visible   = false;
     //
     // lblRMDuration
     //
     this.lblRMDuration.Location  = new System.Drawing.Point(49, 128);
     this.lblRMDuration.Name      = "lblRMDuration";
     this.lblRMDuration.Size      = new System.Drawing.Size(185, 24);
     this.lblRMDuration.TabIndex  = 5;
     this.lblRMDuration.Text      = "Remote Monitor Duration [s]";
     this.lblRMDuration.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lblSelCallHang
     //
     this.lblSelCallHang.Location  = new System.Drawing.Point(23, 190);
     this.lblSelCallHang.Name      = "lblSelCallHang";
     this.lblSelCallHang.Size      = new System.Drawing.Size(185, 24);
     this.lblSelCallHang.TabIndex  = 13;
     this.lblSelCallHang.Text      = "Self Call Hang Time [ms]";
     this.lblSelCallHang.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblSelCallHang.Visible   = false;
     //
     // lblAutoResetTimer
     //
     this.lblAutoResetTimer.Location  = new System.Drawing.Point(18, 192);
     this.lblAutoResetTimer.Name      = "lblAutoResetTimer";
     this.lblAutoResetTimer.Size      = new System.Drawing.Size(185, 24);
     this.lblAutoResetTimer.TabIndex  = 15;
     this.lblAutoResetTimer.Text      = "Auto Reset Timer [s]";
     this.lblAutoResetTimer.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblAutoResetTimer.Visible   = false;
     //
     // SignalingBasicForm
     //
     this.ClientSize = new System.Drawing.Size(381, 224);
     this.Controls.Add(this.pnlSignalingBasic);
     this.Font = new System.Drawing.Font("Arial", 10F);
     this.Name = "SignalingBasicForm";
     this.Text = "Signaling System";
     this.pnlSignalingBasic.ResumeLayout(false);
     this.pnlSignalingBasic.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nudTxSyncWakeTot)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudAutoResetTimer)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudTxWakeMsgLimit)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudRMDuration)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudSelCallHang)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #6
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            += new EventHandler(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  += new DataGridViewCellEventHandler(this.dgvOneTouch_CellValueChanged);
            this.dgvOneTouch.RowPostPaint      += new DataGridViewRowPostPaintEventHandler(this.dgvOneTouch_RowPostPaint);
            this.dgvOneTouch.DataError         += new DataGridViewDataErrorEventHandler(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  += new EventHandler(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 += new EventHandler(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];
            this.nudEmgShortDur.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 += new EventHandler(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);

            int[] bits2 = new int[4];
            this.nudLongDur.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 += new EventHandler(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 += new EventHandler(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        += new EventHandler(this.ButtonForm_Load);
            base.FormClosing += new FormClosingEventHandler(this.ButtonForm_FormClosing);
            this.pnlButton.ResumeLayout(false);
            ((ISupportInitialize)this.dgvOneTouch).EndInit();
            ((ISupportInitialize)this.nudEmgShortDur).EndInit();
            ((ISupportInitialize)this.nudLongDur).EndInit();
            base.ResumeLayout(false);
            base.PerformLayout();
        }
Пример #7
0
        private void InitializeComponent()
        {
            this.pnlScanBasic     = new CustomPanel();
            this.nudAnalogHang    = new CustomNumericUpDown();
            this.nudScanTime      = new CustomNumericUpDown();
            this.lblScanTime      = new Label();
            this.nudStartVoteRssi = new CustomNumericUpDown();
            this.lblDigitHang     = new Label();
            this.nudFastVoteRssi  = new CustomNumericUpDown();
            this.lblAnalogHang    = new Label();
            this.nudVoteHang      = new CustomNumericUpDown();
            this.lblVoteHang      = new Label();
            this.lblFastVoteRssi  = new Label();
            this.nudDigitHang     = new CustomNumericUpDown();
            this.lblStartVoteRssi = new Label();
            this.chkPriorityAlert = new CheckBox();
            this.pnlScanBasic.SuspendLayout();
            ((ISupportInitialize)this.nudAnalogHang).BeginInit();
            ((ISupportInitialize)this.nudStartVoteRssi).BeginInit();
            ((ISupportInitialize)this.nudFastVoteRssi).BeginInit();
            ((ISupportInitialize)this.nudVoteHang).BeginInit();
            ((ISupportInitialize)this.nudDigitHang).BeginInit();
            ((ISupportInitialize)this.nudScanTime).BeginInit();
            base.SuspendLayout();
            this.pnlScanBasic.AutoScroll = true;
            this.pnlScanBasic.AutoSize   = true;
            this.pnlScanBasic.Controls.Add(this.nudAnalogHang);
            this.pnlScanBasic.Controls.Add(this.nudScanTime);
            this.pnlScanBasic.Controls.Add(this.nudStartVoteRssi);
            this.pnlScanBasic.Controls.Add(this.lblDigitHang);
            this.pnlScanBasic.Controls.Add(this.nudFastVoteRssi);
            this.pnlScanBasic.Controls.Add(this.lblAnalogHang);
            this.pnlScanBasic.Controls.Add(this.lblScanTime);
            this.pnlScanBasic.Controls.Add(this.nudVoteHang);
            this.pnlScanBasic.Controls.Add(this.lblVoteHang);
            this.pnlScanBasic.Controls.Add(this.lblFastVoteRssi);
            this.pnlScanBasic.Controls.Add(this.nudDigitHang);
            this.pnlScanBasic.Controls.Add(this.lblStartVoteRssi);
            this.pnlScanBasic.Controls.Add(this.chkPriorityAlert);
            this.pnlScanBasic.Dock       = DockStyle.Fill;
            this.pnlScanBasic.Location   = new Point(0, 0);
            this.pnlScanBasic.Name       = "pnlScanBasic";
            this.pnlScanBasic.Size       = new Size(465, 328);
            this.pnlScanBasic.TabIndex   = 0;
            this.nudAnalogHang.Increment = new decimal(new int[4]
            {
                500,
                0,
                0,
                0
            });
            this.nudAnalogHang.method_2(null);
            this.nudAnalogHang.Location = new Point(261, 104);
            this.nudAnalogHang.Maximum  = new decimal(new int[4]
            {
                10000,
                0,
                0,
                0
            });
            this.nudAnalogHang.Minimum = new decimal(new int[4]
            {
                500,
                0,
                0,
                0
            });
            this.nudAnalogHang.Name = "nudAnalogHang";
            this.nudAnalogHang.method_6(null);
            CustomNumericUpDown @class = this.nudAnalogHang;

            int[] bits = new int[4];
            this.nudAnalogHang.method_4(new decimal(bits));
            this.nudAnalogHang.Size     = new Size(140, 23);
            this.nudAnalogHang.TabIndex = 3;
            this.nudAnalogHang.Value    = new decimal(new int[4]
            {
                500,
                0,
                0,
                0
            });

            this.nudScanTime.Increment = new decimal(new int[4]
            {
                5,
                0,
                0,
                0
            });
            this.nudScanTime.method_2(null);
            this.nudScanTime.Location = new Point(261, 40);
            this.nudScanTime.Maximum  = new decimal(new int[4]
            {
                60,
                0,
                0,
                0
            });
            this.nudScanTime.Minimum = new decimal(new int[4]
            {
                5,
                0,
                0,
                0
            });
            this.nudScanTime.Name = "nudScanTime";
            this.nudScanTime.method_6(null);
            CustomNumericUpDown class9 = this.nudScanTime;

            int[] bits9 = new int[4];
            this.nudScanTime.method_4(new decimal(bits9));
            this.nudScanTime.Size     = new Size(140, 23);
            this.nudScanTime.TabIndex = 6;
            this.nudScanTime.Value    = new decimal(new int[4]
            {
                5,
                0,
                0,
                0
            });
#if CP_VER_3_0_6
            this.nudScanTime.Visible = false;
            this.lblScanTime.Visible = false;
#elif CP_VER_3_1_X
            this.nudScanTime.Visible = true;
            this.lblScanTime.Visible = true;
#endif

            this.nudStartVoteRssi.method_2(null);
            this.nudStartVoteRssi.Location = new Point(261, 234);
            this.nudStartVoteRssi.Maximum  = new decimal(new int[4]
            {
                70,
                0,
                0,
                -2147483648
            });
            this.nudStartVoteRssi.Minimum = new decimal(new int[4]
            {
                120,
                0,
                0,
                -2147483648
            });
            this.nudStartVoteRssi.Name = "nudStartVoteRssi";
            this.nudStartVoteRssi.method_6(null);
            CustomNumericUpDown class2 = this.nudStartVoteRssi;
            int[] bits2 = new int[4];
            this.nudStartVoteRssi.method_4(new decimal(bits2));
            this.nudStartVoteRssi.Size     = new Size(140, 23);
            this.nudStartVoteRssi.TabIndex = 10;
            this.nudStartVoteRssi.Value    = new decimal(new int[4]
            {
                70,
                0,
                0,
                -2147483648
            });
            this.nudStartVoteRssi.Visible = false;
            this.lblDigitHang.Location    = new Point(50, 72);
            this.lblDigitHang.Name        = "lblDigitHang";
            this.lblDigitHang.Size        = new Size(198, 23);
            this.lblDigitHang.TabIndex    = 0;
            this.lblDigitHang.Text        = "Digital Hang Time [ms]";
            this.lblDigitHang.TextAlign   = ContentAlignment.MiddleRight;
            this.nudFastVoteRssi.method_2(null);
            this.nudFastVoteRssi.Location = new Point(261, 202);
            this.nudFastVoteRssi.Maximum  = new decimal(new int[4]
            {
                70,
                0,
                0,
                -2147483648
            });
            this.nudFastVoteRssi.Minimum = new decimal(new int[4]
            {
                120,
                0,
                0,
                -2147483648
            });
            this.nudFastVoteRssi.Name = "nudFastVoteRssi";
            this.nudFastVoteRssi.method_6(null);
            CustomNumericUpDown class3 = this.nudFastVoteRssi;
            int[] bits3 = new int[4];
            this.nudFastVoteRssi.method_4(new decimal(bits3));
            this.nudFastVoteRssi.Size     = new Size(140, 23);
            this.nudFastVoteRssi.TabIndex = 8;
            this.nudFastVoteRssi.Value    = new decimal(new int[4]
            {
                70,
                0,
                0,
                -2147483648
            });
            this.nudFastVoteRssi.Visible = false;
            this.lblAnalogHang.Location  = new Point(50, 104);
            this.lblAnalogHang.Name      = "lblAnalogHang";
            this.lblAnalogHang.Size      = new Size(198, 23);
            this.lblAnalogHang.TabIndex  = 2;
            this.lblAnalogHang.Text      = "Analog Hang Time [ms]";
            this.lblAnalogHang.TextAlign = ContentAlignment.MiddleRight;

            this.lblScanTime.Location  = new Point(50, 40);
            this.lblScanTime.Name      = "lblScanTime";
            this.lblScanTime.Size      = new Size(198, 23);
            this.lblScanTime.TabIndex  = 10;
            this.lblScanTime.Text      = "Scan Time [s]";
            this.lblScanTime.TextAlign = ContentAlignment.MiddleRight;

            this.nudVoteHang.DecimalPlaces = 2;
            this.nudVoteHang.Increment     = new decimal(new int[4]
            {
                25,
                0,
                0,
                131072
            });
            this.nudVoteHang.method_2(null);
            this.nudVoteHang.Location = new Point(261, 169);
            this.nudVoteHang.Maximum  = new decimal(new int[4]
            {
                6375,
                0,
                0,
                131072
            });
            this.nudVoteHang.Name = "nudVoteHang";
            this.nudVoteHang.method_6(null);
            CustomNumericUpDown class4 = this.nudVoteHang;
            int[] bits4 = new int[4];
            this.nudVoteHang.method_4(new decimal(bits4));
            this.nudVoteHang.Size          = new Size(140, 23);
            this.nudVoteHang.TabIndex      = 6;
            this.nudVoteHang.Visible       = false;
            this.lblVoteHang.Location      = new Point(50, 169);
            this.lblVoteHang.Name          = "lblVoteHang";
            this.lblVoteHang.Size          = new Size(198, 23);
            this.lblVoteHang.TabIndex      = 5;
            this.lblVoteHang.Text          = "Vote Scan Hang Time [s]";
            this.lblVoteHang.TextAlign     = ContentAlignment.MiddleRight;
            this.lblVoteHang.Visible       = false;
            this.lblFastVoteRssi.Location  = new Point(50, 202);
            this.lblFastVoteRssi.Name      = "lblFastVoteRssi";
            this.lblFastVoteRssi.Size      = new Size(198, 23);
            this.lblFastVoteRssi.TabIndex  = 7;
            this.lblFastVoteRssi.Text      = "Fast Vote Rssi Threshold [dB]";
            this.lblFastVoteRssi.TextAlign = ContentAlignment.MiddleRight;
            this.lblFastVoteRssi.Visible   = false;
            this.nudDigitHang.Increment    = new decimal(new int[4]
            {
                500,
                0,
                0,
                0
            });
            this.nudDigitHang.method_2(null);
            this.nudDigitHang.Location = new Point(261, 72);
            this.nudDigitHang.Maximum  = new decimal(new int[4]
            {
                10000,
                0,
                0,
                0
            });
            this.nudDigitHang.Minimum = new decimal(new int[4]
            {
                500,
                0,
                0,
                0
            });
            this.nudDigitHang.Name = "nudDigitHang";
            this.nudDigitHang.method_6(null);
            CustomNumericUpDown class5 = this.nudDigitHang;
            int[] bits5 = new int[4];
            this.nudDigitHang.method_4(new decimal(bits5));
            this.nudDigitHang.Size     = new Size(140, 23);
            this.nudDigitHang.TabIndex = 1;
            this.nudDigitHang.Value    = new decimal(new int[4]
            {
                500,
                0,
                0,
                0
            });
            this.lblStartVoteRssi.Location  = new Point(50, 234);
            this.lblStartVoteRssi.Name      = "lblStartVoteRssi";
            this.lblStartVoteRssi.Size      = new Size(198, 23);
            this.lblStartVoteRssi.TabIndex  = 9;
            this.lblStartVoteRssi.Text      = "Start Vote Rssi Threshold [dB]";
            this.lblStartVoteRssi.TextAlign = ContentAlignment.MiddleRight;
            this.lblStartVoteRssi.Visible   = false;
            this.chkPriorityAlert.AutoSize  = true;
            this.chkPriorityAlert.Location  = new Point(261, 137);
            this.chkPriorityAlert.Name      = "chkPriorityAlert";
            this.chkPriorityAlert.Size      = new Size(103, 20);
            this.chkPriorityAlert.TabIndex  = 4;
            this.chkPriorityAlert.Text      = "Priority Alert";
            this.chkPriorityAlert.UseVisualStyleBackColor = true;
            base.AutoScaleDimensions = new SizeF(7f, 16f);
//			base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new Size(465, 328);
            base.Controls.Add(this.pnlScanBasic);
            this.Font         = new Font("Arial", 10f, FontStyle.Regular);
            base.Name         = "ScanBasicForm";
            this.Text         = "Scan";
            base.Load        += this.ScanBasicForm_Load;
            base.FormClosing += this.ScanBasicForm_FormClosing;
            this.pnlScanBasic.ResumeLayout(false);
            this.pnlScanBasic.PerformLayout();
            ((ISupportInitialize)this.nudAnalogHang).EndInit();
            ((ISupportInitialize)this.nudScanTime).EndInit();
            ((ISupportInitialize)this.nudStartVoteRssi).EndInit();
            ((ISupportInitialize)this.nudFastVoteRssi).EndInit();
            ((ISupportInitialize)this.nudVoteHang).EndInit();
            ((ISupportInitialize)this.nudDigitHang).EndInit();
            base.ResumeLayout(false);
            base.PerformLayout();
        }
Пример #8
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();
        }
Пример #9
0
        private void InitializeComponent()
        {
            this.pnlSignalingBasic = new CustomPanel();
            this.nudTxSyncWakeTot  = new CustomNumericUpDown();
            this.chkCallAlert      = new CheckBox();
            this.nudAutoResetTimer = new CustomNumericUpDown();
            this.chkRadioDisable   = new CheckBox();
            this.nudTxWakeMsgLimit = new CustomNumericUpDown();
            this.chkRemoteMonitor  = new CheckBox();
            this.nudRMDuration     = new CustomNumericUpDown();
            this.chkEmgRM          = new CheckBox();
            this.lblTxSyncWakeTot  = new Label();
            this.chkSelCall        = new CheckBox();
            this.lblTxWakeMsgLimit = new Label();
            this.cmbSelCallToneId  = new ComboBox();
            this.nudSelCallHang    = new CustomNumericUpDown();
            this.lblSelCallToneId  = new Label();
            this.lblRMDuration     = new Label();
            this.lblSelCallHang    = new Label();
            this.lblAutoResetTimer = new Label();
            this.pnlSignalingBasic.SuspendLayout();
            ((ISupportInitialize)this.nudTxSyncWakeTot).BeginInit();
            ((ISupportInitialize)this.nudAutoResetTimer).BeginInit();
            ((ISupportInitialize)this.nudTxWakeMsgLimit).BeginInit();
            ((ISupportInitialize)this.nudRMDuration).BeginInit();
            ((ISupportInitialize)this.nudSelCallHang).BeginInit();
            base.SuspendLayout();
            this.pnlSignalingBasic.AutoScroll = true;
            this.pnlSignalingBasic.AutoSize   = true;
            this.pnlSignalingBasic.Controls.Add(this.nudTxSyncWakeTot);
            this.pnlSignalingBasic.Controls.Add(this.chkCallAlert);
            this.pnlSignalingBasic.Controls.Add(this.nudAutoResetTimer);
            this.pnlSignalingBasic.Controls.Add(this.chkRadioDisable);
            this.pnlSignalingBasic.Controls.Add(this.nudTxWakeMsgLimit);
            this.pnlSignalingBasic.Controls.Add(this.chkRemoteMonitor);
            this.pnlSignalingBasic.Controls.Add(this.nudRMDuration);
            this.pnlSignalingBasic.Controls.Add(this.chkEmgRM);
            this.pnlSignalingBasic.Controls.Add(this.lblTxSyncWakeTot);
            this.pnlSignalingBasic.Controls.Add(this.chkSelCall);
            this.pnlSignalingBasic.Controls.Add(this.lblTxWakeMsgLimit);
            this.pnlSignalingBasic.Controls.Add(this.cmbSelCallToneId);
            this.pnlSignalingBasic.Controls.Add(this.nudSelCallHang);
            this.pnlSignalingBasic.Controls.Add(this.lblSelCallToneId);
            this.pnlSignalingBasic.Controls.Add(this.lblRMDuration);
            this.pnlSignalingBasic.Controls.Add(this.lblSelCallHang);
            this.pnlSignalingBasic.Controls.Add(this.lblAutoResetTimer);
            this.pnlSignalingBasic.Dock     = DockStyle.Fill;
            this.pnlSignalingBasic.Location = new Point(0, 0);
            this.pnlSignalingBasic.Name     = "pnlSignalingBasic";
            this.pnlSignalingBasic.Size     = new Size(521, 397);
            this.pnlSignalingBasic.TabIndex = 0;
            this.nudTxSyncWakeTot.Increment = new decimal(new int[4]
            {
                5,
                0,
                0,
                0
            });
            this.nudTxSyncWakeTot.method_2(null);
            this.nudTxSyncWakeTot.Location = new Point(245, 158);
            this.nudTxSyncWakeTot.Maximum  = new decimal(new int[4]
            {
                375,
                0,
                0,
                0
            });
            this.nudTxSyncWakeTot.Minimum = new decimal(new int[4]
            {
                125,
                0,
                0,
                0
            });
            this.nudTxSyncWakeTot.Name = "nudTxSyncWakeTot";
            this.nudTxSyncWakeTot.method_6(null);
            CustomNumericUpDown @class = this.nudTxSyncWakeTot;

            int[] bits = new int[4];
            this.nudTxSyncWakeTot.method_4(new decimal(bits));
            this.nudTxSyncWakeTot.Size     = new Size(120, 23);
            this.nudTxSyncWakeTot.TabIndex = 8;
            this.nudTxSyncWakeTot.Value    = new decimal(new int[4]
            {
                125,
                0,
                0,
                0
            });
            this.chkCallAlert.AutoSize = true;
            this.chkCallAlert.Location = new Point(245, 188);
            this.chkCallAlert.Name     = "chkCallAlert";
            this.chkCallAlert.Size     = new Size(135, 20);
            this.chkCallAlert.TabIndex = 9;
            this.chkCallAlert.Text     = "Call Alert Encode";
            this.chkCallAlert.UseVisualStyleBackColor = true;
            this.chkCallAlert.Visible = false;
            this.nudAutoResetTimer.method_2(null);
            this.nudAutoResetTimer.Location = new Point(245, 308);
            this.nudAutoResetTimer.Maximum  = new decimal(new int[4]
            {
                255,
                0,
                0,
                0
            });
            this.nudAutoResetTimer.Minimum = new decimal(new int[4]
            {
                1,
                0,
                0,
                0
            });
            this.nudAutoResetTimer.Name = "nudAutoResetTimer";
            this.nudAutoResetTimer.method_6(null);
            CustomNumericUpDown class2 = this.nudAutoResetTimer;

            int[] bits2 = new int[4];
            this.nudAutoResetTimer.method_4(new decimal(bits2));
            this.nudAutoResetTimer.Size     = new Size(120, 23);
            this.nudAutoResetTimer.TabIndex = 16;
            this.nudAutoResetTimer.Value    = new decimal(new int[4]
            {
                1,
                0,
                0,
                0
            });
            this.nudAutoResetTimer.Visible = false;
            this.chkRadioDisable.AutoSize  = true;
            this.chkRadioDisable.Location  = new Point(245, 18);
            this.chkRadioDisable.Name      = "chkRadioDisable";
            this.chkRadioDisable.Size      = new Size(168, 20);
            this.chkRadioDisable.TabIndex  = 0;
            this.chkRadioDisable.Text      = "Radio Disable Decode";
            this.chkRadioDisable.UseVisualStyleBackColor = true;
            this.nudTxWakeMsgLimit.method_2(null);
            this.nudTxWakeMsgLimit.Location = new Point(245, 98);
            this.nudTxWakeMsgLimit.Maximum  = new decimal(new int[4]
            {
                4,
                0,
                0,
                0
            });
            this.nudTxWakeMsgLimit.Minimum = new decimal(new int[4]
            {
                1,
                0,
                0,
                0
            });
            this.nudTxWakeMsgLimit.Name = "nudTxWakeMsgLimit";
            this.nudTxWakeMsgLimit.method_6(null);
            CustomNumericUpDown class3 = this.nudTxWakeMsgLimit;

            int[] bits3 = new int[4];
            this.nudTxWakeMsgLimit.method_4(new decimal(bits3));
            this.nudTxWakeMsgLimit.Size     = new Size(120, 23);
            this.nudTxWakeMsgLimit.TabIndex = 4;
            this.nudTxWakeMsgLimit.Value    = new decimal(new int[4]
            {
                4,
                0,
                0,
                0
            });
            this.chkRemoteMonitor.AutoSize = true;
            this.chkRemoteMonitor.Location = new Point(245, 42);
            this.chkRemoteMonitor.Name     = "chkRemoteMonitor";
            this.chkRemoteMonitor.Size     = new Size(180, 20);
            this.chkRemoteMonitor.TabIndex = 1;
            this.chkRemoteMonitor.Text     = "Remote Monitor Decode";
            this.chkRemoteMonitor.UseVisualStyleBackColor = true;
            this.nudRMDuration.Increment = new decimal(new int[4]
            {
                10,
                0,
                0,
                0
            });
            this.nudRMDuration.method_2(null);
            this.nudRMDuration.Location = new Point(245, 128);
            this.nudRMDuration.Maximum  = new decimal(new int[4]
            {
                120,
                0,
                0,
                0
            });
            this.nudRMDuration.Minimum = new decimal(new int[4]
            {
                10,
                0,
                0,
                0
            });
            this.nudRMDuration.Name = "nudRMDuration";
            this.nudRMDuration.method_6(null);
            CustomNumericUpDown class4 = this.nudRMDuration;

            int[] bits4 = new int[4];
            this.nudRMDuration.method_4(new decimal(bits4));
            this.nudRMDuration.Size     = new Size(120, 23);
            this.nudRMDuration.TabIndex = 6;
            this.nudRMDuration.Value    = new decimal(new int[4]
            {
                10,
                0,
                0,
                0
            });
            this.chkEmgRM.AutoSize = true;
            this.chkEmgRM.Location = new Point(245, 68);
            this.chkEmgRM.Name     = "chkEmgRM";
            this.chkEmgRM.Size     = new Size(255, 20);
            this.chkEmgRM.TabIndex = 2;
            this.chkEmgRM.Text     = "Emergency Romote Monitor Decode";
            this.chkEmgRM.UseVisualStyleBackColor = true;
            this.lblTxSyncWakeTot.Location        = new Point(49, 158);
            this.lblTxSyncWakeTot.Name            = "lblTxSyncWakeTot";
            this.lblTxSyncWakeTot.Size            = new Size(185, 24);
            this.lblTxSyncWakeTot.TabIndex        = 7;
            this.lblTxSyncWakeTot.Text            = "Tx Sync Wakeup TOT [ms]";
            this.lblTxSyncWakeTot.TextAlign       = ContentAlignment.MiddleRight;
            this.chkSelCall.AutoSize = true;
            this.chkSelCall.Location = new Point(245, 218);
            this.chkSelCall.Name     = "chkSelCall";
            this.chkSelCall.Size     = new Size(131, 20);
            this.chkSelCall.TabIndex = 10;
            this.chkSelCall.Text     = "Self Call Encode";
            this.chkSelCall.UseVisualStyleBackColor = true;
            this.chkSelCall.Visible                 = false;
            this.lblTxWakeMsgLimit.Location         = new Point(49, 98);
            this.lblTxWakeMsgLimit.Name             = "lblTxWakeMsgLimit";
            this.lblTxWakeMsgLimit.Size             = new Size(185, 24);
            this.lblTxWakeMsgLimit.TabIndex         = 3;
            this.lblTxWakeMsgLimit.Text             = "Tx Wakeup Message Limit";
            this.lblTxWakeMsgLimit.TextAlign        = ContentAlignment.MiddleRight;
            this.cmbSelCallToneId.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.cmbSelCallToneId.FormattingEnabled = true;
            this.cmbSelCallToneId.Items.AddRange(new object[2]
            {
                "前置",
                "始终"
            });
            this.cmbSelCallToneId.Location = new Point(245, 248);
            this.cmbSelCallToneId.Name     = "cmbSelCallToneId";
            this.cmbSelCallToneId.Size     = new Size(121, 24);
            this.cmbSelCallToneId.TabIndex = 12;
            this.cmbSelCallToneId.Visible  = false;
            this.nudSelCallHang.Increment  = new decimal(new int[4]
            {
                500,
                0,
                0,
                0
            });
            this.nudSelCallHang.method_2(null);
            this.nudSelCallHang.Location = new Point(245, 278);
            this.nudSelCallHang.Maximum  = new decimal(new int[4]
            {
                7000,
                0,
                0,
                0
            });
            this.nudSelCallHang.Name = "nudSelCallHang";
            this.nudSelCallHang.method_6(null);
            CustomNumericUpDown class5 = this.nudSelCallHang;

            int[] bits5 = new int[4];
            this.nudSelCallHang.method_4(new decimal(bits5));
            this.nudSelCallHang.Size         = new Size(120, 23);
            this.nudSelCallHang.TabIndex     = 14;
            this.nudSelCallHang.Visible      = false;
            this.lblSelCallToneId.Location   = new Point(49, 248);
            this.lblSelCallToneId.Name       = "lblSelCallToneId";
            this.lblSelCallToneId.Size       = new Size(185, 24);
            this.lblSelCallToneId.TabIndex   = 11;
            this.lblSelCallToneId.Text       = "Self Call Tone/ID";
            this.lblSelCallToneId.TextAlign  = ContentAlignment.MiddleRight;
            this.lblSelCallToneId.Visible    = false;
            this.lblRMDuration.Location      = new Point(49, 128);
            this.lblRMDuration.Name          = "lblRMDuration";
            this.lblRMDuration.Size          = new Size(185, 24);
            this.lblRMDuration.TabIndex      = 5;
            this.lblRMDuration.Text          = "Remote Monitor Duration [s]";
            this.lblRMDuration.TextAlign     = ContentAlignment.MiddleRight;
            this.lblSelCallHang.Location     = new Point(49, 278);
            this.lblSelCallHang.Name         = "lblSelCallHang";
            this.lblSelCallHang.Size         = new Size(185, 24);
            this.lblSelCallHang.TabIndex     = 13;
            this.lblSelCallHang.Text         = "Self Call Hang Time [ms]";
            this.lblSelCallHang.TextAlign    = ContentAlignment.MiddleRight;
            this.lblSelCallHang.Visible      = false;
            this.lblAutoResetTimer.Location  = new Point(49, 308);
            this.lblAutoResetTimer.Name      = "lblAutoResetTimer";
            this.lblAutoResetTimer.Size      = new Size(185, 24);
            this.lblAutoResetTimer.TabIndex  = 15;
            this.lblAutoResetTimer.Text      = "Auto Reset Timer [s]";
            this.lblAutoResetTimer.TextAlign = ContentAlignment.MiddleRight;
            this.lblAutoResetTimer.Visible   = false;
            base.AutoScaleDimensions         = new SizeF(7f, 16f);
//			base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new Size(521, 397);
            base.Controls.Add(this.pnlSignalingBasic);
            this.Font         = new Font("Arial", 10f, FontStyle.Regular);
            base.Name         = "SignalingBasicForm";
            this.Text         = "Signaling System";
            base.Load        += this.SignalingBasicForm_Load;
            base.FormClosing += this.SignalingBasicForm_FormClosing;
            this.pnlSignalingBasic.ResumeLayout(false);
            this.pnlSignalingBasic.PerformLayout();
            ((ISupportInitialize)this.nudTxSyncWakeTot).EndInit();
            ((ISupportInitialize)this.nudAutoResetTimer).EndInit();
            ((ISupportInitialize)this.nudTxWakeMsgLimit).EndInit();
            ((ISupportInitialize)this.nudRMDuration).EndInit();
            ((ISupportInitialize)this.nudSelCallHang).EndInit();
            base.ResumeLayout(false);
            base.PerformLayout();
        }
Пример #10
0
 private void InitializeComponent()
 {
     this.pnlScanBasic     = new CustomPanel();
     this.nudAnalogHang    = new CustomNumericUpDown();
     this.nudScanTime      = new CustomNumericUpDown();
     this.nudStartVoteRssi = new CustomNumericUpDown();
     this.lblDigitHang     = new System.Windows.Forms.Label();
     this.nudFastVoteRssi  = new CustomNumericUpDown();
     this.lblAnalogHang    = new System.Windows.Forms.Label();
     this.lblScanTime      = new System.Windows.Forms.Label();
     this.nudVoteHang      = new CustomNumericUpDown();
     this.lblVoteHang      = new System.Windows.Forms.Label();
     this.lblFastVoteRssi  = new System.Windows.Forms.Label();
     this.nudDigitHang     = new CustomNumericUpDown();
     this.lblStartVoteRssi = new System.Windows.Forms.Label();
     this.chkPriorityAlert = new System.Windows.Forms.CheckBox();
     this.pnlScanBasic.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nudAnalogHang)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudScanTime)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudStartVoteRssi)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudFastVoteRssi)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudVoteHang)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudDigitHang)).BeginInit();
     this.SuspendLayout();
     //
     // pnlScanBasic
     //
     this.pnlScanBasic.AutoScroll = true;
     this.pnlScanBasic.AutoSize   = true;
     this.pnlScanBasic.Controls.Add(this.nudAnalogHang);
     this.pnlScanBasic.Controls.Add(this.nudScanTime);
     this.pnlScanBasic.Controls.Add(this.nudStartVoteRssi);
     this.pnlScanBasic.Controls.Add(this.lblDigitHang);
     this.pnlScanBasic.Controls.Add(this.nudFastVoteRssi);
     this.pnlScanBasic.Controls.Add(this.lblAnalogHang);
     this.pnlScanBasic.Controls.Add(this.lblScanTime);
     this.pnlScanBasic.Controls.Add(this.nudVoteHang);
     this.pnlScanBasic.Controls.Add(this.lblVoteHang);
     this.pnlScanBasic.Controls.Add(this.lblFastVoteRssi);
     this.pnlScanBasic.Controls.Add(this.nudDigitHang);
     this.pnlScanBasic.Controls.Add(this.lblStartVoteRssi);
     this.pnlScanBasic.Controls.Add(this.chkPriorityAlert);
     this.pnlScanBasic.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.pnlScanBasic.Location = new System.Drawing.Point(0, 0);
     this.pnlScanBasic.Name     = "pnlScanBasic";
     this.pnlScanBasic.Size     = new System.Drawing.Size(465, 328);
     this.pnlScanBasic.TabIndex = 0;
     //
     // nudAnalogHang
     //
     this.nudAnalogHang.Increment = new decimal(new int[] {
         500,
         0,
         0,
         0
     });
     this.nudAnalogHang.Location = new System.Drawing.Point(261, 104);
     this.nudAnalogHang.Maximum  = new decimal(new int[] {
         10000,
         0,
         0,
         0
     });
     this.nudAnalogHang.Minimum = new decimal(new int[] {
         500,
         0,
         0,
         0
     });
     this.nudAnalogHang.Name     = "nudAnalogHang";
     this.nudAnalogHang.Size     = new System.Drawing.Size(140, 23);
     this.nudAnalogHang.TabIndex = 3;
     this.nudAnalogHang.Value    = new decimal(new int[] {
         500,
         0,
         0,
         0
     });
     //
     // nudScanTime
     //
     this.nudScanTime.Increment = new decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.nudScanTime.Location = new System.Drawing.Point(261, 40);
     this.nudScanTime.Maximum  = new decimal(new int[] {
         60,
         0,
         0,
         0
     });
     this.nudScanTime.Minimum = new decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.nudScanTime.Name     = "nudScanTime";
     this.nudScanTime.Size     = new System.Drawing.Size(140, 23);
     this.nudScanTime.TabIndex = 6;
     this.nudScanTime.Value    = new decimal(new int[] {
         5,
         0,
         0,
         0
     });
     //
     // nudStartVoteRssi
     //
     this.nudStartVoteRssi.Location = new System.Drawing.Point(261, 234);
     this.nudStartVoteRssi.Maximum  = new decimal(new int[] {
         70,
         0,
         0,
         -2147483648
     });
     this.nudStartVoteRssi.Minimum = new decimal(new int[] {
         120,
         0,
         0,
         -2147483648
     });
     this.nudStartVoteRssi.Name     = "nudStartVoteRssi";
     this.nudStartVoteRssi.Size     = new System.Drawing.Size(140, 23);
     this.nudStartVoteRssi.TabIndex = 10;
     this.nudStartVoteRssi.Value    = new decimal(new int[] {
         70,
         0,
         0,
         -2147483648
     });
     this.nudStartVoteRssi.Visible = false;
     //
     // lblDigitHang
     //
     this.lblDigitHang.Location  = new System.Drawing.Point(50, 72);
     this.lblDigitHang.Name      = "lblDigitHang";
     this.lblDigitHang.Size      = new System.Drawing.Size(198, 23);
     this.lblDigitHang.TabIndex  = 0;
     this.lblDigitHang.Text      = "Digital Hang Time [ms]";
     this.lblDigitHang.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblDigitHang.Click    += new System.EventHandler(this.lblDigitHang_Click);
     //
     // nudFastVoteRssi
     //
     this.nudFastVoteRssi.Location = new System.Drawing.Point(261, 202);
     this.nudFastVoteRssi.Maximum  = new decimal(new int[] {
         70,
         0,
         0,
         -2147483648
     });
     this.nudFastVoteRssi.Minimum = new decimal(new int[] {
         120,
         0,
         0,
         -2147483648
     });
     this.nudFastVoteRssi.Name     = "nudFastVoteRssi";
     this.nudFastVoteRssi.Size     = new System.Drawing.Size(140, 23);
     this.nudFastVoteRssi.TabIndex = 8;
     this.nudFastVoteRssi.Value    = new decimal(new int[] {
         70,
         0,
         0,
         -2147483648
     });
     this.nudFastVoteRssi.Visible = false;
     //
     // lblAnalogHang
     //
     this.lblAnalogHang.Location  = new System.Drawing.Point(50, 104);
     this.lblAnalogHang.Name      = "lblAnalogHang";
     this.lblAnalogHang.Size      = new System.Drawing.Size(198, 23);
     this.lblAnalogHang.TabIndex  = 2;
     this.lblAnalogHang.Text      = "Analog Hang Time [ms]";
     this.lblAnalogHang.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lblScanTime
     //
     this.lblScanTime.Location  = new System.Drawing.Point(50, 40);
     this.lblScanTime.Name      = "lblScanTime";
     this.lblScanTime.Size      = new System.Drawing.Size(198, 23);
     this.lblScanTime.TabIndex  = 10;
     this.lblScanTime.Text      = "Scan Time [s]";
     this.lblScanTime.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblScanTime.Click    += new System.EventHandler(this.lblScanTime_Click);
     //
     // nudVoteHang
     //
     this.nudVoteHang.DecimalPlaces = 2;
     this.nudVoteHang.Increment     = new decimal(new int[] {
         25,
         0,
         0,
         131072
     });
     this.nudVoteHang.Location = new System.Drawing.Point(261, 169);
     this.nudVoteHang.Maximum  = new decimal(new int[] {
         6375,
         0,
         0,
         131072
     });
     this.nudVoteHang.Name     = "nudVoteHang";
     this.nudVoteHang.Size     = new System.Drawing.Size(140, 23);
     this.nudVoteHang.TabIndex = 6;
     this.nudVoteHang.Visible  = false;
     //
     // lblVoteHang
     //
     this.lblVoteHang.Location  = new System.Drawing.Point(50, 169);
     this.lblVoteHang.Name      = "lblVoteHang";
     this.lblVoteHang.Size      = new System.Drawing.Size(198, 23);
     this.lblVoteHang.TabIndex  = 5;
     this.lblVoteHang.Text      = "Vote Scan Hang Time [s]";
     this.lblVoteHang.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblVoteHang.Visible   = false;
     //
     // lblFastVoteRssi
     //
     this.lblFastVoteRssi.Location  = new System.Drawing.Point(50, 202);
     this.lblFastVoteRssi.Name      = "lblFastVoteRssi";
     this.lblFastVoteRssi.Size      = new System.Drawing.Size(198, 23);
     this.lblFastVoteRssi.TabIndex  = 7;
     this.lblFastVoteRssi.Text      = "Fast Vote Rssi Threshold [dB]";
     this.lblFastVoteRssi.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblFastVoteRssi.Visible   = false;
     //
     // nudDigitHang
     //
     this.nudDigitHang.Increment = new decimal(new int[] {
         500,
         0,
         0,
         0
     });
     this.nudDigitHang.Location = new System.Drawing.Point(261, 72);
     this.nudDigitHang.Maximum  = new decimal(new int[] {
         10000,
         0,
         0,
         0
     });
     this.nudDigitHang.Minimum = new decimal(new int[] {
         500,
         0,
         0,
         0
     });
     this.nudDigitHang.Name     = "nudDigitHang";
     this.nudDigitHang.Size     = new System.Drawing.Size(140, 23);
     this.nudDigitHang.TabIndex = 1;
     this.nudDigitHang.Value    = new decimal(new int[] {
         500,
         0,
         0,
         0
     });
     //
     // lblStartVoteRssi
     //
     this.lblStartVoteRssi.Location  = new System.Drawing.Point(50, 234);
     this.lblStartVoteRssi.Name      = "lblStartVoteRssi";
     this.lblStartVoteRssi.Size      = new System.Drawing.Size(198, 23);
     this.lblStartVoteRssi.TabIndex  = 9;
     this.lblStartVoteRssi.Text      = "Start Vote Rssi Threshold [dB]";
     this.lblStartVoteRssi.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblStartVoteRssi.Visible   = false;
     //
     // chkPriorityAlert
     //
     this.chkPriorityAlert.AutoSize = true;
     this.chkPriorityAlert.Location = new System.Drawing.Point(261, 137);
     this.chkPriorityAlert.Name     = "chkPriorityAlert";
     this.chkPriorityAlert.Size     = new System.Drawing.Size(103, 20);
     this.chkPriorityAlert.TabIndex = 4;
     this.chkPriorityAlert.Text     = "Priority Alert";
     this.chkPriorityAlert.UseVisualStyleBackColor = true;
     //
     // ScanBasicForm
     //
     this.ClientSize = new System.Drawing.Size(465, 328);
     this.Controls.Add(this.pnlScanBasic);
     this.Font = new System.Drawing.Font("Arial", 10F);
     this.Name = "ScanBasicForm";
     this.Text = "Scan";
     this.pnlScanBasic.ResumeLayout(false);
     this.pnlScanBasic.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nudAnalogHang)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudScanTime)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudStartVoteRssi)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudFastVoteRssi)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudVoteHang)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudDigitHang)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #11
0
		private void InitializeComponent()
		{
			this.panel1 = new CustomPanel();
			this.grpListParam = new System.Windows.Forms.GroupBox();
			this.chkTalkback = new System.Windows.Forms.CheckBox();
			this.chkChMark = new System.Windows.Forms.CheckBox();
			this.cmbPriorityCh2 = new CustomCombo();
			this.lblTxDesignatedCh = new System.Windows.Forms.Label();
			this.cmbPriorityCh1 = new CustomCombo();
			this.lblPriorityCh1 = new System.Windows.Forms.Label();
			this.lblSignalingHold = new System.Windows.Forms.Label();
			this.label_0 = new System.Windows.Forms.Label();
			this.nudPrioritySample = new CustomNumericUpDown();
			this.lblPriorityCh2 = new System.Windows.Forms.Label();
			this.nudSignalingHold = new CustomNumericUpDown();
			this.cmbTxDesignatedCh = new CustomCombo();
			this.cmbPlType = new CustomCombo();
			this.lblPrioritySample = new System.Windows.Forms.Label();
			this.btnDown = new System.Windows.Forms.Button();
			this.btnUp = new System.Windows.Forms.Button();
			this.txtName = new DMR.SGTextBox();
			this.grpSelected = new System.Windows.Forms.GroupBox();
			this.lstSelected = new System.Windows.Forms.ListBox();
			this.grpUnselected = new System.Windows.Forms.GroupBox();
			this.lstUnselected = new System.Windows.Forms.ListBox();
			this.lblName = new System.Windows.Forms.Label();
			this.btnDel = new System.Windows.Forms.Button();
			this.btnAdd = new System.Windows.Forms.Button();
			this.panel1.SuspendLayout();
			this.grpListParam.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.nudPrioritySample)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.nudSignalingHold)).BeginInit();
			this.grpSelected.SuspendLayout();
			this.grpUnselected.SuspendLayout();
			this.SuspendLayout();
			// 
			// panel1
			// 
			this.panel1.AutoScroll = true;
			this.panel1.AutoSize = true;
			this.panel1.Controls.Add(this.grpListParam);
			this.panel1.Controls.Add(this.btnDown);
			this.panel1.Controls.Add(this.btnUp);
			this.panel1.Controls.Add(this.txtName);
			this.panel1.Controls.Add(this.grpSelected);
			this.panel1.Controls.Add(this.grpUnselected);
			this.panel1.Controls.Add(this.lblName);
			this.panel1.Controls.Add(this.btnDel);
			this.panel1.Controls.Add(this.btnAdd);
			this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
			this.panel1.Location = new System.Drawing.Point(0, 0);
			this.panel1.Name = "panel1";
			this.panel1.Size = new System.Drawing.Size(760, 744);
			this.panel1.TabIndex = 0;
			// 
			// grpListParam
			// 
			this.grpListParam.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.grpListParam.Controls.Add(this.chkTalkback);
			this.grpListParam.Controls.Add(this.chkChMark);
			this.grpListParam.Controls.Add(this.cmbPriorityCh2);
			this.grpListParam.Controls.Add(this.lblTxDesignatedCh);
			this.grpListParam.Controls.Add(this.cmbPriorityCh1);
			this.grpListParam.Controls.Add(this.lblPriorityCh1);
			this.grpListParam.Controls.Add(this.lblSignalingHold);
			this.grpListParam.Controls.Add(this.label_0);
			this.grpListParam.Controls.Add(this.nudPrioritySample);
			this.grpListParam.Controls.Add(this.lblPriorityCh2);
			this.grpListParam.Controls.Add(this.nudSignalingHold);
			this.grpListParam.Controls.Add(this.cmbTxDesignatedCh);
			this.grpListParam.Controls.Add(this.cmbPlType);
			this.grpListParam.Controls.Add(this.lblPrioritySample);
			this.grpListParam.Location = new System.Drawing.Point(113, 458);
			this.grpListParam.Name = "grpListParam";
			this.grpListParam.Size = new System.Drawing.Size(517, 269);
			this.grpListParam.TabIndex = 24;
			this.grpListParam.TabStop = false;
			this.grpListParam.Text = "Scanparameter";
			// 
			// chkTalkback
			// 
			this.chkTalkback.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.chkTalkback.AutoSize = true;
			this.chkTalkback.Location = new System.Drawing.Point(251, 13);
			this.chkTalkback.Name = "chkTalkback";
			this.chkTalkback.Size = new System.Drawing.Size(82, 20);
			this.chkTalkback.TabIndex = 6;
			this.chkTalkback.Text = "Talkback";
			this.chkTalkback.UseVisualStyleBackColor = true;
			// 
			// chkChMark
			// 
			this.chkChMark.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.chkChMark.AutoSize = true;
			this.chkChMark.Location = new System.Drawing.Point(251, 43);
			this.chkChMark.Name = "chkChMark";
			this.chkChMark.Size = new System.Drawing.Size(128, 20);
			this.chkChMark.TabIndex = 7;
			this.chkChMark.Text = "Channel Marker";
			this.chkChMark.UseVisualStyleBackColor = true;
			// 
			// cmbPriorityCh2
			// 
			this.cmbPriorityCh2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.cmbPriorityCh2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.cmbPriorityCh2.FormattingEnabled = true;
			this.cmbPriorityCh2.Location = new System.Drawing.Point(251, 224);
			this.cmbPriorityCh2.Name = "cmbPriorityCh2";
			this.cmbPriorityCh2.Size = new System.Drawing.Size(166, 24);
			this.cmbPriorityCh2.TabIndex = 19;
			this.cmbPriorityCh2.SelectedIndexChanged += new System.EventHandler(this.cmbPriorityCh2_SelectedIndexChanged);
			// 
			// lblTxDesignatedCh
			// 
			this.lblTxDesignatedCh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.lblTxDesignatedCh.Location = new System.Drawing.Point(73, 73);
			this.lblTxDesignatedCh.Name = "lblTxDesignatedCh";
			this.lblTxDesignatedCh.Size = new System.Drawing.Size(167, 24);
			this.lblTxDesignatedCh.TabIndex = 8;
			this.lblTxDesignatedCh.Text = "Tx Designated Channel";
			this.lblTxDesignatedCh.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// cmbPriorityCh1
			// 
			this.cmbPriorityCh1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.cmbPriorityCh1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.cmbPriorityCh1.FormattingEnabled = true;
			this.cmbPriorityCh1.Location = new System.Drawing.Point(251, 194);
			this.cmbPriorityCh1.Name = "cmbPriorityCh1";
			this.cmbPriorityCh1.Size = new System.Drawing.Size(166, 24);
			this.cmbPriorityCh1.TabIndex = 17;
			this.cmbPriorityCh1.SelectedIndexChanged += new System.EventHandler(this.cmbPriorityCh1_SelectedIndexChanged);
			// 
			// lblPriorityCh1
			// 
			this.lblPriorityCh1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.lblPriorityCh1.Location = new System.Drawing.Point(73, 193);
			this.lblPriorityCh1.Name = "lblPriorityCh1";
			this.lblPriorityCh1.Size = new System.Drawing.Size(167, 24);
			this.lblPriorityCh1.TabIndex = 16;
			this.lblPriorityCh1.Text = "Priority Channel 1";
			this.lblPriorityCh1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// lblSignalingHold
			// 
			this.lblSignalingHold.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.lblSignalingHold.Location = new System.Drawing.Point(73, 133);
			this.lblSignalingHold.Name = "lblSignalingHold";
			this.lblSignalingHold.Size = new System.Drawing.Size(167, 24);
			this.lblSignalingHold.TabIndex = 12;
			this.lblSignalingHold.Text = "Signaling Hold Time [ms]";
			this.lblSignalingHold.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// label_0
			// 
			this.label_0.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.label_0.Location = new System.Drawing.Point(73, 103);
			this.label_0.Name = "label_0";
			this.label_0.Size = new System.Drawing.Size(167, 24);
			this.label_0.TabIndex = 10;
			this.label_0.Text = "PL Type";
			this.label_0.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// nudPrioritySample
			// 
			this.nudPrioritySample.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.nudPrioritySample.Increment = new decimal(new int[] {
            250,
            0,
            0,
            0});
			this.nudPrioritySample.Location = new System.Drawing.Point(251, 164);
			this.nudPrioritySample.Maximum = new decimal(new int[] {
            7750,
            0,
            0,
            0});
			this.nudPrioritySample.Minimum = new decimal(new int[] {
            750,
            0,
            0,
            0});
			this.nudPrioritySample.Name = "nudPrioritySample";
			this.nudPrioritySample.Size = new System.Drawing.Size(166, 23);
			this.nudPrioritySample.TabIndex = 15;
			this.nudPrioritySample.Value = new decimal(new int[] {
            750,
            0,
            0,
            0});
			// 
			// lblPriorityCh2
			// 
			this.lblPriorityCh2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.lblPriorityCh2.Location = new System.Drawing.Point(73, 223);
			this.lblPriorityCh2.Name = "lblPriorityCh2";
			this.lblPriorityCh2.Size = new System.Drawing.Size(167, 24);
			this.lblPriorityCh2.TabIndex = 18;
			this.lblPriorityCh2.Text = "Priority Channel 2";
			this.lblPriorityCh2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// nudSignalingHold
			// 
			this.nudSignalingHold.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.nudSignalingHold.Increment = new decimal(new int[] {
            25,
            0,
            0,
            0});
			this.nudSignalingHold.Location = new System.Drawing.Point(251, 134);
			this.nudSignalingHold.Maximum = new decimal(new int[] {
            6375,
            0,
            0,
            0});
			this.nudSignalingHold.Minimum = new decimal(new int[] {
            50,
            0,
            0,
            0});
			this.nudSignalingHold.Name = "nudSignalingHold";
			this.nudSignalingHold.Size = new System.Drawing.Size(166, 23);
			this.nudSignalingHold.TabIndex = 13;
			this.nudSignalingHold.Value = new decimal(new int[] {
            50,
            0,
            0,
            0});
			// 
			// cmbTxDesignatedCh
			// 
			this.cmbTxDesignatedCh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.cmbTxDesignatedCh.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.cmbTxDesignatedCh.FormattingEnabled = true;
			this.cmbTxDesignatedCh.Location = new System.Drawing.Point(251, 74);
			this.cmbTxDesignatedCh.Name = "cmbTxDesignatedCh";
			this.cmbTxDesignatedCh.Size = new System.Drawing.Size(166, 24);
			this.cmbTxDesignatedCh.TabIndex = 9;
			// 
			// cmbPlType
			// 
			this.cmbPlType.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.cmbPlType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.cmbPlType.FormattingEnabled = true;
			this.cmbPlType.Items.AddRange(new object[] {
            "Disabled",
            "Priority channel",
            "Non-priority channel",
            "Priority channel and non-priority channel"});
			this.cmbPlType.Location = new System.Drawing.Point(251, 104);
			this.cmbPlType.Name = "cmbPlType";
			this.cmbPlType.Size = new System.Drawing.Size(166, 24);
			this.cmbPlType.TabIndex = 11;
			// 
			// lblPrioritySample
			// 
			this.lblPrioritySample.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.lblPrioritySample.Location = new System.Drawing.Point(73, 163);
			this.lblPrioritySample.Name = "lblPrioritySample";
			this.lblPrioritySample.Size = new System.Drawing.Size(167, 24);
			this.lblPrioritySample.TabIndex = 14;
			this.lblPrioritySample.Text = "Priority Sample Time [ms]";
			this.lblPrioritySample.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// btnDown
			// 
			this.btnDown.Location = new System.Drawing.Point(665, 223);
			this.btnDown.Name = "btnDown";
			this.btnDown.Size = new System.Drawing.Size(75, 23);
			this.btnDown.TabIndex = 23;
			this.btnDown.Text = "Down";
			this.btnDown.UseVisualStyleBackColor = true;
			this.btnDown.Click += new System.EventHandler(this.btnDown_Click);
			// 
			// btnUp
			// 
			this.btnUp.Location = new System.Drawing.Point(665, 171);
			this.btnUp.Name = "btnUp";
			this.btnUp.Size = new System.Drawing.Size(75, 23);
			this.btnUp.TabIndex = 22;
			this.btnUp.Text = "Up";
			this.btnUp.UseVisualStyleBackColor = true;
			this.btnUp.Click += new System.EventHandler(this.btnUp_Click);
			// 
			// txtName
			// 
			this.txtName.InputString = null;
			this.txtName.Location = new System.Drawing.Point(322, 22);
			this.txtName.MaxByteLength = 0;
			this.txtName.Name = "txtName";
			this.txtName.Size = new System.Drawing.Size(146, 23);
			this.txtName.TabIndex = 1;
			this.txtName.Leave += new System.EventHandler(this.txtName_Leave);
			// 
			// grpSelected
			// 
			this.grpSelected.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left)));
			this.grpSelected.Controls.Add(this.lstSelected);
			this.grpSelected.Location = new System.Drawing.Point(425, 59);
			this.grpSelected.Name = "grpSelected";
			this.grpSelected.Size = new System.Drawing.Size(205, 412);
			this.grpSelected.TabIndex = 21;
			this.grpSelected.TabStop = false;
			this.grpSelected.Text = "Member";
			// 
			// lstSelected
			// 
			this.lstSelected.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left)));
			this.lstSelected.FormattingEnabled = true;
			this.lstSelected.ItemHeight = 16;
			this.lstSelected.Location = new System.Drawing.Point(30, 31);
			this.lstSelected.Name = "lstSelected";
			this.lstSelected.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended;
			this.lstSelected.Size = new System.Drawing.Size(150, 324);
			this.lstSelected.TabIndex = 5;
			this.lstSelected.SelectedIndexChanged += new System.EventHandler(this.lstSelected_SelectedIndexChanged);
			this.lstSelected.DoubleClick += new System.EventHandler(this.lstSelected_DoubleClick);
			// 
			// grpUnselected
			// 
			this.grpUnselected.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left)));
			this.grpUnselected.Controls.Add(this.lstUnselected);
			this.grpUnselected.Location = new System.Drawing.Point(113, 59);
			this.grpUnselected.Name = "grpUnselected";
			this.grpUnselected.Size = new System.Drawing.Size(205, 412);
			this.grpUnselected.TabIndex = 2;
			this.grpUnselected.TabStop = false;
			this.grpUnselected.Text = "Available";
			// 
			// lstUnselected
			// 
			this.lstUnselected.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left)));
			this.lstUnselected.FormattingEnabled = true;
			this.lstUnselected.ItemHeight = 16;
			this.lstUnselected.Location = new System.Drawing.Point(32, 31);
			this.lstUnselected.Name = "lstUnselected";
			this.lstUnselected.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended;
			this.lstUnselected.Size = new System.Drawing.Size(150, 324);
			this.lstUnselected.TabIndex = 0;
			// 
			// lblName
			// 
			this.lblName.Location = new System.Drawing.Point(258, 22);
			this.lblName.Name = "lblName";
			this.lblName.Size = new System.Drawing.Size(60, 24);
			this.lblName.TabIndex = 0;
			this.lblName.Text = "Name";
			this.lblName.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// btnDel
			// 
			this.btnDel.Location = new System.Drawing.Point(333, 223);
			this.btnDel.Name = "btnDel";
			this.btnDel.Size = new System.Drawing.Size(75, 23);
			this.btnDel.TabIndex = 4;
			this.btnDel.Text = "Delete";
			this.btnDel.UseVisualStyleBackColor = true;
			this.btnDel.Click += new System.EventHandler(this.btnDel_Click);
			// 
			// btnAdd
			// 
			this.btnAdd.Location = new System.Drawing.Point(333, 171);
			this.btnAdd.Name = "btnAdd";
			this.btnAdd.Size = new System.Drawing.Size(75, 23);
			this.btnAdd.TabIndex = 3;
			this.btnAdd.Text = "Add";
			this.btnAdd.UseVisualStyleBackColor = true;
			this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
			// 
			// NormalScanForm
			// 
			this.ClientSize = new System.Drawing.Size(760, 744);
			this.Controls.Add(this.panel1);
			this.Font = new System.Drawing.Font("Arial", 10F);
			this.Name = "NormalScanForm";
			this.Text = "Normal Scan";
			this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.NormalScanForm_FormClosing);
			this.Load += new System.EventHandler(this.NormalScanForm_Load);
			this.panel1.ResumeLayout(false);
			this.panel1.PerformLayout();
			this.grpListParam.ResumeLayout(false);
			this.grpListParam.PerformLayout();
			((System.ComponentModel.ISupportInitialize)(this.nudPrioritySample)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.nudSignalingHold)).EndInit();
			this.grpSelected.ResumeLayout(false);
			this.grpUnselected.ResumeLayout(false);
			this.ResumeLayout(false);
			this.PerformLayout();

		}