Exemplo n.º 1
0
 private void InitializeComponent()
 {
     this.lblPwd    = new Label();
     this.btnOk     = new Button();
     this.btnCancel = new Button();
     this.txtPwd    = new SGTextBox();
     base.SuspendLayout();
     this.lblPwd.Location                   = new Point(31, 47);
     this.lblPwd.Name                       = "lblPwd";
     this.lblPwd.Size                       = new Size(69, 23);
     this.lblPwd.TabIndex                   = 0;
     this.lblPwd.Text                       = "Password";
     this.lblPwd.TextAlign                  = ContentAlignment.MiddleRight;
     this.btnOk.DialogResult                = DialogResult.OK;
     this.btnOk.Location                    = new Point(40, 102);
     this.btnOk.Name                        = "btnOk";
     this.btnOk.Size                        = new Size(75, 23);
     this.btnOk.TabIndex                    = 2;
     this.btnOk.Text                        = "OK";
     this.btnOk.UseVisualStyleBackColor     = true;
     this.btnOk.Click                      += this.btnOk_Click;
     this.btnCancel.DialogResult            = DialogResult.Cancel;
     this.btnCancel.Location                = new Point(154, 102);
     this.btnCancel.Name                    = "btnCancel";
     this.btnCancel.Size                    = new Size(75, 23);
     this.btnCancel.TabIndex                = 3;
     this.btnCancel.Text                    = "Cancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     this.txtPwd.InputString                = null;
     this.txtPwd.Location                   = new Point(108, 47);
     this.txtPwd.MaxByteLength              = 0;
     this.txtPwd.Name                       = "txtPwd";
     this.txtPwd.PasswordChar               = '*';
     this.txtPwd.Size                       = new Size(129, 23);
     this.txtPwd.TabIndex                   = 1;
     base.AcceptButton                      = this.btnOk;
     base.AutoScaleDimensions               = new SizeF(7f, 16f);
     base.AutoScaleMode                     = AutoScaleMode.Font;
     base.CancelButton                      = this.btnCancel;
     base.ClientSize                        = new Size(268, 153);
     base.Controls.Add(this.btnCancel);
     base.Controls.Add(this.btnOk);
     base.Controls.Add(this.txtPwd);
     base.Controls.Add(this.lblPwd);
     this.Font          = new Font("Arial", 10f, FontStyle.Regular);
     base.Name          = "PowerPwdForm";
     base.StartPosition = FormStartPosition.CenterScreen;
     this.Text          = "Password";
     base.Load         += this.PowerPwdForm_Load;
     base.ResumeLayout(false);
     base.PerformLayout();
 }
Exemplo n.º 2
0
 private void InitializeComponent()
 {
     this.chkBootScreen    = new System.Windows.Forms.CheckBox();
     this.chkBootPwdEnable = new System.Windows.Forms.CheckBox();
     this.lblBootPwd       = new System.Windows.Forms.Label();
     this.lblLine1         = new System.Windows.Forms.Label();
     this.lblLine2         = new System.Windows.Forms.Label();
     this.lblBootScreen    = new System.Windows.Forms.Label();
     this.cmbBootScreen    = new System.Windows.Forms.ComboBox();
     this.grpBootScreen    = new System.Windows.Forms.GroupBox();
     this.txtLine2         = new DMR.SGTextBox();
     this.txtLine1         = new DMR.SGTextBox();
     this.txtBootPwd       = new DMR.SGTextBox();
     this.grpBootScreen.SuspendLayout();
     this.SuspendLayout();
     //
     // chkBootScreen
     //
     this.chkBootScreen.AutoSize = true;
     this.chkBootScreen.Location = new System.Drawing.Point(24, 273);
     this.chkBootScreen.Margin   = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.chkBootScreen.Name     = "chkBootScreen";
     this.chkBootScreen.Size     = new System.Drawing.Size(104, 20);
     this.chkBootScreen.TabIndex = 0;
     this.chkBootScreen.Text     = "Intro Screen";
     this.chkBootScreen.UseVisualStyleBackColor = true;
     this.chkBootScreen.Visible = false;
     //
     // chkBootPwdEnable
     //
     this.chkBootPwdEnable.AutoSize = true;
     this.chkBootPwdEnable.Location = new System.Drawing.Point(12, 193);
     this.chkBootPwdEnable.Margin   = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.chkBootPwdEnable.Name     = "chkBootPwdEnable";
     this.chkBootPwdEnable.Size     = new System.Drawing.Size(202, 20);
     this.chkBootPwdEnable.TabIndex = 2;
     this.chkBootPwdEnable.Text     = "Power On Password Enable";
     this.chkBootPwdEnable.UseVisualStyleBackColor = true;
     this.chkBootPwdEnable.CheckedChanged         += new System.EventHandler(this.chkBootPwdEnable_CheckedChanged);
     //
     // lblBootPwd
     //
     this.lblBootPwd.Location  = new System.Drawing.Point(8, 221);
     this.lblBootPwd.Name      = "lblBootPwd";
     this.lblBootPwd.Size      = new System.Drawing.Size(166, 24);
     this.lblBootPwd.TabIndex  = 3;
     this.lblBootPwd.Text      = "Power On Password";
     this.lblBootPwd.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lblLine1
     //
     this.lblLine1.Location  = new System.Drawing.Point(12, 74);
     this.lblLine1.Name      = "lblLine1";
     this.lblLine1.Size      = new System.Drawing.Size(104, 24);
     this.lblLine1.TabIndex  = 2;
     this.lblLine1.Text      = "Line 1";
     this.lblLine1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lblLine2
     //
     this.lblLine2.Location  = new System.Drawing.Point(12, 116);
     this.lblLine2.Name      = "lblLine2";
     this.lblLine2.Size      = new System.Drawing.Size(104, 24);
     this.lblLine2.TabIndex  = 4;
     this.lblLine2.Text      = "Line 2";
     this.lblLine2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lblBootScreen
     //
     this.lblBootScreen.Location  = new System.Drawing.Point(12, 32);
     this.lblBootScreen.Name      = "lblBootScreen";
     this.lblBootScreen.Size      = new System.Drawing.Size(104, 24);
     this.lblBootScreen.TabIndex  = 0;
     this.lblBootScreen.Text      = "Intro Screen";
     this.lblBootScreen.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // cmbBootScreen
     //
     this.cmbBootScreen.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbBootScreen.ForeColor         = System.Drawing.SystemColors.WindowText;
     this.cmbBootScreen.FormattingEnabled = true;
     this.cmbBootScreen.Items.AddRange(new object[] {
         "",
         ""
     });
     this.cmbBootScreen.Location              = new System.Drawing.Point(122, 32);
     this.cmbBootScreen.Margin                = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.cmbBootScreen.Name                  = "cmbBootScreen";
     this.cmbBootScreen.Size                  = new System.Drawing.Size(126, 24);
     this.cmbBootScreen.TabIndex              = 1;
     this.cmbBootScreen.SelectedIndexChanged += new System.EventHandler(this.cmbBootScreen_SelectedIndexChanged);
     //
     // grpBootScreen
     //
     this.grpBootScreen.Controls.Add(this.lblBootScreen);
     this.grpBootScreen.Controls.Add(this.cmbBootScreen);
     this.grpBootScreen.Controls.Add(this.txtLine2);
     this.grpBootScreen.Controls.Add(this.lblLine2);
     this.grpBootScreen.Controls.Add(this.txtLine1);
     this.grpBootScreen.Controls.Add(this.lblLine1);
     this.grpBootScreen.Location = new System.Drawing.Point(12, 13);
     this.grpBootScreen.Margin   = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.grpBootScreen.Name     = "grpBootScreen";
     this.grpBootScreen.Padding  = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.grpBootScreen.Size     = new System.Drawing.Size(288, 172);
     this.grpBootScreen.TabIndex = 1;
     this.grpBootScreen.TabStop  = false;
     this.grpBootScreen.Text     = "Intro Screen";
     //
     // txtLine2
     //
     this.txtLine2.InputString   = null;
     this.txtLine2.Location      = new System.Drawing.Point(122, 116);
     this.txtLine2.Margin        = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.txtLine2.MaxByteLength = 0;
     this.txtLine2.Name          = "txtLine2";
     this.txtLine2.Size          = new System.Drawing.Size(126, 23);
     this.txtLine2.TabIndex      = 5;
     this.txtLine2.Leave        += new System.EventHandler(this.txtLine2_Leave);
     //
     // txtLine1
     //
     this.txtLine1.InputString   = null;
     this.txtLine1.Location      = new System.Drawing.Point(122, 74);
     this.txtLine1.Margin        = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.txtLine1.MaxByteLength = 0;
     this.txtLine1.Name          = "txtLine1";
     this.txtLine1.Size          = new System.Drawing.Size(126, 23);
     this.txtLine1.TabIndex      = 3;
     this.txtLine1.Leave        += new System.EventHandler(this.txtLine1_Leave);
     //
     // txtBootPwd
     //
     this.txtBootPwd.InputString   = null;
     this.txtBootPwd.Location      = new System.Drawing.Point(180, 221);
     this.txtBootPwd.Margin        = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.txtBootPwd.MaxByteLength = 0;
     this.txtBootPwd.Name          = "txtBootPwd";
     this.txtBootPwd.Size          = new System.Drawing.Size(120, 23);
     this.txtBootPwd.TabIndex      = 4;
     //
     // BootItemForm
     //
     this.ClientSize = new System.Drawing.Size(350, 262);
     this.Controls.Add(this.grpBootScreen);
     this.Controls.Add(this.txtBootPwd);
     this.Controls.Add(this.lblBootPwd);
     this.Controls.Add(this.chkBootPwdEnable);
     this.Controls.Add(this.chkBootScreen);
     this.Font            = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Margin          = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "BootItemForm";
     this.Text            = "Boot Item";
     this.FormClosing    += new System.Windows.Forms.FormClosingEventHandler(this.BootItemForm_FormClosing);
     this.Load           += new System.EventHandler(this.BootItemForm_Load);
     this.grpBootScreen.ResumeLayout(false);
     this.grpBootScreen.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemplo n.º 3
0
 private void InitializeComponent()
 {
     this.chkCallRxTone = new System.Windows.Forms.CheckBox();
     this.lblName       = new System.Windows.Forms.Label();
     this.lblCallId     = new System.Windows.Forms.Label();
     this.lblCallType   = new System.Windows.Forms.Label();
     this.pnlContact    = new CustomPanel();
     this.txtCallId     = new DMR.SGTextBox();
     this.cmbRingStyle  = new CustomCombo();
     this.cmbCallType   = new CustomCombo();
     this.lblRingStyle  = new System.Windows.Forms.Label();
     this.txtName       = new DMR.SGTextBox();
     this.pnlContact.SuspendLayout();
     this.SuspendLayout();
     //
     // chkCallRxTone
     //
     this.chkCallRxTone.AutoSize = true;
     this.chkCallRxTone.Location = new System.Drawing.Point(158, 173);
     this.chkCallRxTone.Name     = "chkCallRxTone";
     this.chkCallRxTone.Size     = new System.Drawing.Size(141, 20);
     this.chkCallRxTone.TabIndex = 6;
     this.chkCallRxTone.Text     = "Call Receive Tone";
     this.chkCallRxTone.UseVisualStyleBackColor = true;
     //
     // lblName
     //
     this.lblName.Location  = new System.Drawing.Point(60, 50);
     this.lblName.Name      = "lblName";
     this.lblName.Size      = new System.Drawing.Size(87, 24);
     this.lblName.TabIndex  = 0;
     this.lblName.Text      = "Name";
     this.lblName.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lblCallId
     //
     this.lblCallId.Location  = new System.Drawing.Point(60, 80);
     this.lblCallId.Name      = "lblCallId";
     this.lblCallId.Size      = new System.Drawing.Size(87, 24);
     this.lblCallId.TabIndex  = 2;
     this.lblCallId.Text      = "Call ID";
     this.lblCallId.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lblCallType
     //
     this.lblCallType.Enabled   = false;
     this.lblCallType.Location  = new System.Drawing.Point(60, 110);
     this.lblCallType.Name      = "lblCallType";
     this.lblCallType.Size      = new System.Drawing.Size(87, 24);
     this.lblCallType.TabIndex  = 4;
     this.lblCallType.Text      = "Call Type";
     this.lblCallType.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // pnlContact
     //
     this.pnlContact.AutoScroll = true;
     this.pnlContact.AutoSize   = true;
     this.pnlContact.Controls.Add(this.txtCallId);
     this.pnlContact.Controls.Add(this.chkCallRxTone);
     this.pnlContact.Controls.Add(this.cmbRingStyle);
     this.pnlContact.Controls.Add(this.cmbCallType);
     this.pnlContact.Controls.Add(this.lblRingStyle);
     this.pnlContact.Controls.Add(this.txtName);
     this.pnlContact.Controls.Add(this.lblCallType);
     this.pnlContact.Controls.Add(this.lblName);
     this.pnlContact.Controls.Add(this.lblCallId);
     this.pnlContact.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.pnlContact.Location = new System.Drawing.Point(0, 0);
     this.pnlContact.Name     = "pnlContact";
     this.pnlContact.Size     = new System.Drawing.Size(355, 228);
     this.pnlContact.TabIndex = 7;
     //
     // txtCallId
     //
     this.txtCallId.InputString   = null;
     this.txtCallId.Location      = new System.Drawing.Point(158, 80);
     this.txtCallId.MaxByteLength = 0;
     this.txtCallId.Name          = "txtCallId";
     this.txtCallId.Size          = new System.Drawing.Size(120, 23);
     this.txtCallId.TabIndex      = 3;
     this.txtCallId.Enter        += new System.EventHandler(this.txtCallId_Enter);
     this.txtCallId.Leave        += new System.EventHandler(this.txtCallId_Leave);
     this.txtCallId.Validating   += new System.ComponentModel.CancelEventHandler(this.txtCallId_Validating);
     //
     // cmbRingStyle
     //
     this.cmbRingStyle.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbRingStyle.FormattingEnabled = true;
     this.cmbRingStyle.Location          = new System.Drawing.Point(158, 140);
     this.cmbRingStyle.Name                  = "cmbRingStyle";
     this.cmbRingStyle.Size                  = new System.Drawing.Size(120, 24);
     this.cmbRingStyle.TabIndex              = 5;
     this.cmbRingStyle.SelectedIndexChanged += new System.EventHandler(this.cmbRingStyle_SelectedIndexChanged);
     //
     // cmbCallType
     //
     this.cmbCallType.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbCallType.FormattingEnabled = true;
     this.cmbCallType.Location          = new System.Drawing.Point(158, 110);
     this.cmbCallType.Name                  = "cmbCallType";
     this.cmbCallType.Size                  = new System.Drawing.Size(120, 24);
     this.cmbCallType.TabIndex              = 5;
     this.cmbCallType.SelectedIndexChanged += new System.EventHandler(this.cmbCallType_SelectedIndexChanged);
     //
     // lblRingStyle
     //
     this.lblRingStyle.Location  = new System.Drawing.Point(60, 140);
     this.lblRingStyle.Name      = "lblRingStyle";
     this.lblRingStyle.Size      = new System.Drawing.Size(87, 24);
     this.lblRingStyle.TabIndex  = 4;
     this.lblRingStyle.Text      = "Ring Style";
     this.lblRingStyle.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtName
     //
     this.txtName.InputString   = null;
     this.txtName.Location      = new System.Drawing.Point(158, 50);
     this.txtName.MaxByteLength = 0;
     this.txtName.Name          = "txtName";
     this.txtName.Size          = new System.Drawing.Size(120, 23);
     this.txtName.TabIndex      = 1;
     this.txtName.Leave        += new System.EventHandler(this.txtName_Leave);
     //
     // ContactForm
     //
     this.ClientSize = new System.Drawing.Size(355, 228);
     this.Controls.Add(this.pnlContact);
     this.Font         = new System.Drawing.Font("Arial", 10F);
     this.Name         = "ContactForm";
     this.Text         = "Digital Contact";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ContactForm_FormClosing);
     this.Load        += new System.EventHandler(this.ContactForm_Load);
     this.pnlContact.ResumeLayout(false);
     this.pnlContact.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemplo n.º 4
0
        private void InitializeComponent()
        {
            this.pnlContact       = new CustomPanel();
            this.openGD77groupbox = new System.Windows.Forms.GroupBox();
            this.cmbRepeaterSlot  = new CustomCombo();
            this.lblRepeaterSlot  = new System.Windows.Forms.Label();
            this.txtCallId        = new DMR.SGTextBox();
            this.chkCallRxTone    = new System.Windows.Forms.CheckBox();
            this.cmbRingStyle     = new CustomCombo();
            this.cmbCallType      = new CustomCombo();
            this.lblRingStyle     = new System.Windows.Forms.Label();
            this.txtName          = new DMR.SGTextBox();
            this.lblCallType      = new System.Windows.Forms.Label();
            this.lblName          = new System.Windows.Forms.Label();
            this.lblCallId        = new System.Windows.Forms.Label();
            this.pnlContact.SuspendLayout();
            this.openGD77groupbox.SuspendLayout();
            this.SuspendLayout();
            //
            // pnlContact
            //
            this.pnlContact.AutoScroll = true;
            this.pnlContact.AutoSize   = true;
            this.pnlContact.Controls.Add(this.openGD77groupbox);
            this.pnlContact.Controls.Add(this.txtCallId);
            this.pnlContact.Controls.Add(this.chkCallRxTone);
            this.pnlContact.Controls.Add(this.cmbRingStyle);
            this.pnlContact.Controls.Add(this.cmbCallType);
            this.pnlContact.Controls.Add(this.lblRingStyle);
            this.pnlContact.Controls.Add(this.txtName);
            this.pnlContact.Controls.Add(this.lblCallType);
            this.pnlContact.Controls.Add(this.lblName);
            this.pnlContact.Controls.Add(this.lblCallId);
            this.pnlContact.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.pnlContact.Location = new System.Drawing.Point(0, 0);
            this.pnlContact.Name     = "pnlContact";
            this.pnlContact.Size     = new System.Drawing.Size(314, 267);
            this.pnlContact.TabIndex = 7;
            //
            // openGD77groupbox
            //
            this.openGD77groupbox.Controls.Add(this.cmbRepeaterSlot);
            this.openGD77groupbox.Controls.Add(this.lblRepeaterSlot);
            this.openGD77groupbox.Location = new System.Drawing.Point(7, 173);
            this.openGD77groupbox.Name     = "openGD77groupbox";
            this.openGD77groupbox.Size     = new System.Drawing.Size(283, 62);
            this.openGD77groupbox.TabIndex = 7;
            this.openGD77groupbox.TabStop  = false;
            this.openGD77groupbox.Text     = "OpenGD77 - Channel TS override";
            //
            // cmbRepeaterSlot
            //
            this.cmbRepeaterSlot.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cmbRepeaterSlot.FormattingEnabled = true;
            this.cmbRepeaterSlot.Items.AddRange(new object[] {
                "Disabled",
                "TS 1",
                "TS 2"
            });
            this.cmbRepeaterSlot.Location              = new System.Drawing.Point(129, 32);
            this.cmbRepeaterSlot.Name                  = "cmbRepeaterSlot";
            this.cmbRepeaterSlot.Size                  = new System.Drawing.Size(120, 24);
            this.cmbRepeaterSlot.TabIndex              = 5;
            this.cmbRepeaterSlot.SelectedIndexChanged += new System.EventHandler(this.cmbRepeaterSlot_SelectedIndexChanged);
            //
            // lblRepeaterSlot
            //
            this.lblRepeaterSlot.Location  = new System.Drawing.Point(12, 32);
            this.lblRepeaterSlot.Name      = "lblRepeaterSlot";
            this.lblRepeaterSlot.Size      = new System.Drawing.Size(111, 24);
            this.lblRepeaterSlot.TabIndex  = 4;
            this.lblRepeaterSlot.Text      = "Repeater Slot";
            this.lblRepeaterSlot.TextAlign = System.Drawing.ContentAlignment.MiddleRight;

            //
            // txtCallId
            //
            this.txtCallId.InputString   = null;
            this.txtCallId.Location      = new System.Drawing.Point(137, 44);
            this.txtCallId.MaxByteLength = 0;
            this.txtCallId.Name          = "txtCallId";
            this.txtCallId.Size          = new System.Drawing.Size(120, 23);
            this.txtCallId.TabIndex      = 3;
            this.txtCallId.Enter        += new System.EventHandler(this.txtCallId_Enter);
            this.txtCallId.Leave        += new System.EventHandler(this.txtCallId_Leave);
            this.txtCallId.Validating   += new System.ComponentModel.CancelEventHandler(this.txtCallId_Validating);
            //
            // chkCallRxTone
            //
            this.chkCallRxTone.AutoSize = true;
            this.chkCallRxTone.Location = new System.Drawing.Point(137, 137);
            this.chkCallRxTone.Name     = "chkCallRxTone";
            this.chkCallRxTone.Size     = new System.Drawing.Size(141, 20);
            this.chkCallRxTone.TabIndex = 6;
            this.chkCallRxTone.Text     = "Call Receive Tone";
            this.chkCallRxTone.UseVisualStyleBackColor = true;
            //
            // cmbRingStyle
            //
            this.cmbRingStyle.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cmbRingStyle.FormattingEnabled = true;
            this.cmbRingStyle.Location          = new System.Drawing.Point(137, 104);
            this.cmbRingStyle.Name                  = "cmbRingStyle";
            this.cmbRingStyle.Size                  = new System.Drawing.Size(120, 24);
            this.cmbRingStyle.TabIndex              = 5;
            this.cmbRingStyle.SelectedIndexChanged += new System.EventHandler(this.cmbRingStyle_SelectedIndexChanged);
            //
            // cmbCallType
            //
            this.cmbCallType.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cmbCallType.FormattingEnabled = true;
            this.cmbCallType.Location          = new System.Drawing.Point(137, 74);
            this.cmbCallType.Name                  = "cmbCallType";
            this.cmbCallType.Size                  = new System.Drawing.Size(120, 24);
            this.cmbCallType.TabIndex              = 5;
            this.cmbCallType.SelectedIndexChanged += new System.EventHandler(this.cmbCallType_SelectedIndexChanged);
            //
            // lblRingStyle
            //
            this.lblRingStyle.Location  = new System.Drawing.Point(20, 104);
            this.lblRingStyle.Name      = "lblRingStyle";
            this.lblRingStyle.Size      = new System.Drawing.Size(111, 24);
            this.lblRingStyle.TabIndex  = 4;
            this.lblRingStyle.Text      = "Ring Style";
            this.lblRingStyle.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            //
            // txtName
            //
            this.txtName.InputString   = null;
            this.txtName.Location      = new System.Drawing.Point(137, 14);
            this.txtName.MaxByteLength = 0;
            this.txtName.Name          = "txtName";
            this.txtName.Size          = new System.Drawing.Size(120, 23);
            this.txtName.TabIndex      = 1;
            this.txtName.Leave        += new System.EventHandler(this.txtName_Leave);
            //
            // lblCallType
            //
            this.lblCallType.Enabled   = false;
            this.lblCallType.Location  = new System.Drawing.Point(23, 74);
            this.lblCallType.Name      = "lblCallType";
            this.lblCallType.Size      = new System.Drawing.Size(108, 24);
            this.lblCallType.TabIndex  = 4;
            this.lblCallType.Text      = "Call Type";
            this.lblCallType.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            //
            // lblName
            //
            this.lblName.Location  = new System.Drawing.Point(26, 14);
            this.lblName.Name      = "lblName";
            this.lblName.Size      = new System.Drawing.Size(105, 24);
            this.lblName.TabIndex  = 0;
            this.lblName.Text      = "Name";
            this.lblName.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            //
            // lblCallId
            //
            this.lblCallId.Location  = new System.Drawing.Point(26, 44);
            this.lblCallId.Name      = "lblCallId";
            this.lblCallId.Size      = new System.Drawing.Size(105, 24);
            this.lblCallId.TabIndex  = 2;
            this.lblCallId.Text      = "Call ID";
            this.lblCallId.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            //
            // ContactForm
            //
            this.ClientSize = new System.Drawing.Size(314, 267);
            this.Controls.Add(this.pnlContact);
            this.Font         = new System.Drawing.Font("Arial", 10F);
            this.Name         = "ContactForm";
            this.Text         = "Digital Contact";
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ContactForm_FormClosing);
            this.Load        += new System.EventHandler(this.ContactForm_Load);
            this.pnlContact.ResumeLayout(false);
            this.pnlContact.PerformLayout();
            this.openGD77groupbox.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();
        }
Exemplo n.º 5
0
 private void InitializeComponent()
 {
     this.pnlDeviceInfo  = new CustomPanel();
     this.lblTo1         = new System.Windows.Forms.Label();
     this.lblTo2         = new System.Windows.Forms.Label();
     this.lblSection1    = new System.Windows.Forms.Label();
     this.label_1        = new System.Windows.Forms.Label();
     this.txtModel       = new DMR.SGTextBox();
     this.lblFirmwareVer = new System.Windows.Forms.Label();
     this.txtLastPrgTime = new System.Windows.Forms.TextBox();
     this.lblHardwareVer = new System.Windows.Forms.Label();
     this.txtMaxFreq2    = new DMR.SGTextBox();
     this.txtMaxFreq     = new DMR.SGTextBox();
     this.label_0        = new System.Windows.Forms.Label();
     this.txtMinFreq2    = new DMR.SGTextBox();
     this.txtMinFreq     = new DMR.SGTextBox();
     this.lblSn          = new System.Windows.Forms.Label();
     this.txtSn          = new DMR.SGTextBox();
     this.sgtextBox_0    = new DMR.SGTextBox();
     this.lblSection2    = new System.Windows.Forms.Label();
     this.txtHardwareVer = new DMR.SGTextBox();
     this.lblLastPrgTime = new System.Windows.Forms.Label();
     this.txtFirmwareVer = new DMR.SGTextBox();
     this.lblModel       = new System.Windows.Forms.Label();
     this.sgtextBox_1    = new DMR.SGTextBox();
     this.pnlDeviceInfo.SuspendLayout();
     this.SuspendLayout();
     //
     // pnlDeviceInfo
     //
     this.pnlDeviceInfo.AutoScroll = true;
     this.pnlDeviceInfo.AutoSize   = true;
     this.pnlDeviceInfo.Controls.Add(this.lblTo1);
     this.pnlDeviceInfo.Controls.Add(this.lblTo2);
     this.pnlDeviceInfo.Controls.Add(this.lblSection1);
     this.pnlDeviceInfo.Controls.Add(this.label_1);
     this.pnlDeviceInfo.Controls.Add(this.txtModel);
     this.pnlDeviceInfo.Controls.Add(this.lblFirmwareVer);
     this.pnlDeviceInfo.Controls.Add(this.txtLastPrgTime);
     this.pnlDeviceInfo.Controls.Add(this.lblHardwareVer);
     this.pnlDeviceInfo.Controls.Add(this.txtMaxFreq2);
     this.pnlDeviceInfo.Controls.Add(this.txtMaxFreq);
     this.pnlDeviceInfo.Controls.Add(this.label_0);
     this.pnlDeviceInfo.Controls.Add(this.txtMinFreq2);
     this.pnlDeviceInfo.Controls.Add(this.txtMinFreq);
     this.pnlDeviceInfo.Controls.Add(this.lblSn);
     this.pnlDeviceInfo.Controls.Add(this.txtSn);
     this.pnlDeviceInfo.Controls.Add(this.sgtextBox_0);
     this.pnlDeviceInfo.Controls.Add(this.lblSection2);
     this.pnlDeviceInfo.Controls.Add(this.txtHardwareVer);
     this.pnlDeviceInfo.Controls.Add(this.lblLastPrgTime);
     this.pnlDeviceInfo.Controls.Add(this.txtFirmwareVer);
     this.pnlDeviceInfo.Controls.Add(this.lblModel);
     this.pnlDeviceInfo.Controls.Add(this.sgtextBox_1);
     this.pnlDeviceInfo.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.pnlDeviceInfo.Location = new System.Drawing.Point(0, 0);
     this.pnlDeviceInfo.Name     = "pnlDeviceInfo";
     this.pnlDeviceInfo.Size     = new System.Drawing.Size(397, 95);
     this.pnlDeviceInfo.TabIndex = 0;
     //
     // lblTo1
     //
     this.lblTo1.AutoSize = true;
     this.lblTo1.Location = new System.Drawing.Point(289, 50);
     this.lblTo1.Name     = "lblTo1";
     this.lblTo1.Size     = new System.Drawing.Size(13, 16);
     this.lblTo1.TabIndex = 2;
     this.lblTo1.Text     = "-";
     //
     // lblTo2
     //
     this.lblTo2.AutoSize = true;
     this.lblTo2.Location = new System.Drawing.Point(288, 14);
     this.lblTo2.Name     = "lblTo2";
     this.lblTo2.Size     = new System.Drawing.Size(13, 16);
     this.lblTo2.TabIndex = 6;
     this.lblTo2.Text     = "-";
     //
     // lblSection1
     //
     this.lblSection1.Location  = new System.Drawing.Point(12, 47);
     this.lblSection1.Name      = "lblSection1";
     this.lblSection1.Size      = new System.Drawing.Size(205, 23);
     this.lblSection1.TabIndex  = 0;
     this.lblSection1.Text      = "Frequency Range 1 [MHz]";
     this.lblSection1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label_1
     //
     this.label_1.Location  = new System.Drawing.Point(28, 309);
     this.label_1.Name      = "label_1";
     this.label_1.Size      = new System.Drawing.Size(172, 23);
     this.label_1.TabIndex  = 20;
     this.label_1.Text      = "DSP Version";
     this.label_1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.label_1.Visible   = false;
     //
     // txtModel
     //
     this.txtModel.InputString   = null;
     this.txtModel.Location      = new System.Drawing.Point(210, 135);
     this.txtModel.MaxByteLength = 0;
     this.txtModel.Name          = "txtModel";
     this.txtModel.ReadOnly      = true;
     this.txtModel.Size          = new System.Drawing.Size(139, 23);
     this.txtModel.TabIndex      = 11;
     this.txtModel.Visible       = false;
     //
     // lblFirmwareVer
     //
     this.lblFirmwareVer.Location  = new System.Drawing.Point(28, 274);
     this.lblFirmwareVer.Name      = "lblFirmwareVer";
     this.lblFirmwareVer.Size      = new System.Drawing.Size(172, 23);
     this.lblFirmwareVer.TabIndex  = 18;
     this.lblFirmwareVer.Text      = "Firmware Version";
     this.lblFirmwareVer.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblFirmwareVer.Visible   = false;
     //
     // txtLastPrgTime
     //
     this.txtLastPrgTime.Location = new System.Drawing.Point(210, 101);
     this.txtLastPrgTime.Name     = "txtLastPrgTime";
     this.txtLastPrgTime.ReadOnly = true;
     this.txtLastPrgTime.Size     = new System.Drawing.Size(139, 23);
     this.txtLastPrgTime.TabIndex = 9;
     this.txtLastPrgTime.Visible  = false;
     //
     // lblHardwareVer
     //
     this.lblHardwareVer.Location  = new System.Drawing.Point(28, 239);
     this.lblHardwareVer.Name      = "lblHardwareVer";
     this.lblHardwareVer.Size      = new System.Drawing.Size(172, 23);
     this.lblHardwareVer.TabIndex  = 16;
     this.lblHardwareVer.Text      = "Hardware Version";
     this.lblHardwareVer.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblHardwareVer.Visible   = false;
     //
     // txtMaxFreq2
     //
     this.txtMaxFreq2.InputString   = null;
     this.txtMaxFreq2.Location      = new System.Drawing.Point(306, 9);
     this.txtMaxFreq2.MaxByteLength = 0;
     this.txtMaxFreq2.Name          = "txtMaxFreq2";
     this.txtMaxFreq2.ReadOnly      = true;
     this.txtMaxFreq2.Size          = new System.Drawing.Size(61, 23);
     this.txtMaxFreq2.TabIndex      = 7;
     this.txtMaxFreq2.Validating   += new System.ComponentModel.CancelEventHandler(this.txtMaxFreq2_Validating);
     //
     // txtMaxFreq
     //
     this.txtMaxFreq.InputString   = null;
     this.txtMaxFreq.Location      = new System.Drawing.Point(306, 47);
     this.txtMaxFreq.MaxByteLength = 0;
     this.txtMaxFreq.Name          = "txtMaxFreq";
     this.txtMaxFreq.ReadOnly      = true;
     this.txtMaxFreq.Size          = new System.Drawing.Size(61, 23);
     this.txtMaxFreq.TabIndex      = 3;
     this.txtMaxFreq.Validating   += new System.ComponentModel.CancelEventHandler(this.txtMaxFreq_Validating);
     //
     // label_0
     //
     this.label_0.Location  = new System.Drawing.Point(28, 205);
     this.label_0.Name      = "label_0";
     this.label_0.Size      = new System.Drawing.Size(172, 23);
     this.label_0.TabIndex  = 14;
     this.label_0.Text      = "CPS Version";
     this.label_0.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.label_0.Visible   = false;
     //
     // txtMinFreq2
     //
     this.txtMinFreq2.InputString   = null;
     this.txtMinFreq2.Location      = new System.Drawing.Point(223, 9);
     this.txtMinFreq2.MaxByteLength = 0;
     this.txtMinFreq2.Name          = "txtMinFreq2";
     this.txtMinFreq2.ReadOnly      = true;
     this.txtMinFreq2.Size          = new System.Drawing.Size(61, 23);
     this.txtMinFreq2.TabIndex      = 5;
     this.txtMinFreq2.Validating   += new System.ComponentModel.CancelEventHandler(this.txtMinFreq2_Validating);
     //
     // txtMinFreq
     //
     this.txtMinFreq.InputString   = null;
     this.txtMinFreq.Location      = new System.Drawing.Point(223, 47);
     this.txtMinFreq.MaxByteLength = 0;
     this.txtMinFreq.Name          = "txtMinFreq";
     this.txtMinFreq.ReadOnly      = true;
     this.txtMinFreq.Size          = new System.Drawing.Size(61, 23);
     this.txtMinFreq.TabIndex      = 1;
     this.txtMinFreq.Validating   += new System.ComponentModel.CancelEventHandler(this.txtMinFreq_Validating);
     //
     // lblSn
     //
     this.lblSn.Location  = new System.Drawing.Point(28, 170);
     this.lblSn.Name      = "lblSn";
     this.lblSn.Size      = new System.Drawing.Size(172, 23);
     this.lblSn.TabIndex  = 12;
     this.lblSn.Text      = "Serial Number";
     this.lblSn.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblSn.Visible   = false;
     //
     // txtSn
     //
     this.txtSn.InputString   = null;
     this.txtSn.Location      = new System.Drawing.Point(210, 170);
     this.txtSn.MaxByteLength = 0;
     this.txtSn.Name          = "txtSn";
     this.txtSn.ReadOnly      = true;
     this.txtSn.Size          = new System.Drawing.Size(139, 23);
     this.txtSn.TabIndex      = 13;
     this.txtSn.Visible       = false;
     //
     // sgtextBox_0
     //
     this.sgtextBox_0.InputString   = null;
     this.sgtextBox_0.Location      = new System.Drawing.Point(210, 205);
     this.sgtextBox_0.MaxByteLength = 0;
     this.sgtextBox_0.Name          = "sgtextBox_0";
     this.sgtextBox_0.ReadOnly      = true;
     this.sgtextBox_0.Size          = new System.Drawing.Size(139, 23);
     this.sgtextBox_0.TabIndex      = 15;
     this.sgtextBox_0.Visible       = false;
     //
     // lblSection2
     //
     this.lblSection2.Location  = new System.Drawing.Point(12, 9);
     this.lblSection2.Name      = "lblSection2";
     this.lblSection2.Size      = new System.Drawing.Size(205, 23);
     this.lblSection2.TabIndex  = 4;
     this.lblSection2.Text      = "Frequency Range 2 [MHz]";
     this.lblSection2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtHardwareVer
     //
     this.txtHardwareVer.InputString   = null;
     this.txtHardwareVer.Location      = new System.Drawing.Point(210, 239);
     this.txtHardwareVer.MaxByteLength = 0;
     this.txtHardwareVer.Name          = "txtHardwareVer";
     this.txtHardwareVer.ReadOnly      = true;
     this.txtHardwareVer.Size          = new System.Drawing.Size(139, 23);
     this.txtHardwareVer.TabIndex      = 17;
     this.txtHardwareVer.Visible       = false;
     //
     // lblLastPrgTime
     //
     this.lblLastPrgTime.Location  = new System.Drawing.Point(28, 101);
     this.lblLastPrgTime.Name      = "lblLastPrgTime";
     this.lblLastPrgTime.Size      = new System.Drawing.Size(172, 23);
     this.lblLastPrgTime.TabIndex  = 8;
     this.lblLastPrgTime.Text      = "Last Programed Date";
     this.lblLastPrgTime.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblLastPrgTime.Visible   = false;
     //
     // txtFirmwareVer
     //
     this.txtFirmwareVer.InputString   = null;
     this.txtFirmwareVer.Location      = new System.Drawing.Point(210, 274);
     this.txtFirmwareVer.MaxByteLength = 0;
     this.txtFirmwareVer.Name          = "txtFirmwareVer";
     this.txtFirmwareVer.ReadOnly      = true;
     this.txtFirmwareVer.Size          = new System.Drawing.Size(139, 23);
     this.txtFirmwareVer.TabIndex      = 19;
     this.txtFirmwareVer.Visible       = false;
     //
     // lblModel
     //
     this.lblModel.Location  = new System.Drawing.Point(28, 135);
     this.lblModel.Name      = "lblModel";
     this.lblModel.Size      = new System.Drawing.Size(172, 23);
     this.lblModel.TabIndex  = 10;
     this.lblModel.Text      = "Model Name";
     this.lblModel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblModel.Visible   = false;
     //
     // sgtextBox_1
     //
     this.sgtextBox_1.InputString   = null;
     this.sgtextBox_1.Location      = new System.Drawing.Point(210, 309);
     this.sgtextBox_1.MaxByteLength = 0;
     this.sgtextBox_1.Name          = "sgtextBox_1";
     this.sgtextBox_1.ReadOnly      = true;
     this.sgtextBox_1.Size          = new System.Drawing.Size(139, 23);
     this.sgtextBox_1.TabIndex      = 21;
     this.sgtextBox_1.Visible       = false;
     //
     // DeviceInfoForm
     //
     this.ClientSize = new System.Drawing.Size(397, 95);
     this.Controls.Add(this.pnlDeviceInfo);
     this.Font            = new System.Drawing.Font("Arial", 10F);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.KeyPreview      = true;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "DeviceInfoForm";
     this.Text            = "Basic Information";
     this.FormClosing    += new System.Windows.Forms.FormClosingEventHandler(this.DeviceInfoForm_FormClosing);
     this.Load           += new System.EventHandler(this.DeviceInfoForm_Load);
     this.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.DeviceInfoForm_KeyDown);
     this.pnlDeviceInfo.ResumeLayout(false);
     this.pnlDeviceInfo.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemplo n.º 6
0
        private void InitializeComponent()
        {
            this.chkBootScreen    = new CheckBox();
            this.chkBootPwdEnable = new CheckBox();
            this.lblBootPwd       = new Label();
            this.lblLine1         = new Label();
            this.lblLine2         = new Label();
            this.lblBootScreen    = new Label();
            this.cmbBootScreen    = new ComboBox();
            this.grpBootScreen    = new GroupBox();
            this.txtLine2         = new SGTextBox();
            this.txtLine1         = new SGTextBox();
            this.txtBootPwd       = new SGTextBox();
            this.grpBootScreen.SuspendLayout();
            base.SuspendLayout();
            this.chkBootScreen.AutoSize = true;
            this.chkBootScreen.Location = new Point(165, 7);
            this.chkBootScreen.Margin   = new Padding(3, 4, 3, 4);
            this.chkBootScreen.Name     = "chkBootScreen";
            this.chkBootScreen.Size     = new Size(104, 20);
            this.chkBootScreen.TabIndex = 0;
            this.chkBootScreen.Text     = "Intro Screen";
            this.chkBootScreen.UseVisualStyleBackColor = true;
            this.chkBootScreen.Visible     = false;
            this.chkBootPwdEnable.AutoSize = true;
            this.chkBootPwdEnable.Location = new Point(68, 229);
            this.chkBootPwdEnable.Margin   = new Padding(3, 4, 3, 4);
            this.chkBootPwdEnable.Name     = "chkBootPwdEnable";
            this.chkBootPwdEnable.Size     = new Size(202, 20);
            this.chkBootPwdEnable.TabIndex = 2;
            this.chkBootPwdEnable.Text     = "Power On Password Enable";
            this.chkBootPwdEnable.UseVisualStyleBackColor = true;
            this.chkBootPwdEnable.CheckedChanged         += this.chkBootPwdEnable_CheckedChanged;
            this.lblBootPwd.Location             = new Point(12, 268);
            this.lblBootPwd.Name                 = "lblBootPwd";
            this.lblBootPwd.Size                 = new Size(152, 24);
            this.lblBootPwd.TabIndex             = 3;
            this.lblBootPwd.Text                 = "Power On Password";
            this.lblBootPwd.TextAlign            = ContentAlignment.MiddleRight;
            this.lblLine1.Location               = new Point(22, 74);
            this.lblLine1.Name                   = "lblLine1";
            this.lblLine1.Size                   = new Size(104, 24);
            this.lblLine1.TabIndex               = 2;
            this.lblLine1.Text                   = "Line 1";
            this.lblLine1.TextAlign              = ContentAlignment.MiddleRight;
            this.lblLine2.Location               = new Point(22, 116);
            this.lblLine2.Name                   = "lblLine2";
            this.lblLine2.Size                   = new Size(104, 24);
            this.lblLine2.TabIndex               = 4;
            this.lblLine2.Text                   = "Line 2";
            this.lblLine2.TextAlign              = ContentAlignment.MiddleRight;
            this.lblBootScreen.Location          = new Point(22, 32);
            this.lblBootScreen.Name              = "lblBootScreen";
            this.lblBootScreen.Size              = new Size(104, 24);
            this.lblBootScreen.TabIndex          = 0;
            this.lblBootScreen.Text              = "Intro Screen";
            this.lblBootScreen.TextAlign         = ContentAlignment.MiddleRight;
            this.cmbBootScreen.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.cmbBootScreen.ForeColor         = SystemColors.WindowText;
            this.cmbBootScreen.FormattingEnabled = true;
            this.cmbBootScreen.Items.AddRange(new object[2]
            {
                "打开静噪",
                "静默"
            });
            this.cmbBootScreen.Location              = new Point(133, 32);
            this.cmbBootScreen.Margin                = new Padding(3, 4, 3, 4);
            this.cmbBootScreen.Name                  = "cmbBootScreen";
            this.cmbBootScreen.Size                  = new Size(115, 24);
            this.cmbBootScreen.TabIndex              = 1;
            this.cmbBootScreen.SelectedIndexChanged += this.cmbBootScreen_SelectedIndexChanged;
            this.grpBootScreen.Controls.Add(this.lblBootScreen);
            this.grpBootScreen.Controls.Add(this.cmbBootScreen);
            this.grpBootScreen.Controls.Add(this.txtLine2);
            this.grpBootScreen.Controls.Add(this.lblLine2);
            this.grpBootScreen.Controls.Add(this.txtLine1);
            this.grpBootScreen.Controls.Add(this.lblLine1);
            this.grpBootScreen.Location   = new Point(33, 34);
            this.grpBootScreen.Margin     = new Padding(3, 4, 3, 4);
            this.grpBootScreen.Name       = "grpBootScreen";
            this.grpBootScreen.Padding    = new Padding(3, 4, 3, 4);
            this.grpBootScreen.Size       = new Size(288, 172);
            this.grpBootScreen.TabIndex   = 1;
            this.grpBootScreen.TabStop    = false;
            this.grpBootScreen.Text       = "Intro Screen";
            this.txtLine2.InputString     = null;
            this.txtLine2.Location        = new Point(133, 116);
            this.txtLine2.Margin          = new Padding(3, 4, 3, 4);
            this.txtLine2.MaxByteLength   = 0;
            this.txtLine2.Name            = "txtLine2";
            this.txtLine2.Size            = new Size(115, 23);
            this.txtLine2.TabIndex        = 5;
            this.txtLine1.InputString     = null;
            this.txtLine1.Location        = new Point(133, 74);
            this.txtLine1.Margin          = new Padding(3, 4, 3, 4);
            this.txtLine1.MaxByteLength   = 0;
            this.txtLine1.Name            = "txtLine1";
            this.txtLine1.Size            = new Size(115, 23);
            this.txtLine1.TabIndex        = 3;
            this.txtBootPwd.InputString   = null;
            this.txtBootPwd.Location      = new Point(170, 268);
            this.txtBootPwd.Margin        = new Padding(3, 4, 3, 4);
            this.txtBootPwd.MaxByteLength = 0;
            this.txtBootPwd.Name          = "txtBootPwd";
            this.txtBootPwd.Size          = new Size(120, 23);
            this.txtBootPwd.TabIndex      = 4;
            base.AutoScaleDimensions      = new SizeF(7f, 16f);
//			base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new Size(350, 336);
            base.Controls.Add(this.grpBootScreen);
            base.Controls.Add(this.txtBootPwd);
            base.Controls.Add(this.lblBootPwd);
            base.Controls.Add(this.chkBootPwdEnable);
            base.Controls.Add(this.chkBootScreen);
            this.Font         = new Font("Arial", 10f, FontStyle.Regular, GraphicsUnit.Point, 0);
            base.Margin       = new Padding(3, 4, 3, 4);
            base.Name         = "BootItemForm";
            this.Text         = "Boot Item";
            base.Load        += this.BootItemForm_Load;
            base.FormClosing += this.BootItemForm_FormClosing;
            this.grpBootScreen.ResumeLayout(false);
            this.grpBootScreen.PerformLayout();
            base.ResumeLayout(false);
            base.PerformLayout();
        }
Exemplo n.º 7
0
        private void method_0()
        {
            this.pnlContact                 = new Panel();
            this.btnImport                  = new Button();
            this.btnExport                  = new Button();
            this.btnDeleteSelect            = new Button();
            this.cmbCallRxTone              = new ComboBox();
            this.cmbRingStyle               = new ComboBox();
            this.cmbType                    = new ComboBox();
            this.btnClear                   = new Button();
            this.btnDelete                  = new Button();
            this.btnAdd                     = new Button();
            this.dgvContacts                = new DataGridView();
            this.txtCallId                  = new SGTextBox();
            this.txtName                    = new SGTextBox();
            this.cmbAddType                 = new Class4();
            this.dataGridViewTextBoxColumn1 = new DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn2 = new DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn3 = new DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn4 = new DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn5 = new DataGridViewTextBoxColumn();
            this.pnlContact.SuspendLayout();
            ((ISupportInitialize)this.dgvContacts).BeginInit();
            base.SuspendLayout();
            this.pnlContact.AutoScroll = true;
            this.pnlContact.AutoSize   = true;
            this.pnlContact.Controls.Add(this.btnImport);
            this.pnlContact.Controls.Add(this.btnExport);
            this.pnlContact.Controls.Add(this.btnDeleteSelect);
            this.pnlContact.Controls.Add(this.txtCallId);
            this.pnlContact.Controls.Add(this.txtName);
            this.pnlContact.Controls.Add(this.cmbCallRxTone);
            this.pnlContact.Controls.Add(this.cmbRingStyle);
            this.pnlContact.Controls.Add(this.cmbType);
            this.pnlContact.Controls.Add(this.cmbAddType);
            this.pnlContact.Controls.Add(this.btnClear);
            this.pnlContact.Controls.Add(this.btnDelete);
            this.pnlContact.Controls.Add(this.btnAdd);
            this.pnlContact.Controls.Add(this.dgvContacts);
            this.pnlContact.Dock     = DockStyle.Fill;
            this.pnlContact.Location = new Point(0, 0);
            this.pnlContact.Name     = "pnlContact";
            this.pnlContact.Size     = new Size(729, 381);
            this.pnlContact.TabIndex = 0;
            this.btnImport.Location  = new Point(606, 30);
            this.btnImport.Name      = "btnImport";
            this.btnImport.Size      = new Size(75, 23);
            this.btnImport.TabIndex  = 11;
            this.btnImport.Text      = "Import";
            this.btnImport.UseVisualStyleBackColor = true;
            this.btnImport.Click   += this.btnImport_Click;
            this.btnExport.Location = new Point(521, 30);
            this.btnExport.Name     = "btnExport";
            this.btnExport.Size     = new Size(75, 23);
            this.btnExport.TabIndex = 11;
            this.btnExport.Text     = "Export";
            this.btnExport.UseVisualStyleBackColor = true;
            this.btnExport.Click         += this.btnExport_Click;
            this.btnDeleteSelect.Location = new Point(404, 30);
            this.btnDeleteSelect.Name     = "btnDeleteSelect";
            this.btnDeleteSelect.Size     = new Size(107, 23);
            this.btnDeleteSelect.TabIndex = 10;
            this.btnDeleteSelect.Text     = "Delete Select";
            this.btnDeleteSelect.UseVisualStyleBackColor = true;
            this.btnDeleteSelect.Visible         = false;
            this.btnDeleteSelect.Click          += this.btnDeleteSelect_Click;
            this.cmbCallRxTone.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.cmbCallRxTone.FlatStyle         = FlatStyle.Flat;
            this.cmbCallRxTone.FormattingEnabled = true;
            this.cmbCallRxTone.Location          = new Point(409, 2);
            this.cmbCallRxTone.Name             = "cmbCallRxTone";
            this.cmbCallRxTone.Size             = new Size(61, 20);
            this.cmbCallRxTone.TabIndex         = 8;
            this.cmbCallRxTone.Visible          = false;
            this.cmbCallRxTone.Leave           += this.cmbCallRxTone_Leave;
            this.cmbRingStyle.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.cmbRingStyle.FlatStyle         = FlatStyle.Flat;
            this.cmbRingStyle.FormattingEnabled = true;
            this.cmbRingStyle.Location          = new Point(327, 2);
            this.cmbRingStyle.Name         = "cmbRingStyle";
            this.cmbRingStyle.Size         = new Size(61, 20);
            this.cmbRingStyle.TabIndex     = 7;
            this.cmbRingStyle.Visible      = false;
            this.cmbRingStyle.Leave       += this.cmbRingStyle_Leave;
            this.cmbType.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.cmbType.FlatStyle         = FlatStyle.Flat;
            this.cmbType.FormattingEnabled = true;
            this.cmbType.Location          = new Point(81, 3);
            this.cmbType.Name      = "cmbType";
            this.cmbType.Size      = new Size(61, 20);
            this.cmbType.TabIndex  = 4;
            this.cmbType.Visible   = false;
            this.cmbType.Leave    += this.cmbType_Leave;
            this.btnClear.Location = new Point(319, 30);
            this.btnClear.Name     = "btnClear";
            this.btnClear.Size     = new Size(75, 23);
            this.btnClear.TabIndex = 3;
            this.btnClear.Text     = "Clear";
            this.btnClear.UseVisualStyleBackColor = true;
            this.btnClear.Click    += this.btnClear_Click;
            this.btnDelete.Location = new Point(234, 30);
            this.btnDelete.Name     = "btnDelete";
            this.btnDelete.Size     = new Size(75, 23);
            this.btnDelete.TabIndex = 2;
            this.btnDelete.Text     = "Delete";
            this.btnDelete.UseVisualStyleBackColor = true;
            this.btnDelete.Click += this.btnDelete_Click;
            this.btnAdd.Location  = new Point(149, 30);
            this.btnAdd.Name      = "btnAdd";
            this.btnAdd.Size      = new Size(75, 23);
            this.btnAdd.TabIndex  = 1;
            this.btnAdd.Text      = "Add";
            this.btnAdd.UseVisualStyleBackColor = true;
            this.btnAdd.Click += this.btnAdd_Click;
            this.dgvContacts.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dgvContacts.Location                   = new Point(22, 62);
            this.dgvContacts.Name                       = "dgvContacts";
            this.dgvContacts.ReadOnly                   = true;
            this.dgvContacts.RowHeadersWidth            = 50;
            this.dgvContacts.RowTemplate.Height         = 23;
            this.dgvContacts.Size                       = new Size(750, 303); //new Size(657, 303);
            this.dgvContacts.TabIndex                   = 9;
            this.dgvContacts.RowPostPaint              += this.dgvContacts_RowPostPaint;
            this.dgvContacts.RowHeaderMouseDoubleClick += this.dgvContacts_RowHeaderMouseDoubleClick;
            this.dgvContacts.SelectionChanged          += this.dgvContacts_SelectionChanged;

            this.txtCallId.InputString                 = null;
            this.txtCallId.Location                    = new Point(240, 3);
            this.txtCallId.MaxByteLength               = 0;
            this.txtCallId.Name                        = "txtCallId";
            this.txtCallId.Size                        = new Size(61, 21);
            this.txtCallId.TabIndex                    = 6;
            this.txtCallId.Visible                     = false;
            this.txtCallId.Leave                      += this.txtCallId_Leave;
            this.txtName.InputString                   = null;
            this.txtName.Location                      = new Point(163, 2);
            this.txtName.MaxByteLength                 = 0;
            this.txtName.Name                          = "txtName";
            this.txtName.Size                          = new Size(61, 21);
            this.txtName.TabIndex                      = 5;
            this.txtName.Visible                       = false;
            this.txtName.Leave                        += this.txtName_Leave;
            this.cmbAddType.DropDownStyle              = ComboBoxStyle.DropDownList;
            this.cmbAddType.FormattingEnabled          = true;
            this.cmbAddType.Location                   = new Point(22, 31);
            this.cmbAddType.Name                       = "cmbAddType";
            this.cmbAddType.Size                       = new Size(112, 20);
            this.cmbAddType.TabIndex                   = 0;
            this.dataGridViewTextBoxColumn1.HeaderText = "Column1";
            this.dataGridViewTextBoxColumn1.Name       = "dataGridViewTextBoxColumn1";
            this.dataGridViewTextBoxColumn1.ReadOnly   = true;
            this.dataGridViewTextBoxColumn2.HeaderText = "Column2";
            this.dataGridViewTextBoxColumn2.Name       = "dataGridViewTextBoxColumn2";
            this.dataGridViewTextBoxColumn2.ReadOnly   = true;
            this.dataGridViewTextBoxColumn3.HeaderText = "Column3";
            this.dataGridViewTextBoxColumn3.Name       = "dataGridViewTextBoxColumn3";
            this.dataGridViewTextBoxColumn3.ReadOnly   = true;
            this.dataGridViewTextBoxColumn4.HeaderText = "Column4";
            this.dataGridViewTextBoxColumn4.Name       = "dataGridViewTextBoxColumn4";
            this.dataGridViewTextBoxColumn4.ReadOnly   = true;
            this.dataGridViewTextBoxColumn5.HeaderText = "Column5";
            this.dataGridViewTextBoxColumn5.Name       = "dataGridViewTextBoxColumn5";
            this.dataGridViewTextBoxColumn5.ReadOnly   = true;
            base.AutoScaleDimensions                   = new SizeF(6f, 12f);
            base.AutoScaleMode                         = AutoScaleMode.Font;
            base.ClientSize = new Size(800, 381);
            base.Controls.Add(this.pnlContact);
            this.Font  = this.Font = new Font("Arial", 10f, FontStyle.Regular);
            base.Name  = "ContactsForm";
            this.Text  = "Contacts";
            base.Load += this.ContactsForm_Load;
            this.pnlContact.ResumeLayout(false);
            this.pnlContact.PerformLayout();
            ((ISupportInitialize)this.dgvContacts).EndInit();
            base.ResumeLayout(false);
            base.PerformLayout();
        }
        private void InitializeComponent()
        {
            this.pnlChannel                 = new Panel();
            this.btnImport                  = new Button();
            this.btnExport                  = new Button();
            this.btnDeleteSelect            = new Button();
            this.txtTxFreq                  = new SGTextBox();
            this.txtRxFreq                  = new SGTextBox();
            this.txtName                    = new SGTextBox();
            this.cmbPower                   = new ComboBox();
            this.cmbChMode                  = new ComboBox();
            this.cmbAddChMode               = new CustomCombo();
            this.btnClear                   = new Button();
            this.btnDelete                  = new Button();
            this.btnAdd                     = new Button();
            this.dgvChannels                = new DataGridView();
            this.dataGridViewTextBoxColumn1 = new DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn2 = new DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn3 = new DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn4 = new DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn5 = new DataGridViewTextBoxColumn();
            this.pnlChannel.SuspendLayout();
            ((ISupportInitialize)this.dgvChannels).BeginInit();
            base.SuspendLayout();
            this.pnlChannel.AutoScroll = true;
            this.pnlChannel.AutoSize   = true;
            this.pnlChannel.Controls.Add(this.btnImport);
            this.pnlChannel.Controls.Add(this.btnExport);
            this.pnlChannel.Controls.Add(this.btnDeleteSelect);
            this.pnlChannel.Controls.Add(this.txtTxFreq);
            this.pnlChannel.Controls.Add(this.txtRxFreq);
            this.pnlChannel.Controls.Add(this.txtName);
            this.pnlChannel.Controls.Add(this.cmbPower);
            this.pnlChannel.Controls.Add(this.cmbChMode);
            this.pnlChannel.Controls.Add(this.cmbAddChMode);
            this.pnlChannel.Controls.Add(this.btnClear);
            this.pnlChannel.Controls.Add(this.btnDelete);
            this.pnlChannel.Controls.Add(this.btnAdd);
            this.pnlChannel.Controls.Add(this.dgvChannels);
            this.pnlChannel.Dock     = DockStyle.Fill;
            this.pnlChannel.Location = new Point(0, 0);
            this.pnlChannel.Name     = "pnlChannel";
            this.pnlChannel.Size     = new Size(1200, 493);
            this.pnlChannel.TabIndex = 0;
            this.btnImport.Location  = new Point(660, 28);
            this.btnImport.Name      = "btnImport";
            this.btnImport.Size      = new Size(75, 23);
            this.btnImport.TabIndex  = 13;
            this.btnImport.Text      = "Import";
            this.btnImport.UseVisualStyleBackColor = true;
            this.btnImport.Click   += this.btnImport_Click;
            this.btnExport.Location = new Point(566, 28);
            this.btnExport.Name     = "btnExport";
            this.btnExport.Size     = new Size(75, 23);
            this.btnExport.TabIndex = 14;
            this.btnExport.Text     = "Export";
            this.btnExport.UseVisualStyleBackColor = true;
            this.btnExport.Click         += this.btnExport_Click;
            this.btnDeleteSelect.Location = new Point(444, 28);
            this.btnDeleteSelect.Name     = "btnDeleteSelect";
            this.btnDeleteSelect.Size     = new Size(103, 23);
            this.btnDeleteSelect.TabIndex = 12;
            this.btnDeleteSelect.Text     = "Delete Select";
            this.btnDeleteSelect.UseVisualStyleBackColor = true;
            this.btnDeleteSelect.Visible           = false;
            this.btnDeleteSelect.Click            += this.btnDeleteSelect_Click;
            this.txtTxFreq.InputString             = null;
            this.txtTxFreq.Location                = new Point(312, 3);
            this.txtTxFreq.MaxByteLength           = 0;
            this.txtTxFreq.Name                    = "txtTxFreq";
            this.txtTxFreq.Size                    = new Size(61, 21);
            this.txtTxFreq.TabIndex                = 6;
            this.txtTxFreq.Visible                 = false;
            this.txtTxFreq.Leave                  += this.txtTxFreq_Leave;
            this.txtRxFreq.InputString             = null;
            this.txtRxFreq.Location                = new Point(240, 3);
            this.txtRxFreq.MaxByteLength           = 0;
            this.txtRxFreq.Name                    = "txtRxFreq";
            this.txtRxFreq.Size                    = new Size(61, 21);
            this.txtRxFreq.TabIndex                = 6;
            this.txtRxFreq.Visible                 = false;
            this.txtRxFreq.Leave                  += this.CaeqgYciuW;
            this.txtName.InputString               = null;
            this.txtName.Location                  = new Point(163, 2);
            this.txtName.MaxByteLength             = 0;
            this.txtName.Name                      = "txtName";
            this.txtName.Size                      = new Size(61, 21);
            this.txtName.TabIndex                  = 5;
            this.txtName.Visible                   = false;
            this.txtName.Leave                    += this.txtName_Leave;
            this.cmbPower.DropDownStyle            = ComboBoxStyle.DropDownList;
            this.cmbPower.FlatStyle                = FlatStyle.Flat;
            this.cmbPower.FormattingEnabled        = true;
            this.cmbPower.Location                 = new Point(466, 2);
            this.cmbPower.Name                     = "cmbPower";
            this.cmbPower.Size                     = new Size(61, 20);
            this.cmbPower.TabIndex                 = 8;
            this.cmbPower.Visible                  = false;
            this.cmbPower.Leave                   += this.cmbPower_Leave;
            this.cmbChMode.DropDownStyle           = ComboBoxStyle.DropDownList;
            this.cmbChMode.FlatStyle               = FlatStyle.Flat;
            this.cmbChMode.FormattingEnabled       = true;
            this.cmbChMode.Location                = new Point(384, 2);
            this.cmbChMode.Name                    = "cmbChMode";
            this.cmbChMode.Size                    = new Size(61, 20);
            this.cmbChMode.TabIndex                = 7;
            this.cmbChMode.Visible                 = false;
            this.cmbChMode.Leave                  += this.cmbChMode_Leave;
            this.cmbAddChMode.DropDownStyle        = ComboBoxStyle.DropDownList;
            this.cmbAddChMode.FormattingEnabled    = true;
            this.cmbAddChMode.Location             = new Point(33, 30);
            this.cmbAddChMode.Name                 = "cmbAddChMode";
            this.cmbAddChMode.Size                 = new Size(109, 20);
            this.cmbAddChMode.TabIndex             = 0;
            this.btnClear.Location                 = new Point(350, 28);
            this.btnClear.Name                     = "btnClear";
            this.btnClear.Size                     = new Size(75, 23);
            this.btnClear.TabIndex                 = 3;
            this.btnClear.Text                     = "Clear";
            this.btnClear.UseVisualStyleBackColor  = true;
            this.btnClear.Click                   += this.btnClear_Click;
            this.btnDelete.Location                = new Point(256, 28);
            this.btnDelete.Name                    = "btnDelete";
            this.btnDelete.Size                    = new Size(75, 23);
            this.btnDelete.TabIndex                = 2;
            this.btnDelete.Text                    = "Delete";
            this.btnDelete.UseVisualStyleBackColor = true;
            this.btnDelete.Click                  += this.btnDelete_Click;
            this.btnAdd.Location                   = new Point(162, 28);
            this.btnAdd.Name     = "btnAdd";
            this.btnAdd.Size     = new Size(75, 23);
            this.btnAdd.TabIndex = 1;
            this.btnAdd.Text     = "Add";
            this.btnAdd.UseVisualStyleBackColor = true;
            this.btnAdd.Click += this.btnAdd_Click;
            this.dgvChannels.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dgvChannels.Location                   = new Point(22, 62);
            this.dgvChannels.Name                       = "dgvChannels";
            this.dgvChannels.ReadOnly                   = true;
            this.dgvChannels.RowHeadersWidth            = 50;
            this.dgvChannels.RowTemplate.Height         = 23;
            this.dgvChannels.Size                       = new Size(1110, 419);
            this.dgvChannels.TabIndex                   = 9;
            this.dgvChannels.RowPostPaint              += this.NligzloMrR;
            this.dgvChannels.RowHeaderMouseDoubleClick += this.dgvChannels_RowHeaderMouseDoubleClick;
            this.dgvChannels.SelectionChanged          += this.dgvChannels_SelectionChanged;
            this.dataGridViewTextBoxColumn1.HeaderText  = "Column1";
            this.dataGridViewTextBoxColumn1.Name        = "dataGridViewTextBoxColumn1";
            this.dataGridViewTextBoxColumn1.ReadOnly    = true;
            this.dataGridViewTextBoxColumn2.HeaderText  = "Column2";
            this.dataGridViewTextBoxColumn2.Name        = "dataGridViewTextBoxColumn2";
            this.dataGridViewTextBoxColumn2.ReadOnly    = true;
            this.dataGridViewTextBoxColumn3.HeaderText  = "Column3";
            this.dataGridViewTextBoxColumn3.Name        = "dataGridViewTextBoxColumn3";
            this.dataGridViewTextBoxColumn3.ReadOnly    = true;
            this.dataGridViewTextBoxColumn4.HeaderText  = "Column4";
            this.dataGridViewTextBoxColumn4.Name        = "dataGridViewTextBoxColumn4";
            this.dataGridViewTextBoxColumn4.ReadOnly    = true;
            this.dataGridViewTextBoxColumn5.HeaderText  = "Column5";
            this.dataGridViewTextBoxColumn5.Name        = "dataGridViewTextBoxColumn5";
            this.dataGridViewTextBoxColumn5.ReadOnly    = true;
            base.AutoScaleDimensions                    = new SizeF(6f, 12f);
//			base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new Size(1200, 493);
            base.Controls.Add(this.pnlChannel);
            this.Font  = new Font("Arial", 10f, FontStyle.Regular);
            base.Name  = "ChannelsForm";
            this.Text  = "Channels";
            base.Load += this.ChannelsForm_Load;
            this.pnlChannel.ResumeLayout(false);
            this.pnlChannel.PerformLayout();
            ((ISupportInitialize)this.dgvChannels).EndInit();
            base.ResumeLayout(false);
            base.PerformLayout();
        }
Exemplo n.º 9
0
        private void method_0()
        {
            this.lblAlias           = new Label();
            this.lblAlarmType       = new Label();
            this.lblAlarmMode       = new Label();
            this.lblRevertCh        = new Label();
            this.lblImpoliteRetries = new Label();
            this.lblPoliteRetries   = new Label();
            this.lblCycles          = new Label();
            this.lblTxCycle         = new Label();
            this.lblRxCycle         = new Label();
            this.cmbAlarmMode       = new ComboBox();
            this.pnlEmergency       = new CustomPanel();
            this.cmbRevertCh        = new CustomCombo();
            this.nudPoliteRetries   = new CustomNumericUpDown();
            this.nudImpoliteRetries = new CustomNumericUpDown();
            this.nudRxCycle         = new CustomNumericUpDown();
            this.nudTxCycle         = new CustomNumericUpDown();
            this.nudCycles          = new CustomNumericUpDown();
            this.cmbAlarmType       = new CustomCombo();
            this.txtName            = new SGTextBox();
            this.pnlEmergency.SuspendLayout();
            ((ISupportInitialize)this.nudPoliteRetries).BeginInit();
            ((ISupportInitialize)this.nudImpoliteRetries).BeginInit();
            ((ISupportInitialize)this.nudRxCycle).BeginInit();
            ((ISupportInitialize)this.nudTxCycle).BeginInit();
            ((ISupportInitialize)this.nudCycles).BeginInit();
            base.SuspendLayout();
            this.lblAlias.Location              = new Point(25, 58);
            this.lblAlias.Name                  = "lblAlias";
            this.lblAlias.Size                  = new Size(131, 24);
            this.lblAlias.TabIndex              = 0;
            this.lblAlias.Text                  = "Name";
            this.lblAlias.TextAlign             = ContentAlignment.MiddleRight;
            this.lblAlarmType.Location          = new Point(25, 88);
            this.lblAlarmType.Name              = "lblAlarmType";
            this.lblAlarmType.Size              = new Size(131, 24);
            this.lblAlarmType.TabIndex          = 2;
            this.lblAlarmType.Text              = "Alarm Type";
            this.lblAlarmType.TextAlign         = ContentAlignment.MiddleRight;
            this.lblAlarmMode.Location          = new Point(25, 118);
            this.lblAlarmMode.Name              = "lblAlarmMode";
            this.lblAlarmMode.Size              = new Size(131, 24);
            this.lblAlarmMode.TabIndex          = 4;
            this.lblAlarmMode.Text              = "Mode";
            this.lblAlarmMode.TextAlign         = ContentAlignment.MiddleRight;
            this.lblRevertCh.Location           = new Point(25, 148);
            this.lblRevertCh.Name               = "lblRevertCh";
            this.lblRevertCh.Size               = new Size(131, 24);
            this.lblRevertCh.TabIndex           = 6;
            this.lblRevertCh.Text               = "Revert Channel";
            this.lblRevertCh.TextAlign          = ContentAlignment.MiddleRight;
            this.lblImpoliteRetries.Location    = new Point(25, 178);
            this.lblImpoliteRetries.Name        = "lblImpoliteRetries";
            this.lblImpoliteRetries.Size        = new Size(131, 24);
            this.lblImpoliteRetries.TabIndex    = 8;
            this.lblImpoliteRetries.Text        = "Impolite Retries";
            this.lblImpoliteRetries.TextAlign   = ContentAlignment.MiddleRight;
            this.lblPoliteRetries.Location      = new Point(25, 208);
            this.lblPoliteRetries.Name          = "lblPoliteRetries";
            this.lblPoliteRetries.Size          = new Size(131, 24);
            this.lblPoliteRetries.TabIndex      = 10;
            this.lblPoliteRetries.Text          = "Polite Retries";
            this.lblPoliteRetries.TextAlign     = ContentAlignment.MiddleRight;
            this.lblCycles.Location             = new Point(25, 238);
            this.lblCycles.Name                 = "lblCycles";
            this.lblCycles.Size                 = new Size(131, 24);
            this.lblCycles.TabIndex             = 12;
            this.lblCycles.Text                 = "Cycles";
            this.lblCycles.TextAlign            = ContentAlignment.MiddleRight;
            this.lblTxCycle.Location            = new Point(25, 268);
            this.lblTxCycle.Name                = "lblTxCycle";
            this.lblTxCycle.Size                = new Size(131, 24);
            this.lblTxCycle.TabIndex            = 14;
            this.lblTxCycle.Text                = "Tx Cycle Time [s]";
            this.lblTxCycle.TextAlign           = ContentAlignment.MiddleRight;
            this.lblRxCycle.Location            = new Point(25, 298);
            this.lblRxCycle.Name                = "lblRxCycle";
            this.lblRxCycle.Size                = new Size(131, 24);
            this.lblRxCycle.TabIndex            = 16;
            this.lblRxCycle.Text                = "Rx Cycle Time [s]";
            this.lblRxCycle.TextAlign           = ContentAlignment.MiddleRight;
            this.cmbAlarmMode.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.cmbAlarmMode.FormattingEnabled = true;
            this.cmbAlarmMode.Items.AddRange(new object[3]
            {
                "紧急报警",
                "紧急报警和呼叫",
                "紧急报警和语音"
            });
            this.cmbAlarmMode.Location              = new Point(167, 118);
            this.cmbAlarmMode.Name                  = "cmbAlarmMode";
            this.cmbAlarmMode.Size                  = new Size(120, 24);
            this.cmbAlarmMode.TabIndex              = 5;
            this.cmbAlarmMode.SelectedIndexChanged += this.cmbAlarmMode_SelectedIndexChanged;
            this.pnlEmergency.AutoScroll            = true;
            this.pnlEmergency.AutoSize              = true;
            this.pnlEmergency.Controls.Add(this.cmbRevertCh);
            this.pnlEmergency.Controls.Add(this.nudPoliteRetries);
            this.pnlEmergency.Controls.Add(this.lblAlias);
            this.pnlEmergency.Controls.Add(this.nudImpoliteRetries);
            this.pnlEmergency.Controls.Add(this.lblAlarmType);
            this.pnlEmergency.Controls.Add(this.nudRxCycle);
            this.pnlEmergency.Controls.Add(this.lblAlarmMode);
            this.pnlEmergency.Controls.Add(this.nudTxCycle);
            this.pnlEmergency.Controls.Add(this.lblRevertCh);
            this.pnlEmergency.Controls.Add(this.nudCycles);
            this.pnlEmergency.Controls.Add(this.lblImpoliteRetries);
            this.pnlEmergency.Controls.Add(this.lblPoliteRetries);
            this.pnlEmergency.Controls.Add(this.cmbAlarmMode);
            this.pnlEmergency.Controls.Add(this.lblCycles);
            this.pnlEmergency.Controls.Add(this.cmbAlarmType);
            this.pnlEmergency.Controls.Add(this.lblTxCycle);
            this.pnlEmergency.Controls.Add(this.txtName);
            this.pnlEmergency.Controls.Add(this.lblRxCycle);
            this.pnlEmergency.Dock             = DockStyle.Fill;
            this.pnlEmergency.Location         = new Point(0, 0);
            this.pnlEmergency.Name             = "pnlEmergency";
            this.pnlEmergency.Size             = new Size(327, 376);
            this.pnlEmergency.TabIndex         = 0;
            this.cmbRevertCh.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.cmbRevertCh.FormattingEnabled = true;
            this.cmbRevertCh.Items.AddRange(new object[6]
            {
                "1",
                "2",
                "3",
                "4",
                "5",
                "6"
            });
            this.cmbRevertCh.Location = new Point(167, 148);
            this.cmbRevertCh.Name     = "cmbRevertCh";
            this.cmbRevertCh.Size     = new Size(120, 24);
            this.cmbRevertCh.TabIndex = 7;
            this.nudPoliteRetries.method_2(null);
            this.nudPoliteRetries.Location = new Point(167, 208);
            this.nudPoliteRetries.Maximum  = new decimal(new int[4]
            {
                15,
                0,
                0,
                0
            });
            this.nudPoliteRetries.Name = "nudPoliteRetries";
            this.nudPoliteRetries.method_6(null);
            CustomNumericUpDown @class = this.nudPoliteRetries;

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

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

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

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

            int[] bits5 = new int[4];
            class5.method_4(new decimal(bits5));
            this.nudCycles.Size     = new Size(120, 23);
            this.nudCycles.TabIndex = 13;
            this.nudCycles.Value    = new decimal(new int[4]
            {
                10,
                0,
                0,
                0
            });
            this.cmbAlarmType.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.cmbAlarmType.FormattingEnabled = true;
            this.cmbAlarmType.Items.AddRange(new object[4]
            {
                "禁用",
                "常规",
                "静默",
                "静默带语音"
            });
            this.cmbAlarmType.Location              = new Point(167, 88);
            this.cmbAlarmType.Name                  = "cmbAlarmType";
            this.cmbAlarmType.Size                  = new Size(120, 24);
            this.cmbAlarmType.TabIndex              = 3;
            this.cmbAlarmType.SelectedIndexChanged += this.cmbAlarmType_SelectedIndexChanged;
            this.txtName.InputString                = null;
            this.txtName.Location      = new Point(167, 58);
            this.txtName.MaxByteLength = 0;
            this.txtName.MaxLength     = 8;
            this.txtName.Name          = "txtName";
            this.txtName.Size          = new Size(120, 23);
            this.txtName.TabIndex      = 1;
            this.txtName.Leave        += this.txtName_Leave;
            base.AutoScaleDimensions   = new SizeF(7f, 16f);
            base.AutoScaleMode         = AutoScaleMode.Font;
            base.ClientSize            = new Size(327, 376);
            base.Controls.Add(this.pnlEmergency);
            this.Font         = new Font("Arial", 10f, FontStyle.Regular, GraphicsUnit.Point, 0);
            base.Name         = "EmergencyForm";
            this.Text         = "Emergency System";
            base.Load        += this.EmergencyForm_Load;
            base.FormClosing += this.EmergencyForm_FormClosing;
            this.pnlEmergency.ResumeLayout(false);
            this.pnlEmergency.PerformLayout();
            ((ISupportInitialize)this.nudPoliteRetries).EndInit();
            ((ISupportInitialize)this.nudImpoliteRetries).EndInit();
            ((ISupportInitialize)this.nudRxCycle).EndInit();
            ((ISupportInitialize)this.nudTxCycle).EndInit();
            ((ISupportInitialize)this.nudCycles).EndInit();
            base.ResumeLayout(false);
            base.PerformLayout();
        }
Exemplo n.º 10
0
        private void InitializeComponent()
        {
            this.chkCallRxTone = new CheckBox();
            this.lblName       = new Label();
            this.lblCallId     = new Label();
            this.lblCallType   = new Label();
            this.pnlContact    = new CustomPanel();
            this.txtCallId     = new SGTextBox();
            this.cmbRingStyle  = new CustomCombo();
            this.cmbCallType   = new CustomCombo();
            this.lblRingStyle  = new Label();
            this.txtName       = new SGTextBox();
            this.pnlContact.SuspendLayout();
            base.SuspendLayout();
            this.chkCallRxTone.AutoSize = true;
            this.chkCallRxTone.Location = new Point(158, 173);
            this.chkCallRxTone.Name     = "chkCallRxTone";
            this.chkCallRxTone.Size     = new Size(141, 20);
            this.chkCallRxTone.TabIndex = 6;
            this.chkCallRxTone.Text     = "Call Receive Tone";
            this.chkCallRxTone.UseVisualStyleBackColor = true;
            this.chkCallRxTone.CheckedChanged         += this.chkCallRxTone_CheckedChanged;
            this.lblName.Location      = new Point(60, 50);
            this.lblName.Name          = "lblName";
            this.lblName.Size          = new Size(87, 24);
            this.lblName.TabIndex      = 0;
            this.lblName.Text          = "Name";
            this.lblName.TextAlign     = ContentAlignment.MiddleRight;
            this.lblCallId.Location    = new Point(60, 80);
            this.lblCallId.Name        = "lblCallId";
            this.lblCallId.Size        = new Size(87, 24);
            this.lblCallId.TabIndex    = 2;
            this.lblCallId.Text        = "Call ID";
            this.lblCallId.TextAlign   = ContentAlignment.MiddleRight;
            this.lblCallType.Enabled   = false;
            this.lblCallType.Location  = new Point(60, 110);
            this.lblCallType.Name      = "lblCallType";
            this.lblCallType.Size      = new Size(87, 24);
            this.lblCallType.TabIndex  = 4;
            this.lblCallType.Text      = "Call Type";
            this.lblCallType.TextAlign = ContentAlignment.MiddleRight;
            this.pnlContact.AutoScroll = true;
            this.pnlContact.AutoSize   = true;
            this.pnlContact.Controls.Add(this.txtCallId);
            this.pnlContact.Controls.Add(this.chkCallRxTone);
            this.pnlContact.Controls.Add(this.cmbRingStyle);
            this.pnlContact.Controls.Add(this.cmbCallType);
            this.pnlContact.Controls.Add(this.lblRingStyle);
            this.pnlContact.Controls.Add(this.txtName);
            this.pnlContact.Controls.Add(this.lblCallType);
            this.pnlContact.Controls.Add(this.lblName);
            this.pnlContact.Controls.Add(this.lblCallId);
            this.pnlContact.Dock                    = DockStyle.Fill;
            this.pnlContact.Location                = new Point(0, 0);
            this.pnlContact.Name                    = "pnlContact";
            this.pnlContact.Size                    = new Size(355, 228);
            this.pnlContact.TabIndex                = 7;
            this.txtCallId.InputString              = null;
            this.txtCallId.Location                 = new Point(158, 80);
            this.txtCallId.MaxByteLength            = 0;
            this.txtCallId.Name                     = "txtCallId";
            this.txtCallId.Size                     = new Size(120, 23);
            this.txtCallId.TabIndex                 = 3;
            this.txtCallId.Leave                   += this.txtCallId_Leave;
            this.txtCallId.Enter                   += this.txtCallId_Enter;
            this.txtCallId.Validating              += this.txtCallId_Validating;
            this.cmbRingStyle.DropDownStyle         = ComboBoxStyle.DropDownList;
            this.cmbRingStyle.FormattingEnabled     = true;
            this.cmbRingStyle.Location              = new Point(158, 140);
            this.cmbRingStyle.Name                  = "cmbRingStyle";
            this.cmbRingStyle.Size                  = new Size(120, 24);
            this.cmbRingStyle.TabIndex              = 5;
            this.cmbRingStyle.SelectedIndexChanged += this.cmbRingStyle_SelectedIndexChanged;
            this.cmbCallType.DropDownStyle          = ComboBoxStyle.DropDownList;
            this.cmbCallType.Enabled                = false;
            this.cmbCallType.FormattingEnabled      = true;
            this.cmbCallType.Location               = new Point(158, 110);
            this.cmbCallType.Name                   = "cmbCallType";
            this.cmbCallType.Size                   = new Size(120, 24);
            this.cmbCallType.TabIndex               = 5;
            this.cmbCallType.SelectedIndexChanged  += this.cmbCallType_SelectedIndexChanged;
            this.lblRingStyle.Location              = new Point(60, 140);
            this.lblRingStyle.Name                  = "lblRingStyle";
            this.lblRingStyle.Size                  = new Size(87, 24);
            this.lblRingStyle.TabIndex              = 4;
            this.lblRingStyle.Text                  = "Ring Style";
            this.lblRingStyle.TextAlign             = ContentAlignment.MiddleRight;
            this.txtName.InputString                = null;
            this.txtName.Location                   = new Point(158, 50);
            this.txtName.MaxByteLength              = 0;
            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(355, 228);
            base.Controls.Add(this.pnlContact);
            this.Font         = new Font("Arial", 10f, FontStyle.Regular);
            base.Name         = "ContactForm";
            this.Text         = "Digital Contact";
            base.Load        += this.ContactForm_Load;
            base.FormClosing += this.ContactForm_FormClosing;
            this.pnlContact.ResumeLayout(false);
            this.pnlContact.PerformLayout();
            base.ResumeLayout(false);
            base.PerformLayout();
        }
        private void InitializeComponent()
        {
            this.btnDel        = new Button();
            this.btnAdd        = new Button();
            this.lstSelected   = new ListBox();
            this.lstUnselected = new ListBox();
            this.lblName       = new Label();
            this.grpUnselected = new GroupBox();
            this.grpSelected   = new GroupBox();
            this.pnlRxGrpList  = new CustomPanel();
            this.btnDown       = new Button();
            this.btnUp         = new Button();
            this.txtName       = new SGTextBox();
            this.grpUnselected.SuspendLayout();
            this.grpSelected.SuspendLayout();
            this.pnlRxGrpList.SuspendLayout();
            base.SuspendLayout();
            this.btnDel.Location = new Point(295, 276);
            this.btnDel.Name     = "btnDel";
            this.btnDel.Size     = new Size(75, 23);
            this.btnDel.TabIndex = 4;
            this.btnDel.Text     = "Delete";
            this.btnDel.UseVisualStyleBackColor = true;
            this.btnDel.Click   += this.btnDel_Click;
            this.btnAdd.Location = new Point(295, 224);
            this.btnAdd.Name     = "btnAdd";
            this.btnAdd.Size     = new Size(75, 23);
            this.btnAdd.TabIndex = 3;
            this.btnAdd.Text     = "Add";
            this.btnAdd.UseVisualStyleBackColor = true;
            this.btnAdd.Click += this.btnAdd_Click;
            this.lstSelected.FormattingEnabled = true;
            this.lstSelected.ItemHeight        = 16;
            this.lstSelected.Location          = new Point(39, 28);
            this.lstSelected.Name                  = "lstSelected";
            this.lstSelected.SelectionMode         = SelectionMode.MultiExtended;
            this.lstSelected.Size                  = new Size(120, 356);
            this.lstSelected.TabIndex              = 5;
            this.lstSelected.SelectedIndexChanged += this.lstSelected_SelectedIndexChanged;
            this.lstSelected.DoubleClick          += this.lstSelected_DoubleClick;
            this.lstUnselected.FormattingEnabled   = true;
            this.lstUnselected.ItemHeight          = 16;
            this.lstUnselected.Location            = new Point(44, 28);
            this.lstUnselected.Name                = "lstUnselected";
            this.lstUnselected.SelectionMode       = SelectionMode.MultiExtended;
            this.lstUnselected.Size                = new Size(120, 356);
            this.lstUnselected.TabIndex            = 2;
            this.lblName.Location                  = new Point(226, 50);
            this.lblName.Name      = "lblName";
            this.lblName.Size      = new Size(64, 23);
            this.lblName.TabIndex  = 0;
            this.lblName.Text      = "Name";
            this.lblName.TextAlign = ContentAlignment.MiddleRight;
            this.grpUnselected.Controls.Add(this.lstUnselected);
            this.grpUnselected.Location = new Point(73, 99);
            this.grpUnselected.Name     = "grpUnselected";
            this.grpUnselected.Size     = new Size(201, 414);
            this.grpUnselected.TabIndex = 6;
            this.grpUnselected.TabStop  = false;
            this.grpUnselected.Text     = "Available";
            this.grpSelected.Controls.Add(this.lstSelected);
            this.grpSelected.Location    = new Point(392, 97);
            this.grpSelected.Name        = "grpSelected";
            this.grpSelected.Size        = new Size(201, 415);
            this.grpSelected.TabIndex    = 7;
            this.grpSelected.TabStop     = false;
            this.grpSelected.Text        = "Member";
            this.pnlRxGrpList.AutoScroll = true;
            this.pnlRxGrpList.AutoSize   = true;
            this.pnlRxGrpList.Controls.Add(this.btnDown);
            this.pnlRxGrpList.Controls.Add(this.btnUp);
            this.pnlRxGrpList.Controls.Add(this.txtName);
            this.pnlRxGrpList.Controls.Add(this.grpSelected);
            this.pnlRxGrpList.Controls.Add(this.btnAdd);
            this.pnlRxGrpList.Controls.Add(this.grpUnselected);
            this.pnlRxGrpList.Controls.Add(this.btnDel);
            this.pnlRxGrpList.Controls.Add(this.lblName);
            this.pnlRxGrpList.Dock               = DockStyle.Fill;
            this.pnlRxGrpList.Location           = new Point(0, 0);
            this.pnlRxGrpList.Name               = "pnlRxGrpList";
            this.pnlRxGrpList.Size               = new Size(724, 562);
            this.pnlRxGrpList.TabIndex           = 8;
            this.btnDown.Location                = new Point(624, 276);
            this.btnDown.Name                    = "btnDown";
            this.btnDown.Size                    = new Size(75, 23);
            this.btnDown.TabIndex                = 9;
            this.btnDown.Text                    = "Down";
            this.btnDown.UseVisualStyleBackColor = true;
            this.btnDown.Click                  += this.btnDown_Click;
            this.btnUp.Location                  = new Point(624, 224);
            this.btnUp.Name     = "btnUp";
            this.btnUp.Size     = new Size(75, 23);
            this.btnUp.TabIndex = 8;
            this.btnUp.Text     = "Up";
            this.btnUp.UseVisualStyleBackColor = true;
            this.btnUp.Click          += this.btnUp_Click;
            this.txtName.InputString   = null;
            this.txtName.Location      = new Point(299, 50);
            this.txtName.MaxByteLength = 0;
            this.txtName.Name          = "txtName";
            this.txtName.Size          = new Size(115, 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(724, 562);
            base.Controls.Add(this.pnlRxGrpList);
            this.Font         = new Font("Arial", 10f, FontStyle.Regular);
            base.Name         = "RxGroupListForm";
            this.Text         = "Rx Group List";
            base.Load        += this.RxGroupListForm_Load;
            base.FormClosing += this.RxGroupListForm_FormClosing;
            this.grpUnselected.ResumeLayout(false);
            this.grpSelected.ResumeLayout(false);
            this.pnlRxGrpList.ResumeLayout(false);
            this.pnlRxGrpList.PerformLayout();
            base.ResumeLayout(false);
            base.PerformLayout();
        }
Exemplo n.º 12
0
        private void InitializeComponent()
        {
            DataGridViewCellStyle dataGridViewCellStyle = new DataGridViewCellStyle();

            this.btnAdd     = new Button();
            this.btnDel     = new Button();
            this.dgvMsg     = new DataGridView();
            this.txtMessage = new DataGridViewTextBoxColumn();
            this.pnlTextMsg = new CustomPanel();
            this.txtContent = new SGTextBox();
            ((ISupportInitialize)this.dgvMsg).BeginInit();
            this.pnlTextMsg.SuspendLayout();
            base.SuspendLayout();
            this.btnAdd.Location = new Point(66, 41);
            this.btnAdd.Name     = "btnAdd";
            this.btnAdd.Size     = new Size(75, 23);
            this.btnAdd.TabIndex = 0;
            this.btnAdd.Text     = "Add";
            this.btnAdd.UseVisualStyleBackColor = true;
            this.btnAdd.Click   += this.btnAdd_Click;
            this.btnDel.Location = new Point(191, 41);
            this.btnDel.Name     = "btnDel";
            this.btnDel.Size     = new Size(75, 23);
            this.btnDel.TabIndex = 1;
            this.btnDel.Text     = "Delete";
            this.btnDel.UseVisualStyleBackColor = true;
            this.btnDel.Click += this.zesOxyCmfw;
            this.dgvMsg.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.dgvMsg.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle;
            this.dgvMsg.ColumnHeadersHeightSizeMode   = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dgvMsg.Columns.AddRange(this.txtMessage);
            this.dgvMsg.Location               = new Point(48, 85);
            this.dgvMsg.Name                   = "dgvMsg";
            this.dgvMsg.RowTemplate.Height     = 23;
            this.dgvMsg.Size                   = new Size(700, 447);
            this.dgvMsg.TabIndex               = 2;
            this.dgvMsg.RowPostPaint          += this.dgvMsg_RowPostPaint;
            this.dgvMsg.CellEndEdit           += this.dgvMsg_CellEndEdit;
            this.dgvMsg.EditingControlShowing += this.dgvMsg_EditingControlShowing;
            this.txtMessage.HeaderText         = "Text Message";
            this.txtMessage.MaxInputLength     = 50;
            this.txtMessage.Name               = "txtMessage";
            this.txtMessage.Width              = 650;
            this.pnlTextMsg.AutoScroll         = true;
            this.pnlTextMsg.AutoSize           = true;
            this.pnlTextMsg.Controls.Add(this.txtContent);
            this.pnlTextMsg.Controls.Add(this.dgvMsg);
            this.pnlTextMsg.Controls.Add(this.btnAdd);
            this.pnlTextMsg.Controls.Add(this.btnDel);
            this.pnlTextMsg.Dock          = DockStyle.Fill;
            this.pnlTextMsg.Location      = new Point(0, 0);
            this.pnlTextMsg.Name          = "pnlTextMsg";
            this.pnlTextMsg.Size          = new Size(796, 573);
            this.pnlTextMsg.TabIndex      = 3;
            this.txtContent.InputString   = null;
            this.txtContent.Location      = new Point(349, 41);
            this.txtContent.MaxByteLength = 0;
            this.txtContent.Name          = "txtContent";
            this.txtContent.Size          = new Size(100, 21);
            this.txtContent.TabIndex      = 3;
            base.AutoScaleDimensions      = new SizeF(6f, 12f);
//			base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new Size(796, 573);
            base.Controls.Add(this.pnlTextMsg);
            this.Font         = new Font("Arial", 10f, FontStyle.Regular);
            base.Name         = "TextMsgForm";
            this.Text         = "Text Message";
            base.Load        += this.TextMsgForm_Load;
            base.FormClosing += this.TextMsgForm_FormClosing;
            ((ISupportInitialize)this.dgvMsg).EndInit();
            this.pnlTextMsg.ResumeLayout(false);
            this.pnlTextMsg.PerformLayout();
            base.ResumeLayout(false);
            base.PerformLayout();
        }
Exemplo n.º 13
0
 private void InitializeComponent()
 {
     this.pnlRxGrpList  = new CustomPanel();
     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.btnAdd        = new System.Windows.Forms.Button();
     this.grpUnselected = new System.Windows.Forms.GroupBox();
     this.lstUnselected = new System.Windows.Forms.ListBox();
     this.btnDel        = new System.Windows.Forms.Button();
     this.lblName       = new System.Windows.Forms.Label();
     this.pnlRxGrpList.SuspendLayout();
     this.grpSelected.SuspendLayout();
     this.grpUnselected.SuspendLayout();
     this.SuspendLayout();
     //
     // pnlRxGrpList
     //
     this.pnlRxGrpList.AutoScroll = true;
     this.pnlRxGrpList.AutoSize   = true;
     this.pnlRxGrpList.Controls.Add(this.btnDown);
     this.pnlRxGrpList.Controls.Add(this.btnUp);
     this.pnlRxGrpList.Controls.Add(this.txtName);
     this.pnlRxGrpList.Controls.Add(this.grpSelected);
     this.pnlRxGrpList.Controls.Add(this.btnAdd);
     this.pnlRxGrpList.Controls.Add(this.grpUnselected);
     this.pnlRxGrpList.Controls.Add(this.btnDel);
     this.pnlRxGrpList.Controls.Add(this.lblName);
     this.pnlRxGrpList.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.pnlRxGrpList.Location = new System.Drawing.Point(0, 0);
     this.pnlRxGrpList.Name     = "pnlRxGrpList";
     this.pnlRxGrpList.Size     = new System.Drawing.Size(693, 514);
     this.pnlRxGrpList.TabIndex = 8;
     //
     // btnDown
     //
     this.btnDown.Location = new System.Drawing.Point(598, 276);
     this.btnDown.Name     = "btnDown";
     this.btnDown.Size     = new System.Drawing.Size(75, 23);
     this.btnDown.TabIndex = 9;
     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(598, 224);
     this.btnUp.Name     = "btnUp";
     this.btnUp.Size     = new System.Drawing.Size(75, 23);
     this.btnUp.TabIndex = 8;
     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(100, 12);
     this.txtName.MaxByteLength = 0;
     this.txtName.Name          = "txtName";
     this.txtName.Size          = new System.Drawing.Size(115, 23);
     this.txtName.TabIndex      = 1;
     this.txtName.Leave        += new System.EventHandler(this.txtName_Leave);
     //
     // grpSelected
     //
     this.grpSelected.Controls.Add(this.lstSelected);
     this.grpSelected.Location = new System.Drawing.Point(353, 50);
     this.grpSelected.Name     = "grpSelected";
     this.grpSelected.Size     = new System.Drawing.Size(230, 440);
     this.grpSelected.TabIndex = 7;
     this.grpSelected.TabStop  = false;
     this.grpSelected.Text     = "Member";
     //
     // lstSelected
     //
     this.lstSelected.FormattingEnabled = true;
     this.lstSelected.ItemHeight        = 16;
     this.lstSelected.Location          = new System.Drawing.Point(25, 25);
     this.lstSelected.Name                  = "lstSelected";
     this.lstSelected.SelectionMode         = System.Windows.Forms.SelectionMode.MultiExtended;
     this.lstSelected.Size                  = new System.Drawing.Size(180, 388);
     this.lstSelected.TabIndex              = 5;
     this.lstSelected.SelectedIndexChanged += new System.EventHandler(this.lstSelected_SelectedIndexChanged);
     this.lstSelected.DoubleClick          += new System.EventHandler(this.lstSelected_DoubleClick);
     //
     // btnAdd
     //
     this.btnAdd.Location = new System.Drawing.Point(258, 224);
     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);
     //
     // grpUnselected
     //
     this.grpUnselected.Controls.Add(this.lstUnselected);
     this.grpUnselected.Location = new System.Drawing.Point(10, 50);
     this.grpUnselected.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                         | System.Windows.Forms.AnchorStyles.Left)));
     this.grpUnselected.Name     = "grpUnselected";
     this.grpUnselected.Size     = new System.Drawing.Size(230, 440);
     this.grpUnselected.TabIndex = 6;
     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(25, 25);
     this.lstUnselected.Name          = "lstUnselected";
     this.lstUnselected.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended;
     this.lstUnselected.Size          = new System.Drawing.Size(180, 388);
     this.lstUnselected.TabIndex      = 2;
     //
     // btnDel
     //
     this.btnDel.Location = new System.Drawing.Point(258, 276);
     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);
     //
     // lblName
     //
     this.lblName.Location  = new System.Drawing.Point(7, 12);
     this.lblName.Name      = "lblName";
     this.lblName.Size      = new System.Drawing.Size(86, 23);
     this.lblName.TabIndex  = 0;
     this.lblName.Text      = "Name";
     this.lblName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // RxGroupListForm
     //
     this.ClientSize = new System.Drawing.Size(693, 514);
     this.Controls.Add(this.pnlRxGrpList);
     this.Font         = new System.Drawing.Font("Arial", 10F);
     this.Name         = "RxGroupListForm";
     this.Text         = "Rx Group List";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.RxGroupListForm_FormClosing);
     this.Load        += new System.EventHandler(this.RxGroupListForm_Load);
     this.pnlRxGrpList.ResumeLayout(false);
     this.pnlRxGrpList.PerformLayout();
     this.grpSelected.ResumeLayout(false);
     this.grpUnselected.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemplo n.º 14
0
        private void InitializeComponent()
        {
            this.pnlDeviceInfo  = new CustomPanel();
            this.lblTo1         = new Label();
            this.lblTo2         = new Label();
            this.lblSection1    = new Label();
            this.label_1        = new Label();
            this.txtModel       = new SGTextBox();
            this.lblFirmwareVer = new Label();
            this.txtLastPrgTime = new TextBox();
            this.lblHardwareVer = new Label();
            this.txtMaxFreq2    = new SGTextBox();
            this.txtMaxFreq     = new SGTextBox();
            this.label_0        = new Label();
            this.txtMinFreq2    = new SGTextBox();
            this.txtMinFreq     = new SGTextBox();
            this.lblSn          = new Label();
            this.txtSn          = new SGTextBox();
            this.sgtextBox_0    = new SGTextBox();
            this.lblSection2    = new Label();
            this.txtHardwareVer = new SGTextBox();
            this.lblLastPrgTime = new Label();
            this.txtFirmwareVer = new SGTextBox();
            this.lblModel       = new Label();
            this.sgtextBox_1    = new SGTextBox();
            this.pnlDeviceInfo.SuspendLayout();
            base.SuspendLayout();
            this.pnlDeviceInfo.AutoScroll = true;
            this.pnlDeviceInfo.AutoSize   = true;
            this.pnlDeviceInfo.Controls.Add(this.lblTo1);
            this.pnlDeviceInfo.Controls.Add(this.lblTo2);
            this.pnlDeviceInfo.Controls.Add(this.lblSection1);
            this.pnlDeviceInfo.Controls.Add(this.label_1);
            this.pnlDeviceInfo.Controls.Add(this.txtModel);
            this.pnlDeviceInfo.Controls.Add(this.lblFirmwareVer);
            this.pnlDeviceInfo.Controls.Add(this.txtLastPrgTime);
            this.pnlDeviceInfo.Controls.Add(this.lblHardwareVer);
            this.pnlDeviceInfo.Controls.Add(this.txtMaxFreq2);
            this.pnlDeviceInfo.Controls.Add(this.txtMaxFreq);
            this.pnlDeviceInfo.Controls.Add(this.label_0);
            this.pnlDeviceInfo.Controls.Add(this.txtMinFreq2);
            this.pnlDeviceInfo.Controls.Add(this.txtMinFreq);
            this.pnlDeviceInfo.Controls.Add(this.lblSn);
            this.pnlDeviceInfo.Controls.Add(this.txtSn);
            this.pnlDeviceInfo.Controls.Add(this.sgtextBox_0);
            this.pnlDeviceInfo.Controls.Add(this.lblSection2);
            this.pnlDeviceInfo.Controls.Add(this.txtHardwareVer);
            this.pnlDeviceInfo.Controls.Add(this.lblLastPrgTime);
            this.pnlDeviceInfo.Controls.Add(this.txtFirmwareVer);
            this.pnlDeviceInfo.Controls.Add(this.lblModel);
            this.pnlDeviceInfo.Controls.Add(this.sgtextBox_1);
            this.pnlDeviceInfo.Dock        = DockStyle.Fill;
            this.pnlDeviceInfo.Location    = new Point(0, 0);
            this.pnlDeviceInfo.Name        = "pnlDeviceInfo";
            this.pnlDeviceInfo.Size        = new Size(680, 438);
            this.pnlDeviceInfo.TabIndex    = 0;
            this.lblTo1.AutoSize           = true;
            this.lblTo1.Location           = new Point(387, 74);
            this.lblTo1.Name               = "lblTo1";
            this.lblTo1.Size               = new Size(13, 16);
            this.lblTo1.TabIndex           = 2;
            this.lblTo1.Text               = "-";
            this.lblTo2.AutoSize           = true;
            this.lblTo2.Location           = new Point(387, 108);
            this.lblTo2.Name               = "lblTo2";
            this.lblTo2.Size               = new Size(13, 16);
            this.lblTo2.TabIndex           = 6;
            this.lblTo2.Text               = "-";
            this.lblSection1.Location      = new Point(139, 69);
            this.lblSection1.Name          = "lblSection1";
            this.lblSection1.Size          = new Size(172, 23);
            this.lblSection1.TabIndex      = 0;
            this.lblSection1.Text          = "Frequency Range 1 [MHz]";
            this.lblSection1.TextAlign     = ContentAlignment.MiddleRight;
            this.label_1.Location          = new Point(139, 347);
            this.label_1.Name              = "lblDspFwVer";
            this.label_1.Size              = new Size(172, 23);
            this.label_1.TabIndex          = 20;
            this.label_1.Text              = "DSP Version";
            this.label_1.TextAlign         = ContentAlignment.MiddleRight;
            this.txtModel.InputString      = null;
            this.txtModel.Location         = new Point(321, 173);
            this.txtModel.MaxByteLength    = 0;
            this.txtModel.Name             = "txtModel";
            this.txtModel.ReadOnly         = true;
            this.txtModel.Size             = new Size(139, 23);
            this.txtModel.TabIndex         = 11;
            this.lblFirmwareVer.Location   = new Point(139, 312);
            this.lblFirmwareVer.Name       = "lblFirmwareVer";
            this.lblFirmwareVer.Size       = new Size(172, 23);
            this.lblFirmwareVer.TabIndex   = 18;
            this.lblFirmwareVer.Text       = "Firmware Version";
            this.lblFirmwareVer.TextAlign  = ContentAlignment.MiddleRight;
            this.txtLastPrgTime.Location   = new Point(321, 139);
            this.txtLastPrgTime.Name       = "txtLastPrgTime";
            this.txtLastPrgTime.ReadOnly   = true;
            this.txtLastPrgTime.Size       = new Size(139, 23);
            this.txtLastPrgTime.TabIndex   = 9;
            this.lblHardwareVer.Location   = new Point(139, 277);
            this.lblHardwareVer.Name       = "lblHardwareVer";
            this.lblHardwareVer.Size       = new Size(172, 23);
            this.lblHardwareVer.TabIndex   = 16;
            this.lblHardwareVer.Text       = "Hardware Version";
            this.lblHardwareVer.TextAlign  = ContentAlignment.MiddleRight;
            this.txtMaxFreq2.InputString   = null;
            this.txtMaxFreq2.Location      = new Point(404, 104);
            this.txtMaxFreq2.MaxByteLength = 0;
            this.txtMaxFreq2.Name          = "txtMaxFreq2";
            this.txtMaxFreq2.ReadOnly      = true;
            this.txtMaxFreq2.Size          = new Size(61, 23);
            this.txtMaxFreq2.TabIndex      = 7;
            this.txtMaxFreq2.Validating   += this.txtMaxFreq2_Validating;
            this.txtMaxFreq.InputString    = null;
            this.txtMaxFreq.Location       = new Point(404, 69);
            this.txtMaxFreq.MaxByteLength  = 0;
            this.txtMaxFreq.Name           = "txtMaxFreq";
            this.txtMaxFreq.ReadOnly       = true;
            this.txtMaxFreq.Size           = new Size(61, 23);
            this.txtMaxFreq.TabIndex       = 3;
            this.txtMaxFreq.Validating    += this.txtMaxFreq_Validating;
            this.label_0.Location          = new Point(139, 243);
            this.label_0.Name              = "lblCpsSwVer";
            this.label_0.Size              = new Size(172, 23);
            this.label_0.TabIndex          = 14;
            this.label_0.Text              = "CPS Version";
            this.label_0.TextAlign         = ContentAlignment.MiddleRight;
            this.txtMinFreq2.InputString   = null;
            this.txtMinFreq2.Location      = new Point(321, 104);
            this.txtMinFreq2.MaxByteLength = 0;
            this.txtMinFreq2.Name          = "txtMinFreq2";
            this.txtMinFreq2.ReadOnly      = true;
            this.txtMinFreq2.Size          = new Size(61, 23);
            this.txtMinFreq2.TabIndex      = 5;
            this.txtMinFreq2.Validating   += this.txtMinFreq2_Validating;
            this.txtMinFreq.InputString    = null;
            this.txtMinFreq.Location       = new Point(321, 69);
            this.txtMinFreq.MaxByteLength  = 0;
            this.txtMinFreq.Name           = "txtMinFreq";
            this.txtMinFreq.ReadOnly       = true;
            this.txtMinFreq.Size           = new Size(61, 23);
            this.txtMinFreq.TabIndex       = 1;
            this.txtMinFreq.Validating    += this.txtMinFreq_Validating;
            this.lblSn.Location            = new Point(139, 208);
            this.lblSn.Name                   = "lblSn";
            this.lblSn.Size                   = new Size(172, 23);
            this.lblSn.TabIndex               = 12;
            this.lblSn.Text                   = "Serial Number";
            this.lblSn.TextAlign              = ContentAlignment.MiddleRight;
            this.txtSn.InputString            = null;
            this.txtSn.Location               = new Point(321, 208);
            this.txtSn.MaxByteLength          = 0;
            this.txtSn.Name                   = "txtSn";
            this.txtSn.ReadOnly               = true;
            this.txtSn.Size                   = new Size(139, 23);
            this.txtSn.TabIndex               = 13;
            this.sgtextBox_0.InputString      = null;
            this.sgtextBox_0.Location         = new Point(321, 243);
            this.sgtextBox_0.MaxByteLength    = 0;
            this.sgtextBox_0.Name             = "txtCpsSwVer";
            this.sgtextBox_0.ReadOnly         = true;
            this.sgtextBox_0.Size             = new Size(139, 23);
            this.sgtextBox_0.TabIndex         = 15;
            this.lblSection2.Location         = new Point(139, 104);
            this.lblSection2.Name             = "lblSection2";
            this.lblSection2.Size             = new Size(172, 23);
            this.lblSection2.TabIndex         = 4;
            this.lblSection2.Text             = "Frequency Range 2 [MHz]";
            this.lblSection2.TextAlign        = ContentAlignment.MiddleRight;
            this.txtHardwareVer.InputString   = null;
            this.txtHardwareVer.Location      = new Point(321, 277);
            this.txtHardwareVer.MaxByteLength = 0;
            this.txtHardwareVer.Name          = "txtHardwareVer";
            this.txtHardwareVer.ReadOnly      = true;
            this.txtHardwareVer.Size          = new Size(139, 23);
            this.txtHardwareVer.TabIndex      = 17;
            this.lblLastPrgTime.Location      = new Point(139, 139);
            this.lblLastPrgTime.Name          = "lblLastPrgTime";
            this.lblLastPrgTime.Size          = new Size(172, 23);
            this.lblLastPrgTime.TabIndex      = 8;
            this.lblLastPrgTime.Text          = "Last Programed Date";
            this.lblLastPrgTime.TextAlign     = ContentAlignment.MiddleRight;
            this.txtFirmwareVer.InputString   = null;
            this.txtFirmwareVer.Location      = new Point(321, 312);
            this.txtFirmwareVer.MaxByteLength = 0;
            this.txtFirmwareVer.Name          = "txtFirmwareVer";
            this.txtFirmwareVer.ReadOnly      = true;
            this.txtFirmwareVer.Size          = new Size(139, 23);
            this.txtFirmwareVer.TabIndex      = 19;
            this.lblModel.Location            = new Point(139, 173);
            this.lblModel.Name                = "lblModel";
            this.lblModel.Size                = new Size(172, 23);
            this.lblModel.TabIndex            = 10;
            this.lblModel.Text                = "Model Name";
            this.lblModel.TextAlign           = ContentAlignment.MiddleRight;
            this.sgtextBox_1.InputString      = null;
            this.sgtextBox_1.Location         = new Point(321, 347);
            this.sgtextBox_1.MaxByteLength    = 0;
            this.sgtextBox_1.Name             = "txtDspFwVer";
            this.sgtextBox_1.ReadOnly         = true;
            this.sgtextBox_1.Size             = new Size(139, 23);
            this.sgtextBox_1.TabIndex         = 21;
            base.AutoScaleDimensions          = new SizeF(7f, 16f);
//			base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new Size(680, 438);
            base.Controls.Add(this.pnlDeviceInfo);
            this.Font         = new Font("Arial", 10f, FontStyle.Regular);
            base.KeyPreview   = true;
            base.Name         = "DeviceInfoForm";
            this.Text         = "Basic Information";
            base.Load        += this.DeviceInfoForm_Load;
            base.FormClosing += this.DeviceInfoForm_FormClosing;
            base.KeyDown     += this.DeviceInfoForm_KeyDown;
            this.pnlDeviceInfo.ResumeLayout(false);
            this.pnlDeviceInfo.PerformLayout();
            base.ResumeLayout(false);
            base.PerformLayout();
        }
Exemplo n.º 15
0
 private void InitializeComponent()
 {
     this.tsmiCh              = new System.Windows.Forms.ToolStripMenuItem();
     this.tsmiFirst           = new System.Windows.Forms.ToolStripMenuItem();
     this.tsmiPrev            = new System.Windows.Forms.ToolStripMenuItem();
     this.tsmiNext            = new System.Windows.Forms.ToolStripMenuItem();
     this.tsmiLast            = new System.Windows.Forms.ToolStripMenuItem();
     this.tsmiAdd             = new System.Windows.Forms.ToolStripMenuItem();
     this.tsmiDel             = new System.Windows.Forms.ToolStripMenuItem();
     this.pnlRxGrpList        = new CustomPanel();
     this.tsrGrpList          = new System.Windows.Forms.ToolStrip();
     this.tslblInfo           = new System.Windows.Forms.ToolStripLabel();
     this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbtnFirst          = new System.Windows.Forms.ToolStripButton();
     this.tsbtnPrev           = new System.Windows.Forms.ToolStripButton();
     this.tsbtnNext           = new System.Windows.Forms.ToolStripButton();
     this.tsbtnLast           = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbtnAdd            = new System.Windows.Forms.ToolStripButton();
     this.tsbtnDel            = new System.Windows.Forms.ToolStripButton();
     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.btnAdd        = new System.Windows.Forms.Button();
     this.grpUnselected = new System.Windows.Forms.GroupBox();
     this.lstUnselected = new System.Windows.Forms.ListBox();
     this.btnDel        = new System.Windows.Forms.Button();
     this.lblName       = new System.Windows.Forms.Label();
     this.pnlRxGrpList.SuspendLayout();
     this.tsrGrpList.SuspendLayout();
     this.grpSelected.SuspendLayout();
     this.grpUnselected.SuspendLayout();
     this.SuspendLayout();
     //
     // tsmiCh
     //
     this.tsmiCh.Name = "tsmiCh";
     this.tsmiCh.Size = new System.Drawing.Size(32, 19);
     //
     // tsmiFirst
     //
     this.tsmiFirst.Name = "tsmiFirst";
     this.tsmiFirst.Size = new System.Drawing.Size(32, 19);
     //
     // tsmiPrev
     //
     this.tsmiPrev.Name = "tsmiPrev";
     this.tsmiPrev.Size = new System.Drawing.Size(32, 19);
     //
     // tsmiNext
     //
     this.tsmiNext.Name = "tsmiNext";
     this.tsmiNext.Size = new System.Drawing.Size(32, 19);
     //
     // tsmiLast
     //
     this.tsmiLast.Name = "tsmiLast";
     this.tsmiLast.Size = new System.Drawing.Size(32, 19);
     //
     // tsmiAdd
     //
     this.tsmiAdd.Name = "tsmiAdd";
     this.tsmiAdd.Size = new System.Drawing.Size(32, 19);
     //
     // tsmiDel
     //
     this.tsmiDel.Name = "tsmiDel";
     this.tsmiDel.Size = new System.Drawing.Size(32, 19);
     //
     // pnlRxGrpList
     //
     this.pnlRxGrpList.AutoScroll = true;
     this.pnlRxGrpList.AutoSize   = true;
     this.pnlRxGrpList.Controls.Add(this.tsrGrpList);
     this.pnlRxGrpList.Controls.Add(this.btnDown);
     this.pnlRxGrpList.Controls.Add(this.btnUp);
     this.pnlRxGrpList.Controls.Add(this.txtName);
     this.pnlRxGrpList.Controls.Add(this.grpSelected);
     this.pnlRxGrpList.Controls.Add(this.btnAdd);
     this.pnlRxGrpList.Controls.Add(this.grpUnselected);
     this.pnlRxGrpList.Controls.Add(this.btnDel);
     this.pnlRxGrpList.Controls.Add(this.lblName);
     this.pnlRxGrpList.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.pnlRxGrpList.Location = new System.Drawing.Point(0, 0);
     this.pnlRxGrpList.Name     = "pnlRxGrpList";
     this.pnlRxGrpList.Size     = new System.Drawing.Size(693, 567);
     this.pnlRxGrpList.TabIndex = 8;
     //
     // tsrGrpList
     //
     this.tsrGrpList.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.tslblInfo,
         this.toolStripSeparator2,
         this.tsbtnFirst,
         this.tsbtnPrev,
         this.tsbtnNext,
         this.tsbtnLast,
         this.toolStripSeparator1,
         this.tsbtnAdd,
         this.tsbtnDel
     });
     this.tsrGrpList.Location = new System.Drawing.Point(0, 0);
     this.tsrGrpList.Name     = "tsrGrpList";
     this.tsrGrpList.Size     = new System.Drawing.Size(693, 25);
     this.tsrGrpList.TabIndex = 0;
     //
     // tslblInfo
     //
     this.tslblInfo.Name = "tslblInfo";
     this.tslblInfo.Size = new System.Drawing.Size(0, 22);
     //
     // toolStripSeparator2
     //
     this.toolStripSeparator2.Name = "toolStripSeparator2";
     this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
     //
     // tsbtnFirst
     //
     this.tsbtnFirst.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.tsbtnFirst.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbtnFirst.Name   = "tsbtnFirst";
     this.tsbtnFirst.Size   = new System.Drawing.Size(23, 22);
     this.tsbtnFirst.Text   = "First";
     this.tsbtnFirst.Click += new System.EventHandler(this.tsmiFirst_Click);
     //
     // tsbtnPrev
     //
     this.tsbtnPrev.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.tsbtnPrev.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbtnPrev.Name   = "tsbtnPrev";
     this.tsbtnPrev.Size   = new System.Drawing.Size(23, 22);
     this.tsbtnPrev.Text   = "Previous";
     this.tsbtnPrev.Click += new System.EventHandler(this.tsmiPrev_Click);
     //
     // tsbtnNext
     //
     this.tsbtnNext.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.tsbtnNext.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbtnNext.Name   = "tsbtnNext";
     this.tsbtnNext.Size   = new System.Drawing.Size(23, 22);
     this.tsbtnNext.Text   = "Next";
     this.tsbtnNext.Click += new System.EventHandler(this.tsmiNext_Click);
     //
     // tsbtnLast
     //
     this.tsbtnLast.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.tsbtnLast.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbtnLast.Name   = "tsbtnLast";
     this.tsbtnLast.Size   = new System.Drawing.Size(23, 22);
     this.tsbtnLast.Text   = "Last";
     this.tsbtnLast.Click += new System.EventHandler(this.tsmiLast_Click);
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
     //
     // tsbtnAdd
     //
     this.tsbtnAdd.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.tsbtnAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbtnAdd.Name   = "tsbtnAdd";
     this.tsbtnAdd.Size   = new System.Drawing.Size(23, 22);
     this.tsbtnAdd.Text   = "Add..";
     this.tsbtnAdd.Click += new System.EventHandler(this.tsmiAdd_Click);
     //
     // tsbtnDel
     //
     this.tsbtnDel.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.tsbtnDel.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbtnDel.Name   = "tsbtnDel";
     this.tsbtnDel.Size   = new System.Drawing.Size(23, 22);
     this.tsbtnDel.Text   = "Delete";
     this.tsbtnDel.Click += new System.EventHandler(this.tsmiDel_Click);
     //
     // btnDown
     //
     this.btnDown.Location = new System.Drawing.Point(598, 276);
     this.btnDown.Name     = "btnDown";
     this.btnDown.Size     = new System.Drawing.Size(75, 23);
     this.btnDown.TabIndex = 9;
     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(598, 224);
     this.btnUp.Name     = "btnUp";
     this.btnUp.Size     = new System.Drawing.Size(75, 23);
     this.btnUp.TabIndex = 8;
     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(100, 39);
     this.txtName.MaxByteLength = 0;
     this.txtName.Name          = "txtName";
     this.txtName.Size          = new System.Drawing.Size(115, 23);
     this.txtName.TabIndex      = 1;
     this.txtName.Leave        += new System.EventHandler(this.txtName_Leave);
     //
     // grpSelected
     //
     this.grpSelected.Controls.Add(this.lstSelected);
     this.grpSelected.Location = new System.Drawing.Point(353, 110);
     this.grpSelected.Name     = "grpSelected";
     this.grpSelected.Size     = new System.Drawing.Size(230, 433);
     this.grpSelected.TabIndex = 7;
     this.grpSelected.TabStop  = false;
     this.grpSelected.Text     = "Member";
     //
     // lstSelected
     //
     this.lstSelected.FormattingEnabled = true;
     this.lstSelected.ItemHeight        = 16;
     this.lstSelected.Location          = new System.Drawing.Point(25, 25);
     this.lstSelected.Name                  = "lstSelected";
     this.lstSelected.SelectionMode         = System.Windows.Forms.SelectionMode.MultiExtended;
     this.lstSelected.Size                  = new System.Drawing.Size(180, 388);
     this.lstSelected.TabIndex              = 5;
     this.lstSelected.SelectedIndexChanged += new System.EventHandler(this.lstSelected_SelectedIndexChanged);
     this.lstSelected.DoubleClick          += new System.EventHandler(this.lstSelected_DoubleClick);
     //
     // btnAdd
     //
     this.btnAdd.Location = new System.Drawing.Point(258, 224);
     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);
     //
     // 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(10, 97);
     this.grpUnselected.Name     = "grpUnselected";
     this.grpUnselected.Size     = new System.Drawing.Size(230, 446);
     this.grpUnselected.TabIndex = 6;
     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(25, 25);
     this.lstUnselected.Name          = "lstUnselected";
     this.lstUnselected.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended;
     this.lstUnselected.Size          = new System.Drawing.Size(180, 388);
     this.lstUnselected.TabIndex      = 2;
     //
     // btnDel
     //
     this.btnDel.Location = new System.Drawing.Point(258, 276);
     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);
     //
     // lblName
     //
     this.lblName.Location  = new System.Drawing.Point(7, 39);
     this.lblName.Name      = "lblName";
     this.lblName.Size      = new System.Drawing.Size(86, 23);
     this.lblName.TabIndex  = 0;
     this.lblName.Text      = "Name";
     this.lblName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // RxGroupListForm
     //
     this.ClientSize = new System.Drawing.Size(693, 567);
     this.Controls.Add(this.pnlRxGrpList);
     this.Font            = new System.Drawing.Font("Arial", 10F);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "RxGroupListForm";
     this.Text            = "Rx Group List";
     this.FormClosing    += new System.Windows.Forms.FormClosingEventHandler(this.RxGroupListForm_FormClosing);
     this.Load           += new System.EventHandler(this.RxGroupListForm_Load);
     this.pnlRxGrpList.ResumeLayout(false);
     this.pnlRxGrpList.PerformLayout();
     this.tsrGrpList.ResumeLayout(false);
     this.tsrGrpList.PerformLayout();
     this.grpSelected.ResumeLayout(false);
     this.grpUnselected.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemplo n.º 16
0
        private void InitializeComponent()
        {
            this.pnlContact          = new System.Windows.Forms.Panel();
            this.btnInternetDownload = new System.Windows.Forms.Button();
            this.btnImport           = new System.Windows.Forms.Button();
            this.btnExport           = new System.Windows.Forms.Button();
            this.btnDeleteSelect     = new System.Windows.Forms.Button();
            this.txtCallId           = new DMR.SGTextBox();
            this.txtName             = new DMR.SGTextBox();
            this.cmbCallRxTone       = new System.Windows.Forms.ComboBox();
            this.cmbRingStyle        = new System.Windows.Forms.ComboBox();
            this.cmbRepeaterSlot     = new System.Windows.Forms.ComboBox();
            this.cmbType             = new System.Windows.Forms.ComboBox();
            this.cmbAddType          = new CustomCombo();
            this.btnClear            = new System.Windows.Forms.Button();
            this.btnDelete           = new System.Windows.Forms.Button();
            this.btnAdd      = new System.Windows.Forms.Button();
            this.dgvContacts = new System.Windows.Forms.DataGridView();
            this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.pnlContact.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dgvContacts)).BeginInit();
            this.SuspendLayout();
            //
            // pnlContact
            //
            this.pnlContact.AutoScroll = true;
            this.pnlContact.AutoSize   = true;
            this.pnlContact.Controls.Add(this.btnInternetDownload);
            this.pnlContact.Controls.Add(this.btnImport);
            this.pnlContact.Controls.Add(this.btnExport);
            this.pnlContact.Controls.Add(this.btnDeleteSelect);
            this.pnlContact.Controls.Add(this.txtCallId);
            this.pnlContact.Controls.Add(this.txtName);
            this.pnlContact.Controls.Add(this.cmbCallRxTone);
            this.pnlContact.Controls.Add(this.cmbRingStyle);
            this.pnlContact.Controls.Add(this.cmbType);
            this.pnlContact.Controls.Add(this.cmbAddType);
            this.pnlContact.Controls.Add(this.btnClear);
            this.pnlContact.Controls.Add(this.btnDelete);
            this.pnlContact.Controls.Add(this.btnAdd);
            this.pnlContact.Controls.Add(this.dgvContacts);
            this.pnlContact.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.pnlContact.Location = new System.Drawing.Point(0, 0);
            this.pnlContact.Name     = "pnlContact";
            this.pnlContact.Size     = new System.Drawing.Size(965, 381);
            this.pnlContact.TabIndex = 0;
            //
            // btnInternetDownload
            //
            this.btnInternetDownload.Location = new System.Drawing.Point(616, 12);
            this.btnInternetDownload.Name     = "btnInternetDownload";
            this.btnInternetDownload.Size     = new System.Drawing.Size(156, 23);
            this.btnInternetDownload.TabIndex = 12;
            this.btnInternetDownload.Text     = "Internet Download";
            this.btnInternetDownload.UseVisualStyleBackColor = true;
            this.btnInternetDownload.Click += new System.EventHandler(this.btnDownload_Click);
            //
            // btnImport
            //
            this.btnImport.Location = new System.Drawing.Point(697, 41);
            this.btnImport.Name     = "btnImport";
            this.btnImport.Size     = new System.Drawing.Size(75, 23);
            this.btnImport.TabIndex = 11;
            this.btnImport.Text     = "Import";
            this.btnImport.UseVisualStyleBackColor = true;
            this.btnImport.Click += new System.EventHandler(this.btnImport_Click);
            //
            // btnExport
            //
            this.btnExport.Location = new System.Drawing.Point(616, 41);
            this.btnExport.Name     = "btnExport";
            this.btnExport.Size     = new System.Drawing.Size(75, 23);
            this.btnExport.TabIndex = 11;
            this.btnExport.Text     = "Export";
            this.btnExport.UseVisualStyleBackColor = true;
            this.btnExport.Click += new System.EventHandler(this.btnExport_Click);
            //
            // btnDeleteSelect
            //
            this.btnDeleteSelect.Location = new System.Drawing.Point(404, 42);
            this.btnDeleteSelect.Name     = "btnDeleteSelect";
            this.btnDeleteSelect.Size     = new System.Drawing.Size(146, 23);
            this.btnDeleteSelect.TabIndex = 10;
            this.btnDeleteSelect.Text     = "Delete Selected";
            this.btnDeleteSelect.UseVisualStyleBackColor = true;
            this.btnDeleteSelect.Click += new System.EventHandler(this.btnDeleteSelect_Click);
            //
            // txtCallId
            //
            this.txtCallId.InputString   = null;
            this.txtCallId.Location      = new System.Drawing.Point(240, 3);
            this.txtCallId.MaxByteLength = 0;
            this.txtCallId.Name          = "txtCallId";
            this.txtCallId.Size          = new System.Drawing.Size(61, 23);
            this.txtCallId.TabIndex      = 6;
            this.txtCallId.Visible       = false;
            //
            // txtName
            //
            this.txtName.InputString   = null;
            this.txtName.Location      = new System.Drawing.Point(163, 2);
            this.txtName.MaxByteLength = 0;
            this.txtName.Name          = "txtName";
            this.txtName.Size          = new System.Drawing.Size(61, 23);
            this.txtName.TabIndex      = 5;
            this.txtName.Visible       = false;
            //
            // cmbCallRxTone
            //
            this.cmbCallRxTone.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cmbCallRxTone.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
            this.cmbCallRxTone.FormattingEnabled = true;
            this.cmbCallRxTone.Location          = new System.Drawing.Point(409, 2);
            this.cmbCallRxTone.Name     = "cmbCallRxTone";
            this.cmbCallRxTone.Size     = new System.Drawing.Size(61, 24);
            this.cmbCallRxTone.TabIndex = 8;
            this.cmbCallRxTone.Visible  = false;
            //
            // cmbRingStyle
            //
            this.cmbRingStyle.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cmbRingStyle.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
            this.cmbRingStyle.FormattingEnabled = true;
            this.cmbRingStyle.Location          = new System.Drawing.Point(327, 2);
            this.cmbRingStyle.Name     = "cmbRingStyle";
            this.cmbRingStyle.Size     = new System.Drawing.Size(61, 24);
            this.cmbRingStyle.TabIndex = 7;
            this.cmbRingStyle.Visible  = false;
            //
            // cmbType
            //
            this.cmbType.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cmbType.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
            this.cmbType.FormattingEnabled = true;
            this.cmbType.Location          = new System.Drawing.Point(81, 3);
            this.cmbType.Name     = "cmbType";
            this.cmbType.Size     = new System.Drawing.Size(61, 24);
            this.cmbType.TabIndex = 4;
            this.cmbType.Visible  = false;
            //
            // cmbAddType
            //
            this.cmbAddType.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cmbAddType.FormattingEnabled = true;
            this.cmbAddType.Location          = new System.Drawing.Point(22, 43);
            this.cmbAddType.Name     = "cmbAddType";
            this.cmbAddType.Size     = new System.Drawing.Size(112, 24);
            this.cmbAddType.TabIndex = 0;

            //
            // cmbAddType
            //
            this.cmbRepeaterSlot.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cmbRepeaterSlot.FormattingEnabled = true;
            this.cmbRepeaterSlot.Location          = new System.Drawing.Point(22, 43);
            this.cmbRepeaterSlot.Name     = "cmbRepeaterSlot";
            this.cmbRepeaterSlot.Size     = new System.Drawing.Size(112, 24);
            this.cmbRepeaterSlot.TabIndex = 0;

            //
            // btnClear
            //
            this.btnClear.Location = new System.Drawing.Point(319, 42);
            this.btnClear.Name     = "btnClear";
            this.btnClear.Size     = new System.Drawing.Size(75, 23);
            this.btnClear.TabIndex = 3;
            this.btnClear.Text     = "Clear";
            this.btnClear.UseVisualStyleBackColor = true;
            this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
            //
            // btnDelete
            //
            this.btnDelete.Location = new System.Drawing.Point(234, 42);
            this.btnDelete.Name     = "btnDelete";
            this.btnDelete.Size     = new System.Drawing.Size(75, 23);
            this.btnDelete.TabIndex = 2;
            this.btnDelete.Text     = "Delete";
            this.btnDelete.UseVisualStyleBackColor = true;
            this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
            //
            // btnAdd
            //
            this.btnAdd.Location = new System.Drawing.Point(149, 42);
            this.btnAdd.Name     = "btnAdd";
            this.btnAdd.Size     = new System.Drawing.Size(75, 23);
            this.btnAdd.TabIndex = 1;
            this.btnAdd.Text     = "Add";
            this.btnAdd.UseVisualStyleBackColor = true;
            this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
            //
            // dgvContacts
            //
            this.dgvContacts.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dgvContacts.Location                   = new System.Drawing.Point(22, 73);
            this.dgvContacts.Name                       = "dgvContacts";
            this.dgvContacts.ReadOnly                   = true;
            this.dgvContacts.RowHeadersWidth            = 50;
            this.dgvContacts.RowTemplate.Height         = 23;
            this.dgvContacts.Size                       = new System.Drawing.Size(913, 292);
            this.dgvContacts.TabIndex                   = 9;
            this.dgvContacts.RowHeaderMouseDoubleClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dgvContacts_RowHeaderMouseDoubleClick);
            this.dgvContacts.RowPostPaint              += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgvContacts_RowPostPaint);
            this.dgvContacts.SelectionChanged          += new System.EventHandler(this.dgvContacts_SelectionChanged);
            //
            // dataGridViewTextBoxColumn1
            //
            this.dataGridViewTextBoxColumn1.HeaderText = "Column1";
            this.dataGridViewTextBoxColumn1.Name       = "dataGridViewTextBoxColumn1";
            this.dataGridViewTextBoxColumn1.ReadOnly   = true;
            //
            // dataGridViewTextBoxColumn2
            //
            this.dataGridViewTextBoxColumn2.HeaderText = "Column2";
            this.dataGridViewTextBoxColumn2.Name       = "dataGridViewTextBoxColumn2";
            this.dataGridViewTextBoxColumn2.ReadOnly   = true;
            //
            // dataGridViewTextBoxColumn3
            //
            this.dataGridViewTextBoxColumn3.HeaderText = "Column3";
            this.dataGridViewTextBoxColumn3.Name       = "dataGridViewTextBoxColumn3";
            this.dataGridViewTextBoxColumn3.ReadOnly   = true;
            //
            // dataGridViewTextBoxColumn4
            //
            this.dataGridViewTextBoxColumn4.HeaderText = "Column4";
            this.dataGridViewTextBoxColumn4.Name       = "dataGridViewTextBoxColumn4";
            this.dataGridViewTextBoxColumn4.ReadOnly   = true;
            //
            // dataGridViewTextBoxColumn5
            //
            this.dataGridViewTextBoxColumn5.HeaderText = "Column5";
            this.dataGridViewTextBoxColumn5.Name       = "dataGridViewTextBoxColumn5";
            this.dataGridViewTextBoxColumn5.ReadOnly   = true;
            //
            // ContactsForm
            //
            this.ClientSize = new System.Drawing.Size(965, 381);
            this.Controls.Add(this.pnlContact);
            this.Font = new System.Drawing.Font("Arial", 10F);
            this.Name = "ContactsForm";
            this.Text = "Contacts";
            this.pnlContact.ResumeLayout(false);
            this.pnlContact.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dgvContacts)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();
        }
Exemplo n.º 17
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();

		}