public void toggle(GroupBoxEx gu, GroupBoxEx gl) { toggle(gu); Point p = gu.Location; Size s = gu.Size; gl.Location = new Point(p.X, p.Y + s.Height + 15); panel3.Location = new Point(p.X, p.Y + s.Height + 15 + gl.Height); }
public void toggle(GroupBoxEx g) { Size s = this.Size; if (g.expanded == true) { g.exp = new Size(s.Width - 10, g.Height); g.Size = new Size(s.Width - 10, 20); g.expanded = false; } else { //g.Size = g.exp; g.Size = new Size(s.Width - 10, g.exp.Height); g.expanded = true; //panel3.Location = new Point(g.Location.X, g.Location.Y + g.Height + 15); } }
private void InitializeComponent() { this.components = (IContainer) new Container(); this.panel1 = new Panel(); this.thermometerCtrl = new TempCtrl(); this.gBoxTemperature = new GroupBoxEx(); this.lblMeasuring = new Label(); this.ledTempMeasRunning = new Led(); this.btnCalibrate = new Button(); this.label16 = new Label(); this.cBoxTempThreshold = new ComboBox(); this.ledTempStatHigher = new Led(); this.label3 = new Label(); this.label4 = new Label(); this.label5 = new Label(); this.panel2 = new Panel(); this.rBtnTempMeasOff = new RadioButton(); this.rBtnTempMeasOn = new RadioButton(); this.gBoxIQCalibration = new GroupBoxEx(); this.label6 = new Label(); this.ledRxCalOnGoing = new Led(); this.btnRxCalibration = new Button(); this.label54 = new Label(); this.label2 = new Label(); this.label1 = new Label(); this.lblTempDelta = new Label(); this.lblSensitivityBoost = new Label(); this.pnlSensitivityBoost = new Panel(); this.rBtnRxCalAutoOff = new RadioButton(); this.rBtnRxCalAutoOn = new RadioButton(); this.panel1.SuspendLayout(); this.gBoxTemperature.SuspendLayout(); this.panel2.SuspendLayout(); this.gBoxIQCalibration.SuspendLayout(); this.pnlSensitivityBoost.SuspendLayout(); this.SuspendLayout(); this.panel1.Controls.Add((Control)this.thermometerCtrl); this.panel1.Location = new Point(364, 3); this.panel1.Name = "panel1"; this.panel1.Size = new Size(432, 487); this.panel1.TabIndex = 7; this.thermometerCtrl.BackColor = Color.Transparent; this.thermometerCtrl.DrawTics = true; this.thermometerCtrl.Enabled = false; this.thermometerCtrl.ForeColor = Color.Red; this.thermometerCtrl.LargeTicFreq = 10; this.thermometerCtrl.Location = new Point(142, 26); this.thermometerCtrl.Name = "thermometerCtrl"; this.thermometerCtrl.Range.Max = 90.0; this.thermometerCtrl.Range.Min = -40.0; this.thermometerCtrl.Size = new Size(148, 434); this.thermometerCtrl.SmallTicFreq = 5; this.thermometerCtrl.TabIndex = 0; this.thermometerCtrl.Text = "Thermometer"; this.thermometerCtrl.Value = 25.0; this.thermometerCtrl.MouseEnter += new EventHandler(this.control_MouseEnter); this.thermometerCtrl.MouseLeave += new EventHandler(this.control_MouseLeave); this.gBoxTemperature.Controls.Add((Control)this.lblMeasuring); this.gBoxTemperature.Controls.Add((Control)this.ledTempMeasRunning); this.gBoxTemperature.Controls.Add((Control)this.btnCalibrate); this.gBoxTemperature.Controls.Add((Control)this.label16); this.gBoxTemperature.Controls.Add((Control)this.cBoxTempThreshold); this.gBoxTemperature.Controls.Add((Control)this.ledTempStatHigher); this.gBoxTemperature.Controls.Add((Control)this.label3); this.gBoxTemperature.Controls.Add((Control)this.label4); this.gBoxTemperature.Controls.Add((Control)this.label5); this.gBoxTemperature.Controls.Add((Control)this.panel2); this.gBoxTemperature.Location = new Point(3, 244); this.gBoxTemperature.Name = "gBoxTemperature"; this.gBoxTemperature.Size = new Size(355, 147); this.gBoxTemperature.TabIndex = 6; this.gBoxTemperature.TabStop = false; this.gBoxTemperature.Text = "Temperature"; this.lblMeasuring.AutoSize = true; this.lblMeasuring.Location = new Point(6, 72); this.lblMeasuring.Name = "lblMeasuring"; this.lblMeasuring.Size = new Size(59, 13); this.lblMeasuring.TabIndex = 1; this.lblMeasuring.Text = "Measuring:"; this.lblMeasuring.TextAlign = ContentAlignment.MiddleLeft; this.lblMeasuring.MouseEnter += new EventHandler(this.control_MouseEnter); this.lblMeasuring.MouseLeave += new EventHandler(this.control_MouseLeave); this.ledTempMeasRunning.BackColor = Color.Transparent; this.ledTempMeasRunning.LedColor = Color.Green; this.ledTempMeasRunning.LedSize = new Size(11, 11); this.ledTempMeasRunning.Location = new Point(164, 71); this.ledTempMeasRunning.Name = "ledTempMeasRunning"; this.ledTempMeasRunning.Size = new Size(15, 15); this.ledTempMeasRunning.TabIndex = 2; this.ledTempMeasRunning.Text = "Measuring"; this.ledTempMeasRunning.MouseEnter += new EventHandler(this.control_MouseEnter); this.ledTempMeasRunning.MouseLeave += new EventHandler(this.control_MouseLeave); this.btnCalibrate.Location = new Point(164, 42); this.btnCalibrate.Name = "btnCalibrate"; this.btnCalibrate.Size = new Size(75, 23); this.btnCalibrate.TabIndex = 0; this.btnCalibrate.Text = "Calibrate"; this.btnCalibrate.UseVisualStyleBackColor = true; this.btnCalibrate.Click += new EventHandler(this.btnTempCalibrate_Click); this.btnCalibrate.MouseEnter += new EventHandler(this.control_MouseEnter); this.btnCalibrate.MouseLeave += new EventHandler(this.control_MouseLeave); this.label16.AutoSize = true; this.label16.Location = new Point(294, 96); this.label16.Name = "label16"; this.label16.Size = new Size(18, 13); this.label16.TabIndex = 9; this.label16.Text = "°C"; this.cBoxTempThreshold.DropDownStyle = ComboBoxStyle.DropDownList; this.cBoxTempThreshold.FormattingEnabled = true; this.cBoxTempThreshold.Items.AddRange(new object[4] { (object)"5", (object)"10", (object)"15", (object)"20" }); this.cBoxTempThreshold.Location = new Point(164, 92); this.cBoxTempThreshold.Name = "cBoxTempThreshold"; this.cBoxTempThreshold.Size = new Size(124, 21); this.cBoxTempThreshold.TabIndex = 8; this.cBoxTempThreshold.SelectedIndexChanged += new EventHandler(this.cBoxTempThreshold_SelectedIndexChanged); this.ledTempStatHigher.BackColor = Color.Transparent; this.ledTempStatHigher.LedColor = Color.Green; this.ledTempStatHigher.LedSize = new Size(11, 11); this.ledTempStatHigher.Location = new Point(164, 121); this.ledTempStatHigher.Name = "ledTempStatHigher"; this.ledTempStatHigher.Size = new Size(15, 15); this.ledTempStatHigher.TabIndex = 7; this.ledTempStatHigher.Text = "led1"; this.label3.AutoSize = true; this.label3.Location = new Point(6, 123); this.label3.Name = "label3"; this.label3.Size = new Size(149, 13); this.label3.TabIndex = 3; this.label3.Text = "Change higher than threshold:"; this.label4.AutoSize = true; this.label4.Location = new Point(6, 97); this.label4.Name = "label4"; this.label4.Size = new Size(57, 13); this.label4.TabIndex = 3; this.label4.Text = "Threshold:"; this.label5.AutoSize = true; this.label5.Location = new Point(6, 21); this.label5.Name = "label5"; this.label5.Size = new Size(45, 13); this.label5.TabIndex = 3; this.label5.Text = "Monitor:"; this.panel2.AutoSize = true; this.panel2.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.panel2.Controls.Add((Control)this.rBtnTempMeasOff); this.panel2.Controls.Add((Control)this.rBtnTempMeasOn); this.panel2.Location = new Point(164, 19); this.panel2.Name = "panel2"; this.panel2.Size = new Size(93, 17); this.panel2.TabIndex = 4; this.rBtnTempMeasOff.AutoSize = true; this.rBtnTempMeasOff.Location = new Point(45, 0); this.rBtnTempMeasOff.Margin = new Padding(3, 0, 3, 0); this.rBtnTempMeasOff.Name = "rBtnTempMeasOff"; this.rBtnTempMeasOff.Size = new Size(45, 17); this.rBtnTempMeasOff.TabIndex = 1; this.rBtnTempMeasOff.Text = "OFF"; this.rBtnTempMeasOff.UseVisualStyleBackColor = true; this.rBtnTempMeasOff.CheckedChanged += new EventHandler(this.rBtnTempMeasOn_CheckedChanged); this.rBtnTempMeasOn.AutoSize = true; this.rBtnTempMeasOn.Checked = true; this.rBtnTempMeasOn.Location = new Point(3, 0); this.rBtnTempMeasOn.Margin = new Padding(3, 0, 3, 0); this.rBtnTempMeasOn.Name = "rBtnTempMeasOn"; this.rBtnTempMeasOn.Size = new Size(41, 17); this.rBtnTempMeasOn.TabIndex = 0; this.rBtnTempMeasOn.TabStop = true; this.rBtnTempMeasOn.Text = "ON"; this.rBtnTempMeasOn.UseVisualStyleBackColor = true; this.rBtnTempMeasOn.CheckedChanged += new EventHandler(this.rBtnTempMeasOn_CheckedChanged); this.gBoxIQCalibration.Controls.Add((Control)this.label6); this.gBoxIQCalibration.Controls.Add((Control)this.ledRxCalOnGoing); this.gBoxIQCalibration.Controls.Add((Control)this.btnRxCalibration); this.gBoxIQCalibration.Controls.Add((Control)this.label54); this.gBoxIQCalibration.Controls.Add((Control)this.label2); this.gBoxIQCalibration.Controls.Add((Control)this.label1); this.gBoxIQCalibration.Controls.Add((Control)this.lblTempDelta); this.gBoxIQCalibration.Controls.Add((Control)this.lblSensitivityBoost); this.gBoxIQCalibration.Controls.Add((Control)this.pnlSensitivityBoost); this.gBoxIQCalibration.Location = new Point(3, 102); this.gBoxIQCalibration.Name = "gBoxIQCalibration"; this.gBoxIQCalibration.Size = new Size(355, 136); this.gBoxIQCalibration.TabIndex = 6; this.gBoxIQCalibration.TabStop = false; this.gBoxIQCalibration.Text = "IQ calibration"; this.label6.AutoSize = true; this.label6.Location = new Point(6, 96); this.label6.Name = "label6"; this.label6.Size = new Size(93, 26); this.label6.TabIndex = 20; this.label6.Text = "Temperature delta\r\n( Actual - Former ):"; this.ledRxCalOnGoing.BackColor = Color.Transparent; this.ledRxCalOnGoing.LedColor = Color.Green; this.ledRxCalOnGoing.LedSize = new Size(11, 11); this.ledRxCalOnGoing.Location = new Point(164, 71); this.ledRxCalOnGoing.Name = "ledRxCalOnGoing"; this.ledRxCalOnGoing.Size = new Size(15, 15); this.ledRxCalOnGoing.TabIndex = 7; this.ledRxCalOnGoing.Text = "led1"; this.btnRxCalibration.Location = new Point(164, 42); this.btnRxCalibration.Name = "btnRxCalibration"; this.btnRxCalibration.Size = new Size(75, 23); this.btnRxCalibration.TabIndex = 5; this.btnRxCalibration.Text = "Calibrate"; this.btnRxCalibration.UseVisualStyleBackColor = true; this.btnRxCalibration.Click += new EventHandler(this.btnRxCalibration_Click); this.label54.AutoSize = true; this.label54.BackColor = Color.Transparent; this.label54.Location = new Point(294, 103); this.label54.Name = "label54"; this.label54.Size = new Size(18, 13); this.label54.TabIndex = 19; this.label54.Text = "°C"; this.label54.TextAlign = ContentAlignment.MiddleCenter; this.label2.AutoSize = true; this.label2.Location = new Point(6, 73); this.label2.Name = "label2"; this.label2.Size = new Size(90, 13); this.label2.TabIndex = 3; this.label2.Text = "Calibration status:"; this.label1.AutoSize = true; this.label1.Location = new Point(6, 47); this.label1.Name = "label1"; this.label1.Size = new Size(59, 13); this.label1.TabIndex = 3; this.label1.Text = "Calibration:"; this.lblTempDelta.BackColor = Color.Transparent; this.lblTempDelta.BorderStyle = BorderStyle.Fixed3D; this.lblTempDelta.Location = new Point(164, 99); this.lblTempDelta.Margin = new Padding(3); this.lblTempDelta.Name = "lblTempDelta"; this.lblTempDelta.Size = new Size(124, 20); this.lblTempDelta.TabIndex = 18; this.lblTempDelta.Text = "0"; this.lblTempDelta.TextAlign = ContentAlignment.MiddleCenter; this.lblSensitivityBoost.AutoSize = true; this.lblSensitivityBoost.Location = new Point(6, 21); this.lblSensitivityBoost.Name = "lblSensitivityBoost"; this.lblSensitivityBoost.Size = new Size(32, 13); this.lblSensitivityBoost.TabIndex = 3; this.lblSensitivityBoost.Text = "Auto:"; this.pnlSensitivityBoost.AutoSize = true; this.pnlSensitivityBoost.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.pnlSensitivityBoost.Controls.Add((Control)this.rBtnRxCalAutoOff); this.pnlSensitivityBoost.Controls.Add((Control)this.rBtnRxCalAutoOn); this.pnlSensitivityBoost.Enabled = true; this.pnlSensitivityBoost.Location = new Point(164, 19); this.pnlSensitivityBoost.Name = "pnlSensitivityBoost"; this.pnlSensitivityBoost.Size = new Size(93, 17); this.pnlSensitivityBoost.TabIndex = 4; this.rBtnRxCalAutoOff.AutoSize = true; this.rBtnRxCalAutoOff.Location = new Point(45, 0); this.rBtnRxCalAutoOff.Margin = new Padding(3, 0, 3, 0); this.rBtnRxCalAutoOff.Name = "rBtnRxCalAutoOff"; this.rBtnRxCalAutoOff.Size = new Size(45, 17); this.rBtnRxCalAutoOff.TabIndex = 1; this.rBtnRxCalAutoOff.Text = "OFF"; this.rBtnRxCalAutoOff.UseVisualStyleBackColor = true; this.rBtnRxCalAutoOff.CheckedChanged += new EventHandler(this.rBtnRxCalAutoOn_CheckedChanged); this.rBtnRxCalAutoOn.AutoSize = true; this.rBtnRxCalAutoOn.Checked = true; this.rBtnRxCalAutoOn.Location = new Point(3, 0); this.rBtnRxCalAutoOn.Margin = new Padding(3, 0, 3, 0); this.rBtnRxCalAutoOn.Name = "rBtnRxCalAutoOn"; this.rBtnRxCalAutoOn.Size = new Size(41, 17); this.rBtnRxCalAutoOn.TabIndex = 0; this.rBtnRxCalAutoOn.TabStop = true; this.rBtnRxCalAutoOn.Text = "ON"; this.rBtnRxCalAutoOn.UseVisualStyleBackColor = true; this.rBtnRxCalAutoOn.CheckedChanged += new EventHandler(this.rBtnRxCalAutoOn_CheckedChanged); this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; this.Controls.Add((Control)this.panel1); this.Controls.Add((Control)this.gBoxTemperature); this.Controls.Add((Control)this.gBoxIQCalibration); this.Name = "TemperatureViewControl"; this.Size = new Size(799, 493); this.panel1.ResumeLayout(false); this.gBoxTemperature.ResumeLayout(false); this.gBoxTemperature.PerformLayout(); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.gBoxIQCalibration.ResumeLayout(false); this.gBoxIQCalibration.PerformLayout(); this.pnlSensitivityBoost.ResumeLayout(false); this.pnlSensitivityBoost.PerformLayout(); this.ResumeLayout(false); }
protected override ValueControl CreateValueControl(AutoAttributeData data, GroupBoxEx group) { return(new ValueControlEx(data, group)); }
private void InitializeComponent() { ComponentResourceManager resources = new ComponentResourceManager(typeof(TestForm)); this.ssStatus = new StatusStrip(); this.tsLblStatus = new ToolStripStatusLabel(); this.backgroundWorker1 = new BackgroundWorker(); this.groupBox4 = new GroupBoxEx(); this.pBoxRfOut4 = new PictureBox(); this.pBoxRfOut3 = new PictureBox(); this.pBoxRfOut2 = new PictureBox(); this.pBoxRfOut1 = new PictureBox(); this.pnlRfPaSwitchSel = new Panel(); this.rBtnRfPaSwitchPaIo = new RadioButton(); this.rBtnRfPaSwitchIoPa = new RadioButton(); this.label44 = new Label(); this.label5 = new Label(); this.label34 = new Label(); this.label32 = new Label(); this.label43 = new Label(); this.label6 = new Label(); this.label35 = new Label(); this.label37 = new Label(); this.label42 = new Label(); this.label33 = new Label(); this.label38 = new Label(); this.label36 = new Label(); this.label41 = new Label(); this.label31 = new Label(); this.label39 = new Label(); this.label40 = new Label(); this.label4 = new Label(); this.label3 = new Label(); this.label2 = new Label(); this.label1 = new Label(); this.pnlRfPaSwitchEnable = new Panel(); this.rBtnRfPaSwitchAuto = new RadioButton(); this.rBtnRfPaSwitchManual = new RadioButton(); this.rBtnRfPaSwitchOff = new RadioButton(); this.groupBox3 = new GroupBoxEx(); this.btnRead = new Button(); this.tlRegisters = new TableLayoutPanel(); this.lblAddress = new Label(); this.lblDataWrite = new Label(); this.tBoxRegAddress = new TextBox(); this.tBoxRegValue = new TextBox(); this.btnWrite = new Button(); this.ssStatus.SuspendLayout(); this.groupBox4.SuspendLayout(); ((ISupportInitialize)this.pBoxRfOut4).BeginInit(); ((ISupportInitialize)this.pBoxRfOut3).BeginInit(); ((ISupportInitialize)this.pBoxRfOut2).BeginInit(); ((ISupportInitialize)this.pBoxRfOut1).BeginInit(); this.pnlRfPaSwitchSel.SuspendLayout(); this.pnlRfPaSwitchEnable.SuspendLayout(); this.groupBox3.SuspendLayout(); this.tlRegisters.SuspendLayout(); base.SuspendLayout(); this.ssStatus.Items.AddRange(new ToolStripItem[] { this.tsLblStatus }); this.ssStatus.Location = new Point(0, 0x12a); this.ssStatus.Name = "ssStatus"; this.ssStatus.Size = new Size(0x13f, 0x16); this.ssStatus.TabIndex = 1; this.ssStatus.Text = "statusStrip1"; this.tsLblStatus.Name = "tsLblStatus"; this.tsLblStatus.Size = new Size(11, 0x11); this.tsLblStatus.Text = "-"; this.backgroundWorker1.WorkerReportsProgress = true; this.groupBox4.Controls.Add(this.pBoxRfOut4); this.groupBox4.Controls.Add(this.pBoxRfOut3); this.groupBox4.Controls.Add(this.pBoxRfOut2); this.groupBox4.Controls.Add(this.pBoxRfOut1); this.groupBox4.Controls.Add(this.pnlRfPaSwitchSel); this.groupBox4.Controls.Add(this.label44); this.groupBox4.Controls.Add(this.label5); this.groupBox4.Controls.Add(this.label34); this.groupBox4.Controls.Add(this.label32); this.groupBox4.Controls.Add(this.label43); this.groupBox4.Controls.Add(this.label6); this.groupBox4.Controls.Add(this.label35); this.groupBox4.Controls.Add(this.label37); this.groupBox4.Controls.Add(this.label42); this.groupBox4.Controls.Add(this.label33); this.groupBox4.Controls.Add(this.label38); this.groupBox4.Controls.Add(this.label36); this.groupBox4.Controls.Add(this.label41); this.groupBox4.Controls.Add(this.label31); this.groupBox4.Controls.Add(this.label39); this.groupBox4.Controls.Add(this.label40); this.groupBox4.Controls.Add(this.label4); this.groupBox4.Controls.Add(this.label3); this.groupBox4.Controls.Add(this.label2); this.groupBox4.Controls.Add(this.label1); this.groupBox4.Controls.Add(this.pnlRfPaSwitchEnable); this.groupBox4.Location = new Point(12, 0x76); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new Size(0x127, 0xa7); this.groupBox4.TabIndex = 4; this.groupBox4.TabStop = false; this.groupBox4.Text = "Antena switch control"; this.pBoxRfOut4.Image = (Image)resources.GetObject("pBoxRfOut4.Image"); this.pBoxRfOut4.Location = new Point(0x110, 0x69); this.pBoxRfOut4.Name = "pBoxRfOut4"; this.pBoxRfOut4.Size = new Size(0x10, 0x10); this.pBoxRfOut4.TabIndex = 0x15; this.pBoxRfOut4.TabStop = false; this.pBoxRfOut4.Visible = false; this.pBoxRfOut3.Image = (Image)resources.GetObject("pBoxRfOut3.Image"); this.pBoxRfOut3.Location = new Point(0x110, 0x56); this.pBoxRfOut3.Name = "pBoxRfOut3"; this.pBoxRfOut3.Size = new Size(0x10, 0x10); this.pBoxRfOut3.TabIndex = 0x16; this.pBoxRfOut3.TabStop = false; this.pBoxRfOut3.Visible = false; this.pBoxRfOut2.Image = (Image)resources.GetObject("pBoxRfOut2.Image"); this.pBoxRfOut2.Location = new Point(0x110, 0x43); this.pBoxRfOut2.Name = "pBoxRfOut2"; this.pBoxRfOut2.Size = new Size(0x10, 0x10); this.pBoxRfOut2.TabIndex = 0x18; this.pBoxRfOut2.TabStop = false; this.pBoxRfOut1.Image = (Image)resources.GetObject("pBoxRfOut1.Image"); this.pBoxRfOut1.Location = new Point(0x110, 0x30); this.pBoxRfOut1.Name = "pBoxRfOut1"; this.pBoxRfOut1.Size = new Size(0x10, 0x10); this.pBoxRfOut1.TabIndex = 0x17; this.pBoxRfOut1.TabStop = false; this.pBoxRfOut1.Visible = false; this.pnlRfPaSwitchSel.AutoSize = true; this.pnlRfPaSwitchSel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.pnlRfPaSwitchSel.Controls.Add(this.rBtnRfPaSwitchPaIo); this.pnlRfPaSwitchSel.Controls.Add(this.rBtnRfPaSwitchIoPa); this.pnlRfPaSwitchSel.Enabled = false; this.pnlRfPaSwitchSel.Location = new Point(70, 0x2f); this.pnlRfPaSwitchSel.Name = "pnlRfPaSwitchSel"; this.pnlRfPaSwitchSel.Size = new Size(20, 0x48); this.pnlRfPaSwitchSel.TabIndex = 4; this.rBtnRfPaSwitchPaIo.AutoSize = true; this.rBtnRfPaSwitchPaIo.Checked = true; this.rBtnRfPaSwitchPaIo.Location = new Point(3, 3); this.rBtnRfPaSwitchPaIo.MinimumSize = new Size(0, 30); this.rBtnRfPaSwitchPaIo.Name = "rBtnRfPaSwitchPaIo"; this.rBtnRfPaSwitchPaIo.Size = new Size(14, 30); this.rBtnRfPaSwitchPaIo.TabIndex = 0; this.rBtnRfPaSwitchPaIo.TabStop = true; this.rBtnRfPaSwitchPaIo.UseVisualStyleBackColor = true; this.rBtnRfPaSwitchPaIo.CheckedChanged += new EventHandler(this.rBtnRfPaSwitchSel_CheckedChanged); this.rBtnRfPaSwitchIoPa.AutoSize = true; this.rBtnRfPaSwitchIoPa.Location = new Point(3, 0x27); this.rBtnRfPaSwitchIoPa.Margin = new Padding(3, 4, 3, 3); this.rBtnRfPaSwitchIoPa.MinimumSize = new Size(0, 30); this.rBtnRfPaSwitchIoPa.Name = "rBtnRfPaSwitchIoPa"; this.rBtnRfPaSwitchIoPa.Size = new Size(14, 30); this.rBtnRfPaSwitchIoPa.TabIndex = 0; this.rBtnRfPaSwitchIoPa.UseVisualStyleBackColor = true; this.rBtnRfPaSwitchIoPa.CheckedChanged += new EventHandler(this.rBtnRfPaSwitchSel_CheckedChanged); this.label44.AutoSize = true; this.label44.Location = new Point(0x60, 0x6b); this.label44.Margin = new Padding(3); this.label44.Name = "label44"; this.label44.Size = new Size(0x16, 13); this.label44.TabIndex = 0x10; this.label44.Text = "Pin"; this.label5.AutoSize = true; this.label5.Location = new Point(0x60, 50); this.label5.Margin = new Padding(3); this.label5.Name = "label5"; this.label5.Size = new Size(0x16, 13); this.label5.TabIndex = 15; this.label5.Text = "Pin"; this.label34.AutoSize = true; this.label34.Location = new Point(0xc2, 0x45); this.label34.Margin = new Padding(3); this.label34.Name = "label34"; this.label34.Size = new Size(0x19, 13); this.label34.TabIndex = 20; this.label34.Text = "<=>"; this.label32.AutoSize = true; this.label32.Location = new Point(0x7c, 0x45); this.label32.Margin = new Padding(3); this.label32.Name = "label32"; this.label32.Size = new Size(0x20, 13); this.label32.TabIndex = 0x13; this.label32.Text = "RFIO"; this.label43.AutoSize = true; this.label43.Location = new Point(0xc2, 0x6b); this.label43.Margin = new Padding(3); this.label43.Name = "label43"; this.label43.Size = new Size(0x19, 13); this.label43.TabIndex = 0x12; this.label43.Text = "<=>"; this.label6.AutoSize = true; this.label6.Location = new Point(0x60, 0x45); this.label6.Margin = new Padding(3); this.label6.Name = "label6"; this.label6.Size = new Size(0x16, 13); this.label6.TabIndex = 0x11; this.label6.Text = "Pin"; this.label35.AutoSize = true; this.label35.Location = new Point(0xe1, 0x45); this.label35.Margin = new Padding(3); this.label35.Name = "label35"; this.label35.Size = new Size(0x26, 13); this.label35.TabIndex = 7; this.label35.Text = "RF_IO"; this.label37.AutoSize = true; this.label37.Location = new Point(0x60, 0x58); this.label37.Margin = new Padding(3); this.label37.Name = "label37"; this.label37.Size = new Size(0x16, 13); this.label37.TabIndex = 8; this.label37.Text = "Pin"; this.label42.AutoSize = true; this.label42.Location = new Point(0xe1, 0x6b); this.label42.Margin = new Padding(3); this.label42.Name = "label42"; this.label42.Size = new Size(0x29, 13); this.label42.TabIndex = 5; this.label42.Text = "RF_PA"; this.label33.AutoSize = true; this.label33.Location = new Point(0xc2, 50); this.label33.Margin = new Padding(3); this.label33.Name = "label33"; this.label33.Size = new Size(0x19, 13); this.label33.TabIndex = 6; this.label33.Text = "<=>"; this.label38.AutoSize = true; this.label38.Location = new Point(0x7c, 0x58); this.label38.Margin = new Padding(3); this.label38.Name = "label38"; this.label38.Size = new Size(0x40, 13); this.label38.TabIndex = 9; this.label38.Text = "PA_BOOST"; this.label36.AutoSize = true; this.label36.Location = new Point(0xe1, 50); this.label36.Margin = new Padding(3); this.label36.Name = "label36"; this.label36.Size = new Size(0x29, 13); this.label36.TabIndex = 13; this.label36.Text = "RF_PA"; this.label41.AutoSize = true; this.label41.Location = new Point(0xe1, 0x58); this.label41.Margin = new Padding(3); this.label41.Name = "label41"; this.label41.Size = new Size(0x26, 13); this.label41.TabIndex = 10; this.label41.Text = "RF_IO"; this.label31.AutoSize = true; this.label31.Location = new Point(0x7c, 50); this.label31.Margin = new Padding(3); this.label31.Name = "label31"; this.label31.Size = new Size(0x40, 13); this.label31.TabIndex = 11; this.label31.Text = "PA_BOOST"; this.label39.AutoSize = true; this.label39.Location = new Point(0xc2, 0x58); this.label39.Margin = new Padding(3); this.label39.Name = "label39"; this.label39.Size = new Size(0x19, 13); this.label39.TabIndex = 12; this.label39.Text = "<=>"; this.label40.AutoSize = true; this.label40.Location = new Point(0x7c, 0x6b); this.label40.Margin = new Padding(3); this.label40.Name = "label40"; this.label40.Size = new Size(0x20, 13); this.label40.TabIndex = 14; this.label40.Text = "RFIO"; this.label4.Location = new Point(0x2d, 130); this.label4.Name = "label4"; this.label4.Size = new Size(0xc0, 0x1c); this.label4.TabIndex = 3; this.label4.Text = "To be used only on antenna diversity ref design."; this.label3.AutoSize = true; this.label3.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0); this.label3.Location = new Point(6, 130); this.label3.Name = "label3"; this.label3.Size = new Size(0x26, 13); this.label3.TabIndex = 3; this.label3.Text = "Note:"; this.label2.AutoSize = true; this.label2.Location = new Point(6, 0x4d); this.label2.Name = "label2"; this.label2.Size = new Size(0x36, 13); this.label2.TabIndex = 2; this.label2.Text = "Selection:"; this.label1.AutoSize = true; this.label1.Location = new Point(6, 0x18); this.label1.Name = "label1"; this.label1.Size = new Size(0x2a, 13); this.label1.TabIndex = 2; this.label1.Text = "Switch:"; this.pnlRfPaSwitchEnable.AutoSize = true; this.pnlRfPaSwitchEnable.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.pnlRfPaSwitchEnable.Controls.Add(this.rBtnRfPaSwitchAuto); this.pnlRfPaSwitchEnable.Controls.Add(this.rBtnRfPaSwitchManual); this.pnlRfPaSwitchEnable.Controls.Add(this.rBtnRfPaSwitchOff); this.pnlRfPaSwitchEnable.Location = new Point(70, 0x13); this.pnlRfPaSwitchEnable.Name = "pnlRfPaSwitchEnable"; this.pnlRfPaSwitchEnable.Size = new Size(170, 0x17); this.pnlRfPaSwitchEnable.TabIndex = 1; this.rBtnRfPaSwitchAuto.AutoSize = true; this.rBtnRfPaSwitchAuto.Location = new Point(3, 3); this.rBtnRfPaSwitchAuto.Name = "rBtnRfPaSwitchAuto"; this.rBtnRfPaSwitchAuto.Size = new Size(0x2f, 0x11); this.rBtnRfPaSwitchAuto.TabIndex = 0; this.rBtnRfPaSwitchAuto.Text = "Auto"; this.rBtnRfPaSwitchAuto.UseVisualStyleBackColor = true; this.rBtnRfPaSwitchAuto.CheckedChanged += new EventHandler(this.rBtnRfPaSwitchEnable_CheckedChanged); this.rBtnRfPaSwitchManual.AutoSize = true; this.rBtnRfPaSwitchManual.Location = new Point(0x38, 2); this.rBtnRfPaSwitchManual.Name = "rBtnRfPaSwitchManual"; this.rBtnRfPaSwitchManual.Size = new Size(60, 0x11); this.rBtnRfPaSwitchManual.TabIndex = 0; this.rBtnRfPaSwitchManual.Text = "Manual"; this.rBtnRfPaSwitchManual.UseVisualStyleBackColor = true; this.rBtnRfPaSwitchManual.CheckedChanged += new EventHandler(this.rBtnRfPaSwitchEnable_CheckedChanged); this.rBtnRfPaSwitchOff.AutoSize = true; this.rBtnRfPaSwitchOff.Checked = true; this.rBtnRfPaSwitchOff.Location = new Point(0x7a, 3); this.rBtnRfPaSwitchOff.Name = "rBtnRfPaSwitchOff"; this.rBtnRfPaSwitchOff.Size = new Size(0x2d, 0x11); this.rBtnRfPaSwitchOff.TabIndex = 0; this.rBtnRfPaSwitchOff.TabStop = true; this.rBtnRfPaSwitchOff.Text = "OFF"; this.rBtnRfPaSwitchOff.UseVisualStyleBackColor = true; this.rBtnRfPaSwitchOff.CheckedChanged += new EventHandler(this.rBtnRfPaSwitchEnable_CheckedChanged); this.groupBox3.Controls.Add(this.btnRead); this.groupBox3.Controls.Add(this.tlRegisters); this.groupBox3.Controls.Add(this.btnWrite); this.groupBox3.Location = new Point(12, 12); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new Size(0x127, 100); this.groupBox3.TabIndex = 0; this.groupBox3.TabStop = false; this.groupBox3.Text = "Registers"; this.btnRead.Location = new Point(0x97, 0x44); this.btnRead.Name = "btnRead"; this.btnRead.Size = new Size(0x41, 0x17); this.btnRead.TabIndex = 2; this.btnRead.Text = "Read"; this.btnRead.UseVisualStyleBackColor = true; this.btnRead.Click += new EventHandler(this.btnRead_Click); this.tlRegisters.AutoSize = true; this.tlRegisters.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.tlRegisters.CellBorderStyle = TableLayoutPanelCellBorderStyle.Single; this.tlRegisters.ColumnCount = 2; this.tlRegisters.ColumnStyles.Add(new ColumnStyle()); this.tlRegisters.ColumnStyles.Add(new ColumnStyle()); this.tlRegisters.Controls.Add(this.lblAddress, 0, 0); this.tlRegisters.Controls.Add(this.lblDataWrite, 1, 0); this.tlRegisters.Controls.Add(this.tBoxRegAddress, 0, 1); this.tlRegisters.Controls.Add(this.tBoxRegValue, 1, 1); this.tlRegisters.Location = new Point(0x4b, 0x13); this.tlRegisters.Name = "tlRegisters"; this.tlRegisters.RowCount = 2; this.tlRegisters.RowStyles.Add(new RowStyle()); this.tlRegisters.RowStyles.Add(new RowStyle()); this.tlRegisters.Size = new Size(0x91, 0x2b); this.tlRegisters.TabIndex = 0; this.lblAddress.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.lblAddress.Location = new Point(4, 1); this.lblAddress.Name = "lblAddress"; this.lblAddress.Size = new Size(0x41, 20); this.lblAddress.TabIndex = 0; this.lblAddress.Text = "Address"; this.lblAddress.TextAlign = ContentAlignment.MiddleCenter; this.lblDataWrite.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.lblDataWrite.Location = new Point(0x4c, 1); this.lblDataWrite.Name = "lblDataWrite"; this.lblDataWrite.Size = new Size(0x41, 20); this.lblDataWrite.TabIndex = 1; this.lblDataWrite.Text = "Data"; this.lblDataWrite.TextAlign = ContentAlignment.MiddleCenter; this.tBoxRegAddress.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.tBoxRegAddress.Location = new Point(1, 0x16); this.tBoxRegAddress.Margin = new Padding(0); this.tBoxRegAddress.MaxLength = 4; this.tBoxRegAddress.Name = "tBoxRegAddress"; this.tBoxRegAddress.Size = new Size(0x47, 20); this.tBoxRegAddress.TabIndex = 2; this.tBoxRegAddress.Text = "0x00"; this.tBoxRegAddress.TextAlign = HorizontalAlignment.Center; this.tBoxRegAddress.TextChanged += new EventHandler(this.tBox_TextChanged); this.tBoxRegAddress.Enter += new EventHandler(this.txtBox_Enter); this.tBoxRegAddress.Validating += new CancelEventHandler(this.txtBox_Validating); this.tBoxRegAddress.Validated += new EventHandler(this.txtBox_Validated); this.tBoxRegValue.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.tBoxRegValue.Location = new Point(0x49, 0x16); this.tBoxRegValue.Margin = new Padding(0); this.tBoxRegValue.MaxLength = 4; this.tBoxRegValue.Name = "tBoxRegValue"; this.tBoxRegValue.Size = new Size(0x47, 20); this.tBoxRegValue.TabIndex = 3; this.tBoxRegValue.Text = "0x00"; this.tBoxRegValue.TextAlign = HorizontalAlignment.Center; this.tBoxRegValue.TextChanged += new EventHandler(this.tBox_TextChanged); this.tBoxRegValue.Enter += new EventHandler(this.txtBox_Enter); this.tBoxRegValue.Validating += new CancelEventHandler(this.txtBox_Validating); this.tBoxRegValue.Validated += new EventHandler(this.txtBox_Validated); this.btnWrite.Location = new Point(0x4f, 0x44); this.btnWrite.Name = "btnWrite"; this.btnWrite.Size = new Size(0x41, 0x17); this.btnWrite.TabIndex = 1; this.btnWrite.Text = "Write"; this.btnWrite.UseVisualStyleBackColor = true; this.btnWrite.Click += new EventHandler(this.btnWrite_Click); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; base.ClientSize = new Size(0x13f, 320); base.Controls.Add(this.groupBox4); base.Controls.Add(this.groupBox3); base.Controls.Add(this.ssStatus); this.DoubleBuffered = true; base.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; base.Icon = (Icon)resources.GetObject("$this.Icon"); base.KeyPreview = true; base.MaximizeBox = false; this.MaximumSize = new Size(0x4b0, 0x4b0); base.Name = "TestForm"; base.StartPosition = FormStartPosition.Manual; this.Text = "Test"; base.Activated += new EventHandler(this.TestForm_Activated); base.FormClosing += new FormClosingEventHandler(this.TestForm_FormClosing); base.Load += new EventHandler(this.TestForm_Load); base.KeyDown += new KeyEventHandler(this.TestForm_KeyDown); this.ssStatus.ResumeLayout(false); this.ssStatus.PerformLayout(); this.groupBox4.ResumeLayout(false); this.groupBox4.PerformLayout(); ((ISupportInitialize)this.pBoxRfOut4).EndInit(); ((ISupportInitialize)this.pBoxRfOut3).EndInit(); ((ISupportInitialize)this.pBoxRfOut2).EndInit(); ((ISupportInitialize)this.pBoxRfOut1).EndInit(); this.pnlRfPaSwitchSel.ResumeLayout(false); this.pnlRfPaSwitchSel.PerformLayout(); this.pnlRfPaSwitchEnable.ResumeLayout(false); this.pnlRfPaSwitchEnable.PerformLayout(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); this.tlRegisters.ResumeLayout(false); this.tlRegisters.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager resources = new ComponentResourceManager(typeof(RssiAnalyserForm)); this.panel1 = new Panel(); this.groupBox5 = new GroupBoxEx(); this.btnLogBrowseFile = new Button(); this.pBarLog = new ProgressBar(); this.tableLayoutPanel3 = new TableLayoutPanel(); this.tBoxLogMaxSamples = new TextBox(); this.lblCommandsLogMaxSamples = new System.Windows.Forms.Label(); this.cBtnLogOnOff = new CheckBox(); this.panel3 = new Panel(); this.rBtnRssiAutoThreshOff = new RadioButton(); this.rBtnRssiAutoThreshOn = new RadioButton(); this.label6 = new System.Windows.Forms.Label(); this.nudRssiThresh = new NumericUpDownEx(); this.label55 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.panel2 = new Panel(); this.graph = new RssiGraphControl(); this.sfLogSaveFileDlg = new SaveFileDialog(); this.panel1.SuspendLayout(); this.groupBox5.SuspendLayout(); this.tableLayoutPanel3.SuspendLayout(); this.panel3.SuspendLayout(); this.nudRssiThresh.BeginInit(); this.panel2.SuspendLayout(); base.SuspendLayout(); this.panel1.Anchor = AnchorStyles.Right | AnchorStyles.Bottom | AnchorStyles.Top; this.panel1.BackColor = Color.Black; this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel1.Controls.Add(this.groupBox5); this.panel1.Controls.Add(this.panel3); this.panel1.Controls.Add(this.label6); this.panel1.Controls.Add(this.nudRssiThresh); this.panel1.Controls.Add(this.label55); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.label9); this.panel1.Controls.Add(this.label7); this.panel1.Controls.Add(this.label5); this.panel1.Controls.Add(this.label4); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.label8); this.panel1.Location = new Point(0x229, 0); this.panel1.Margin = new Padding(0); this.panel1.Name = "panel1"; this.panel1.Size = new Size(0xdf, 0x16e); this.panel1.TabIndex = 1; this.groupBox5.BackColor = Color.Transparent; this.groupBox5.Controls.Add(this.btnLogBrowseFile); this.groupBox5.Controls.Add(this.pBarLog); this.groupBox5.Controls.Add(this.tableLayoutPanel3); this.groupBox5.Controls.Add(this.cBtnLogOnOff); this.groupBox5.ForeColor = Color.Gray; this.groupBox5.Location = new Point(9, 0xc4); this.groupBox5.Name = "groupBox5"; this.groupBox5.Size = new Size(0xd1, 0x67); this.groupBox5.TabIndex = 8; this.groupBox5.TabStop = false; this.groupBox5.Text = "Log control"; this.btnLogBrowseFile.BackColor = SystemColors.Control; this.btnLogBrowseFile.ForeColor = SystemColors.ControlText; this.btnLogBrowseFile.Location = new Point(15, 70); this.btnLogBrowseFile.Name = "btnLogBrowseFile"; this.btnLogBrowseFile.Size = new Size(0x4b, 0x17); this.btnLogBrowseFile.TabIndex = 2; this.btnLogBrowseFile.Text = "Browse..."; this.btnLogBrowseFile.UseVisualStyleBackColor = false; this.btnLogBrowseFile.Click += new EventHandler(this.btnLogBrowseFile_Click); this.pBarLog.Location = new Point(15, 0x33); this.pBarLog.Name = "pBarLog"; this.pBarLog.Size = new Size(0xb3, 13); this.pBarLog.Step = 1; this.pBarLog.Style = ProgressBarStyle.Continuous; this.pBarLog.TabIndex = 1; this.tableLayoutPanel3.AutoSize = true; this.tableLayoutPanel3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.tableLayoutPanel3.ColumnCount = 2; this.tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle()); this.tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle()); this.tableLayoutPanel3.Controls.Add(this.tBoxLogMaxSamples, 1, 0); this.tableLayoutPanel3.Controls.Add(this.lblCommandsLogMaxSamples, 0, 0); this.tableLayoutPanel3.Location = new Point(15, 0x13); this.tableLayoutPanel3.Name = "tableLayoutPanel3"; this.tableLayoutPanel3.RowCount = 1; this.tableLayoutPanel3.RowStyles.Add(new RowStyle()); this.tableLayoutPanel3.Size = new Size(0xb3, 0x1a); this.tableLayoutPanel3.TabIndex = 0; this.tBoxLogMaxSamples.Location = new Point(0x5e, 3); this.tBoxLogMaxSamples.Name = "tBoxLogMaxSamples"; this.tBoxLogMaxSamples.Size = new Size(0x52, 20); this.tBoxLogMaxSamples.TabIndex = 1; this.tBoxLogMaxSamples.Text = "1000"; this.tBoxLogMaxSamples.TextAlign = HorizontalAlignment.Center; this.tBoxLogMaxSamples.Enter += new EventHandler(this.tBoxLogMaxSamples_Enter); this.tBoxLogMaxSamples.Validating += new CancelEventHandler(this.tBoxLogMaxSamples_Validating); this.tBoxLogMaxSamples.Validated += new EventHandler(this.tBoxLogMaxSamples_Validated); this.lblCommandsLogMaxSamples.ForeColor = Color.Gray; this.lblCommandsLogMaxSamples.Location = new Point(3, 0); this.lblCommandsLogMaxSamples.Name = "lblCommandsLogMaxSamples"; this.lblCommandsLogMaxSamples.Size = new Size(0x55, 0x17); this.lblCommandsLogMaxSamples.TabIndex = 0; this.lblCommandsLogMaxSamples.Text = "Max samples:"; this.lblCommandsLogMaxSamples.TextAlign = ContentAlignment.MiddleLeft; this.cBtnLogOnOff.Appearance = Appearance.Button; this.cBtnLogOnOff.BackColor = SystemColors.Control; this.cBtnLogOnOff.CheckAlign = ContentAlignment.MiddleCenter; this.cBtnLogOnOff.ForeColor = SystemColors.ControlText; this.cBtnLogOnOff.Location = new Point(0x77, 70); this.cBtnLogOnOff.Name = "cBtnLogOnOff"; this.cBtnLogOnOff.Size = new Size(0x4b, 0x17); this.cBtnLogOnOff.TabIndex = 3; this.cBtnLogOnOff.Text = "Start"; this.cBtnLogOnOff.TextAlign = ContentAlignment.MiddleCenter; this.cBtnLogOnOff.UseVisualStyleBackColor = false; this.cBtnLogOnOff.CheckedChanged += new EventHandler(this.cBtnLogOnOff_CheckedChanged); this.panel3.Anchor = AnchorStyles.None; this.panel3.AutoSize = true; this.panel3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.panel3.Controls.Add(this.rBtnRssiAutoThreshOff); this.panel3.Controls.Add(this.rBtnRssiAutoThreshOn); this.panel3.ForeColor = Color.Gray; this.panel3.Location = new Point(0x75, 0x91); this.panel3.Name = "panel3"; this.panel3.Size = new Size(0x62, 0x17); this.panel3.TabIndex = 5; this.rBtnRssiAutoThreshOff.AutoSize = true; this.rBtnRssiAutoThreshOff.Location = new Point(50, 3); this.rBtnRssiAutoThreshOff.Name = "rBtnRssiAutoThreshOff"; this.rBtnRssiAutoThreshOff.Size = new Size(0x2d, 0x11); this.rBtnRssiAutoThreshOff.TabIndex = 1; this.rBtnRssiAutoThreshOff.Text = "OFF"; this.rBtnRssiAutoThreshOff.UseVisualStyleBackColor = true; this.rBtnRssiAutoThreshOff.CheckedChanged += new EventHandler(this.rBtnRssiAutoThreshOff_CheckedChanged); this.rBtnRssiAutoThreshOn.AutoSize = true; this.rBtnRssiAutoThreshOn.Checked = true; this.rBtnRssiAutoThreshOn.Location = new Point(3, 3); this.rBtnRssiAutoThreshOn.Name = "rBtnRssiAutoThreshOn"; this.rBtnRssiAutoThreshOn.Size = new Size(0x29, 0x11); this.rBtnRssiAutoThreshOn.TabIndex = 0; this.rBtnRssiAutoThreshOn.TabStop = true; this.rBtnRssiAutoThreshOn.Text = "ON"; this.rBtnRssiAutoThreshOn.UseVisualStyleBackColor = true; this.rBtnRssiAutoThreshOn.CheckedChanged += new EventHandler(this.rBtnRssiAutoThreshOn_CheckedChanged); this.label6.Anchor = AnchorStyles.None; this.label6.AutoSize = true; this.label6.ForeColor = Color.Gray; this.label6.Location = new Point(6, 150); this.label6.Name = "label6"; this.label6.Size = new Size(0x69, 13); this.label6.TabIndex = 4; this.label6.Text = "RSSI auto threshold:"; this.nudRssiThresh.Anchor = AnchorStyles.None; this.nudRssiThresh.DecimalPlaces = 1; this.nudRssiThresh.Enabled = false; int[] bits = new int[4]; bits[0] = 5; bits[3] = 0x10000; this.nudRssiThresh.Increment = new decimal(bits); this.nudRssiThresh.Location = new Point(0x75, 0xab); this.nudRssiThresh.Margin = new Padding(0); int[] numArray2 = new int[4]; this.nudRssiThresh.Maximum = new decimal(numArray2); int[] numArray3 = new int[4]; numArray3[0] = 0x4fb; numArray3[3] = -2147418112; this.nudRssiThresh.Minimum = new decimal(numArray3); this.nudRssiThresh.Name = "nudRssiThresh"; this.nudRssiThresh.Size = new Size(60, 20); this.nudRssiThresh.TabIndex = 7; this.nudRssiThresh.ThousandsSeparator = true; int[] numArray4 = new int[4]; numArray4[0] = 0x72; numArray4[3] = -2147483648; this.nudRssiThresh.Value = new decimal(numArray4); this.nudRssiThresh.ValueChanged += new EventHandler(this.nudRssiThresh_ValueChanged); this.label55.Anchor = AnchorStyles.None; this.label55.AutoSize = true; this.label55.BackColor = Color.Transparent; this.label55.ForeColor = Color.Gray; this.label55.Location = new Point(6, 0xab); this.label55.Margin = new Padding(0); this.label55.Name = "label55"; this.label55.Size = new Size(0x36, 13); this.label55.TabIndex = 6; this.label55.Text = "Threshold"; this.label55.TextAlign = ContentAlignment.MiddleCenter; this.label3.Anchor = AnchorStyles.None; this.label3.AutoSize = true; this.label3.ForeColor = Color.Green; this.label3.Location = new Point(6, 90); this.label3.Name = "label3"; this.label3.Size = new Size(0x52, 13); this.label3.TabIndex = 2; this.label3.Text = "RSSI Threshold"; this.label1.Anchor = AnchorStyles.None; this.label1.BackColor = Color.Green; this.label1.Location = new Point(0x75, 0x5f); this.label1.Margin = new Padding(3, 3, 0, 3); this.label1.Name = "label1"; this.label1.Size = new Size(0x19, 2); this.label1.TabIndex = 3; this.label1.Text = "label7"; this.label9.Anchor = AnchorStyles.None; this.label9.AutoSize = true; this.label9.ForeColor = Color.Aqua; this.label9.Location = new Point(6, 0x1d); this.label9.Margin = new Padding(3); this.label9.Name = "label9"; this.label9.Size = new Size(0x45, 13); this.label9.TabIndex = 0; this.label9.Text = "RF_PA RSSI"; this.label9.Visible = false; this.label7.Anchor = AnchorStyles.None; this.label7.BackColor = Color.Aqua; this.label7.Location = new Point(0x75, 0x22); this.label7.Margin = new Padding(3); this.label7.Name = "label7"; this.label7.Size = new Size(0x19, 2); this.label7.TabIndex = 1; this.label7.Text = "label7"; this.label7.Visible = false; this.label5.Anchor = AnchorStyles.None; this.label5.AutoSize = true; this.label5.ForeColor = Color.Yellow; this.label5.Location = new Point(6, 0x30); this.label5.Margin = new Padding(3); this.label5.Name = "label5"; this.label5.Size = new Size(0x42, 13); this.label5.TabIndex = 0; this.label5.Text = "RF_IO RSSI"; this.label5.Visible = false; this.label4.Anchor = AnchorStyles.None; this.label4.BackColor = Color.Yellow; this.label4.Location = new Point(0x75, 0x35); this.label4.Margin = new Padding(3); this.label4.Name = "label4"; this.label4.Size = new Size(0x19, 2); this.label4.TabIndex = 1; this.label4.Text = "label7"; this.label4.Visible = false; this.label2.Anchor = AnchorStyles.None; this.label2.AutoSize = true; this.label2.ForeColor = Color.Red; this.label2.Location = new Point(6, 0x43); this.label2.Margin = new Padding(3); this.label2.Name = "label2"; this.label2.Size = new Size(0x20, 13); this.label2.TabIndex = 0; this.label2.Text = "RSSI"; this.label8.Anchor = AnchorStyles.None; this.label8.BackColor = Color.Red; this.label8.Location = new Point(0x75, 0x48); this.label8.Margin = new Padding(3); this.label8.Name = "label8"; this.label8.Size = new Size(0x19, 2); this.label8.TabIndex = 1; this.label8.Text = "label7"; this.panel2.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.panel2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel2.Controls.Add(this.graph); this.panel2.Location = new Point(0, 0); this.panel2.Margin = new Padding(0); this.panel2.Name = "panel2"; this.panel2.Size = new Size(0x229, 0x16e); this.panel2.TabIndex = 0; this.graph.Dock = DockStyle.Fill; this.graph.Location = new Point(0, 0); this.graph.Name = "graph"; this.graph.Size = new Size(0x227, 0x16c); this.graph.TabIndex = 0; this.sfLogSaveFileDlg.DefaultExt = "*.log"; this.sfLogSaveFileDlg.Filter = "Log Files(*.log)|*.log|AllFiles(*.*)|*.*"; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; base.ClientSize = new Size(0x308, 0x16e); base.Controls.Add(this.panel2); base.Controls.Add(this.panel1); base.Icon = (Icon)resources.GetObject("$this.Icon"); base.Name = "RssiAnalyserForm"; this.Text = "Rssi analyser"; base.FormClosed += new FormClosedEventHandler(this.RssiAnalyserForm_FormClosed); base.Load += new EventHandler(this.RssiAnalyserForm_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.groupBox5.ResumeLayout(false); this.groupBox5.PerformLayout(); this.tableLayoutPanel3.ResumeLayout(false); this.tableLayoutPanel3.PerformLayout(); this.panel3.ResumeLayout(false); this.panel3.PerformLayout(); this.nudRssiThresh.EndInit(); this.panel2.ResumeLayout(false); base.ResumeLayout(false); }
private void InitializeComponent() { this.components = (IContainer) new Container(); ComponentResourceManager resources = new ComponentResourceManager(typeof(RxTxStartupTimeForm)); this.label4 = new Label(); this.label3 = new Label(); this.gBoxRxStartupTime = new GroupBoxEx(); this.lblTsReUnit = new Label(); this.lblTsReValue = new Label(); this.lblTsRe = new Label(); this.lblAgcOnValue = new Label(); this.lblAfcOnValue = new Label(); this.lblAfcOn = new Label(); this.lblAgcOn = new Label(); this.gBoxTxStartupTime = new GroupBoxEx(); this.lblTsTrUnit = new Label(); this.lblTsTrValue = new Label(); this.lblTsTr = new Label(); this.label1 = new Label(); this.lblTsRssiValue = new Label(); this.lblTsRssiUnit = new Label(); this.label2 = new Label(); this.label5 = new Label(); this.label6 = new Label(); this.label7 = new Label(); this.label8 = new Label(); this.label9 = new Label(); this.label10 = new Label(); this.lblTsReTsRssiValue = new Label(); this.lblTsReTsRssiUnit = new Label(); this.pnlHorizontalSeparator = new Panel(); this.gBoxRxStartupTime.SuspendLayout(); this.gBoxTxStartupTime.SuspendLayout(); this.SuspendLayout(); this.label4.AutoSize = true; this.label4.Location = new Point(60, 264); this.label4.Name = "label4"; this.label4.Size = new Size(191, 13); this.label4.TabIndex = 6; this.label4.Text = "See drawings section 4.2 of datasheet."; this.label4.Visible = false; this.label3.AutoSize = true; this.label3.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Bold, GraphicsUnit.Point, (byte)0); this.label3.Location = new Point(16, 264); this.label3.Name = "label3"; this.label3.Size = new Size(38, 13); this.label3.TabIndex = 5; this.label3.Text = "Note:"; this.label3.Visible = false; this.gBoxRxStartupTime.Controls.Add((Control)this.pnlHorizontalSeparator); this.gBoxRxStartupTime.Controls.Add((Control)this.label9); this.gBoxRxStartupTime.Controls.Add((Control)this.label6); this.gBoxRxStartupTime.Controls.Add((Control)this.lblTsReTsRssiUnit); this.gBoxRxStartupTime.Controls.Add((Control)this.lblTsRssiUnit); this.gBoxRxStartupTime.Controls.Add((Control)this.lblTsReUnit); this.gBoxRxStartupTime.Controls.Add((Control)this.label8); this.gBoxRxStartupTime.Controls.Add((Control)this.label5); this.gBoxRxStartupTime.Controls.Add((Control)this.lblTsReTsRssiValue); this.gBoxRxStartupTime.Controls.Add((Control)this.lblTsRssiValue); this.gBoxRxStartupTime.Controls.Add((Control)this.lblTsReValue); this.gBoxRxStartupTime.Controls.Add((Control)this.label7); this.gBoxRxStartupTime.Controls.Add((Control)this.label2); this.gBoxRxStartupTime.Controls.Add((Control)this.label10); this.gBoxRxStartupTime.Controls.Add((Control)this.label1); this.gBoxRxStartupTime.Controls.Add((Control)this.lblTsRe); this.gBoxRxStartupTime.Controls.Add((Control)this.lblAgcOnValue); this.gBoxRxStartupTime.Controls.Add((Control)this.lblAfcOnValue); this.gBoxRxStartupTime.Controls.Add((Control)this.lblAfcOn); this.gBoxRxStartupTime.Controls.Add((Control)this.lblAgcOn); this.gBoxRxStartupTime.Location = new Point(12, 81); this.gBoxRxStartupTime.Name = "gBoxRxStartupTime"; this.gBoxRxStartupTime.Size = new Size(324, 180); this.gBoxRxStartupTime.TabIndex = 4; this.gBoxRxStartupTime.TabStop = false; this.gBoxRxStartupTime.Text = "Rx startup time"; this.lblTsReUnit.AutoSize = true; this.lblTsReUnit.Location = new Point(275, 68); this.lblTsReUnit.Margin = new Padding(1); this.lblTsReUnit.MinimumSize = new Size(40, 20); this.lblTsReUnit.Name = "lblTsReUnit"; this.lblTsReUnit.Size = new Size(40, 20); this.lblTsReUnit.TabIndex = 29; this.lblTsReUnit.Text = "μs"; this.lblTsReUnit.TextAlign = ContentAlignment.MiddleLeft; this.lblTsReValue.AutoSize = true; this.lblTsReValue.Location = new Point(193, 68); this.lblTsReValue.Margin = new Padding(1); this.lblTsReValue.MinimumSize = new Size(80, 20); this.lblTsReValue.Name = "lblTsReValue"; this.lblTsReValue.Size = new Size(80, 20); this.lblTsReValue.TabIndex = 28; this.lblTsReValue.Text = "0.000"; this.lblTsReValue.TextAlign = ContentAlignment.MiddleRight; this.lblTsRe.AutoSize = true; this.lblTsRe.Location = new Point(4, 68); this.lblTsRe.Margin = new Padding(1); this.lblTsRe.MinimumSize = new Size(0, 20); this.lblTsRe.Name = "lblTsRe"; this.lblTsRe.Size = new Size(45, 20); this.lblTsRe.TabIndex = 27; this.lblTsRe.Text = "TS_RE:"; this.lblTsRe.TextAlign = ContentAlignment.MiddleLeft; this.lblAgcOnValue.AutoSize = true; this.lblAgcOnValue.Location = new Point(193, 17); this.lblAgcOnValue.Margin = new Padding(1); this.lblAgcOnValue.MinimumSize = new Size(80, 20); this.lblAgcOnValue.Name = "lblAgcOnValue"; this.lblAgcOnValue.Size = new Size(80, 20); this.lblAgcOnValue.TabIndex = 25; this.lblAgcOnValue.Text = "OFF"; this.lblAgcOnValue.TextAlign = ContentAlignment.MiddleRight; this.lblAfcOnValue.AutoSize = true; this.lblAfcOnValue.Location = new Point(193, 39); this.lblAfcOnValue.Margin = new Padding(1); this.lblAfcOnValue.MinimumSize = new Size(80, 20); this.lblAfcOnValue.Name = "lblAfcOnValue"; this.lblAfcOnValue.Size = new Size(80, 20); this.lblAfcOnValue.TabIndex = 25; this.lblAfcOnValue.Text = "OFF"; this.lblAfcOnValue.TextAlign = ContentAlignment.MiddleRight; this.lblAfcOn.AutoSize = true; this.lblAfcOn.Location = new Point(4, 39); this.lblAfcOn.Margin = new Padding(1); this.lblAfcOn.MinimumSize = new Size(0, 20); this.lblAfcOn.Name = "lblAfcOn"; this.lblAfcOn.Size = new Size(30, 20); this.lblAfcOn.TabIndex = 24; this.lblAfcOn.Text = "AFC:"; this.lblAfcOn.TextAlign = ContentAlignment.MiddleLeft; this.lblAgcOn.AutoSize = true; this.lblAgcOn.Location = new Point(4, 17); this.lblAgcOn.Margin = new Padding(1); this.lblAgcOn.MinimumSize = new Size(0, 20); this.lblAgcOn.Name = "lblAgcOn"; this.lblAgcOn.Size = new Size(32, 20); this.lblAgcOn.TabIndex = 24; this.lblAgcOn.Text = "AGC:"; this.lblAgcOn.TextAlign = ContentAlignment.MiddleLeft; this.gBoxTxStartupTime.Controls.Add((Control)this.lblTsTrUnit); this.gBoxTxStartupTime.Controls.Add((Control)this.lblTsTrValue); this.gBoxTxStartupTime.Controls.Add((Control)this.lblTsTr); this.gBoxTxStartupTime.Location = new Point(12, 12); this.gBoxTxStartupTime.Name = "gBoxTxStartupTime"; this.gBoxTxStartupTime.Size = new Size(324, 63); this.gBoxTxStartupTime.TabIndex = 4; this.gBoxTxStartupTime.TabStop = false; this.gBoxTxStartupTime.Text = "Tx startup time"; this.lblTsTrUnit.AutoSize = true; this.lblTsTrUnit.Location = new Point(275, 27); this.lblTsTrUnit.Margin = new Padding(1); this.lblTsTrUnit.MinimumSize = new Size(40, 20); this.lblTsTrUnit.Name = "lblTsTrUnit"; this.lblTsTrUnit.Size = new Size(40, 20); this.lblTsTrUnit.TabIndex = 26; this.lblTsTrUnit.Text = "μs"; this.lblTsTrUnit.TextAlign = ContentAlignment.MiddleLeft; this.lblTsTrValue.AutoSize = true; this.lblTsTrValue.Location = new Point(193, 27); this.lblTsTrValue.Margin = new Padding(1); this.lblTsTrValue.MinimumSize = new Size(80, 20); this.lblTsTrValue.Name = "lblTsTrValue"; this.lblTsTrValue.Size = new Size(80, 20); this.lblTsTrValue.TabIndex = 25; this.lblTsTrValue.Text = "0.000"; this.lblTsTrValue.TextAlign = ContentAlignment.MiddleRight; this.lblTsTr.AutoSize = true; this.lblTsTr.Location = new Point(4, 27); this.lblTsTr.Margin = new Padding(1); this.lblTsTr.MinimumSize = new Size(0, 20); this.lblTsTr.Name = "lblTsTr"; this.lblTsTr.Size = new Size(45, 20); this.lblTsTr.TabIndex = 24; this.lblTsTr.Text = "TS_TR:"; this.lblTsTr.TextAlign = ContentAlignment.MiddleLeft; this.label1.AutoSize = true; this.label1.Location = new Point(4, 90); this.label1.Margin = new Padding(1); this.label1.MinimumSize = new Size(0, 20); this.label1.Name = "label1"; this.label1.Size = new Size(55, 20); this.label1.TabIndex = 27; this.label1.Text = "TS_RSSI:"; this.label1.TextAlign = ContentAlignment.MiddleLeft; this.lblTsRssiValue.AutoSize = true; this.lblTsRssiValue.Location = new Point(193, 90); this.lblTsRssiValue.Margin = new Padding(1); this.lblTsRssiValue.MinimumSize = new Size(80, 20); this.lblTsRssiValue.Name = "lblTsRssiValue"; this.lblTsRssiValue.Size = new Size(80, 20); this.lblTsRssiValue.TabIndex = 28; this.lblTsRssiValue.Text = "0.000"; this.lblTsRssiValue.TextAlign = ContentAlignment.MiddleRight; this.lblTsRssiUnit.AutoSize = true; this.lblTsRssiUnit.Location = new Point(275, 90); this.lblTsRssiUnit.Margin = new Padding(1); this.lblTsRssiUnit.MinimumSize = new Size(40, 20); this.lblTsRssiUnit.Name = "lblTsRssiUnit"; this.lblTsRssiUnit.Size = new Size(40, 20); this.lblTsRssiUnit.TabIndex = 29; this.lblTsRssiUnit.Text = "μs"; this.lblTsRssiUnit.TextAlign = ContentAlignment.MiddleLeft; this.label2.AutoSize = true; this.label2.Location = new Point(4, 134); this.label2.Margin = new Padding(1); this.label2.MinimumSize = new Size(0, 20); this.label2.Name = "label2"; this.label2.Size = new Size(43, 20); this.label2.TabIndex = 27; this.label2.Text = "TS_FS:"; this.label2.TextAlign = ContentAlignment.MiddleLeft; this.label5.AutoSize = true; this.label5.Location = new Point(193, 134); this.label5.Margin = new Padding(1); this.label5.MinimumSize = new Size(80, 20); this.label5.Name = "label5"; this.label5.Size = new Size(80, 20); this.label5.TabIndex = 28; this.label5.Text = "60.000"; this.label5.TextAlign = ContentAlignment.MiddleRight; this.label6.AutoSize = true; this.label6.Location = new Point(275, 134); this.label6.Margin = new Padding(1); this.label6.MinimumSize = new Size(40, 20); this.label6.Name = "label6"; this.label6.Size = new Size(40, 20); this.label6.TabIndex = 29; this.label6.Text = "μs"; this.label6.TextAlign = ContentAlignment.MiddleLeft; this.label7.AutoSize = true; this.label7.Location = new Point(4, 156); this.label7.Margin = new Padding(1); this.label7.MinimumSize = new Size(0, 20); this.label7.Name = "label7"; this.label7.Size = new Size(150, 20); this.label7.TabIndex = 27; this.label7.Text = "TS_OSC (depends on crystal):"; this.label7.TextAlign = ContentAlignment.MiddleLeft; this.label8.AutoSize = true; this.label8.Location = new Point(193, 156); this.label8.Margin = new Padding(1); this.label8.MinimumSize = new Size(80, 20); this.label8.Name = "label8"; this.label8.Size = new Size(80, 20); this.label8.TabIndex = 28; this.label8.Text = "250.000"; this.label8.TextAlign = ContentAlignment.MiddleRight; this.label9.AutoSize = true; this.label9.Location = new Point(275, 156); this.label9.Margin = new Padding(1); this.label9.MinimumSize = new Size(40, 20); this.label9.Name = "label9"; this.label9.Size = new Size(40, 20); this.label9.TabIndex = 29; this.label9.Text = "μs"; this.label9.TextAlign = ContentAlignment.MiddleLeft; this.label10.AutoSize = true; this.label10.Location = new Point(4, 112); this.label10.Margin = new Padding(1); this.label10.MinimumSize = new Size(0, 20); this.label10.Name = "label10"; this.label10.Size = new Size(139, 20); this.label10.TabIndex = 27; this.label10.Text = "TS_RE + TS_RSSI (+/-5%):"; this.label10.TextAlign = ContentAlignment.MiddleLeft; this.lblTsReTsRssiValue.AutoSize = true; this.lblTsReTsRssiValue.Location = new Point(193, 112); this.lblTsReTsRssiValue.Margin = new Padding(1); this.lblTsReTsRssiValue.MinimumSize = new Size(80, 20); this.lblTsReTsRssiValue.Name = "lblTsReTsRssiValue"; this.lblTsReTsRssiValue.Size = new Size(80, 20); this.lblTsReTsRssiValue.TabIndex = 28; this.lblTsReTsRssiValue.Text = "0.000"; this.lblTsReTsRssiValue.TextAlign = ContentAlignment.MiddleRight; this.lblTsReTsRssiUnit.AutoSize = true; this.lblTsReTsRssiUnit.Location = new Point(275, 112); this.lblTsReTsRssiUnit.Margin = new Padding(1); this.lblTsReTsRssiUnit.MinimumSize = new Size(40, 20); this.lblTsReTsRssiUnit.Name = "lblTsReTsRssiUnit"; this.lblTsReTsRssiUnit.Size = new Size(40, 20); this.lblTsReTsRssiUnit.TabIndex = 29; this.lblTsReTsRssiUnit.Text = "μs"; this.lblTsReTsRssiUnit.TextAlign = ContentAlignment.MiddleLeft; this.pnlHorizontalSeparator.BorderStyle = BorderStyle.FixedSingle; this.pnlHorizontalSeparator.Location = new Point(7, 63); this.pnlHorizontalSeparator.Name = "pnlHorizontalSeparator"; this.pnlHorizontalSeparator.Size = new Size(311, 1); this.pnlHorizontalSeparator.TabIndex = 30; this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; this.ClientSize = new Size(347, 286); this.Controls.Add((Control)this.label4); this.Controls.Add((Control)this.label3); this.Controls.Add((Control)this.gBoxRxStartupTime); this.Controls.Add((Control)this.gBoxTxStartupTime); this.DoubleBuffered = true; this.FormBorderStyle = FormBorderStyle.FixedDialog; this.Icon = (Icon)resources.GetObject("$this.Icon"); this.KeyPreview = true; this.MaximizeBox = false; this.Name = "RxTxStartupTimeForm"; this.Text = "RxTx Startup Time"; this.FormClosed += new FormClosedEventHandler(this.RxTxStartupTimeForm_FormClosed); this.Load += new EventHandler(this.RxTxStartupTimeForm_Load); this.gBoxRxStartupTime.ResumeLayout(false); this.gBoxRxStartupTime.PerformLayout(); this.gBoxTxStartupTime.ResumeLayout(false); this.gBoxTxStartupTime.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/* * this.graph = new RssiGraphControl(); * this.panel2.Controls.Add(this.graph); */ private void InitializeComponent() { this.components = (IContainer) new Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RssiAnalyserForm)); this.panel1 = new System.Windows.Forms.Panel(); this.groupBox5 = new SemtechLib.Controls.GroupBoxEx(); this.btnLogBrowseFile = new System.Windows.Forms.Button(); this.pBarLog = new System.Windows.Forms.ProgressBar(); this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); this.tBoxLogMaxSamples = new System.Windows.Forms.TextBox(); this.lblCommandsLogMaxSamples = new System.Windows.Forms.Label(); this.cBtnLogOnOff = new System.Windows.Forms.CheckBox(); this.nudRssiThresh = new SemtechLib.Controls.NumericUpDownEx(); this.label55 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.sfLogSaveFileDlg = new System.Windows.Forms.SaveFileDialog(); this.graph = new SemtechLib.Devices.SX1276.UI.Controls.RssiGraphControl(); this.panel1.SuspendLayout(); this.groupBox5.SuspendLayout(); this.tableLayoutPanel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.nudRssiThresh)).BeginInit(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.panel1.BackColor = System.Drawing.Color.Black; this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel1.Controls.Add(this.groupBox5); this.panel1.Controls.Add(this.nudRssiThresh); this.panel1.Controls.Add(this.label55); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.label9); this.panel1.Controls.Add(this.label7); this.panel1.Controls.Add(this.label5); this.panel1.Controls.Add(this.label4); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.label8); this.panel1.Location = new System.Drawing.Point(553, 0); this.panel1.Margin = new System.Windows.Forms.Padding(0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(223, 366); this.panel1.TabIndex = 1; // // groupBox5 // this.groupBox5.BackColor = System.Drawing.Color.Transparent; this.groupBox5.Controls.Add(this.btnLogBrowseFile); this.groupBox5.Controls.Add(this.pBarLog); this.groupBox5.Controls.Add(this.tableLayoutPanel3); this.groupBox5.Controls.Add(this.cBtnLogOnOff); this.groupBox5.ForeColor = System.Drawing.Color.Gray; this.groupBox5.Location = new System.Drawing.Point(9, 196); this.groupBox5.Name = "groupBox5"; this.groupBox5.Size = new System.Drawing.Size(209, 103); this.groupBox5.TabIndex = 8; this.groupBox5.TabStop = false; this.groupBox5.Text = "Log control"; // // btnLogBrowseFile // this.btnLogBrowseFile.BackColor = System.Drawing.SystemColors.Control; this.btnLogBrowseFile.ForeColor = System.Drawing.SystemColors.ControlText; this.btnLogBrowseFile.Location = new System.Drawing.Point(15, 70); this.btnLogBrowseFile.Name = "btnLogBrowseFile"; this.btnLogBrowseFile.Size = new System.Drawing.Size(75, 23); this.btnLogBrowseFile.TabIndex = 2; this.btnLogBrowseFile.Text = "Browse..."; this.btnLogBrowseFile.UseVisualStyleBackColor = false; this.btnLogBrowseFile.Click += new System.EventHandler(this.btnLogBrowseFile_Click); // // pBarLog // this.pBarLog.Location = new System.Drawing.Point(15, 51); this.pBarLog.Name = "pBarLog"; this.pBarLog.Size = new System.Drawing.Size(179, 13); this.pBarLog.Step = 1; this.pBarLog.Style = System.Windows.Forms.ProgressBarStyle.Continuous; this.pBarLog.TabIndex = 1; // // tableLayoutPanel3 // this.tableLayoutPanel3.AutoSize = true; this.tableLayoutPanel3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.tableLayoutPanel3.ColumnCount = 2; this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel3.Controls.Add(this.tBoxLogMaxSamples, 1, 0); this.tableLayoutPanel3.Controls.Add(this.lblCommandsLogMaxSamples, 0, 0); this.tableLayoutPanel3.Location = new System.Drawing.Point(15, 19); this.tableLayoutPanel3.Name = "tableLayoutPanel3"; this.tableLayoutPanel3.RowCount = 1; this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel3.Size = new System.Drawing.Size(179, 26); this.tableLayoutPanel3.TabIndex = 0; // // tBoxLogMaxSamples // this.tBoxLogMaxSamples.Location = new System.Drawing.Point(94, 3); this.tBoxLogMaxSamples.Name = "tBoxLogMaxSamples"; this.tBoxLogMaxSamples.Size = new System.Drawing.Size(82, 20); this.tBoxLogMaxSamples.TabIndex = 1; this.tBoxLogMaxSamples.Text = "1000"; this.tBoxLogMaxSamples.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.tBoxLogMaxSamples.Enter += new System.EventHandler(this.tBoxLogMaxSamples_Enter); this.tBoxLogMaxSamples.Validating += new System.ComponentModel.CancelEventHandler(this.tBoxLogMaxSamples_Validating); this.tBoxLogMaxSamples.Validated += new System.EventHandler(this.tBoxLogMaxSamples_Validated); // // lblCommandsLogMaxSamples // this.lblCommandsLogMaxSamples.ForeColor = System.Drawing.Color.Gray; this.lblCommandsLogMaxSamples.Location = new System.Drawing.Point(3, 0); this.lblCommandsLogMaxSamples.Name = "lblCommandsLogMaxSamples"; this.lblCommandsLogMaxSamples.Size = new System.Drawing.Size(85, 23); this.lblCommandsLogMaxSamples.TabIndex = 0; this.lblCommandsLogMaxSamples.Text = "Max samples:"; this.lblCommandsLogMaxSamples.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // cBtnLogOnOff // this.cBtnLogOnOff.Appearance = System.Windows.Forms.Appearance.Button; this.cBtnLogOnOff.BackColor = System.Drawing.SystemColors.Control; this.cBtnLogOnOff.CheckAlign = System.Drawing.ContentAlignment.MiddleCenter; this.cBtnLogOnOff.ForeColor = System.Drawing.SystemColors.ControlText; this.cBtnLogOnOff.Location = new System.Drawing.Point(119, 70); this.cBtnLogOnOff.Name = "cBtnLogOnOff"; this.cBtnLogOnOff.Size = new System.Drawing.Size(75, 23); this.cBtnLogOnOff.TabIndex = 3; this.cBtnLogOnOff.Text = "Start"; this.cBtnLogOnOff.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.cBtnLogOnOff.UseVisualStyleBackColor = false; this.cBtnLogOnOff.CheckedChanged += new System.EventHandler(this.cBtnLogOnOff_CheckedChanged); // // nudRssiThresh // this.nudRssiThresh.Anchor = System.Windows.Forms.AnchorStyles.None; this.nudRssiThresh.DecimalPlaces = 1; this.nudRssiThresh.Increment = new decimal(new int[] { 5, 0, 0, 65536 }); this.nudRssiThresh.Location = new System.Drawing.Point(117, 171); this.nudRssiThresh.Margin = new System.Windows.Forms.Padding(0); this.nudRssiThresh.Maximum = new decimal(new int[] { 0, 0, 0, 0 }); this.nudRssiThresh.Minimum = new decimal(new int[] { 1275, 0, 0, -2147418112 }); this.nudRssiThresh.Name = "nudRssiThresh"; this.nudRssiThresh.Size = new System.Drawing.Size(60, 20); this.nudRssiThresh.TabIndex = 7; this.nudRssiThresh.ThousandsSeparator = true; this.nudRssiThresh.Value = new decimal(new int[] { 114, 0, 0, -2147483648 }); this.nudRssiThresh.ValueChanged += new System.EventHandler(this.nudRssiThresh_ValueChanged); // // label55 // this.label55.Anchor = System.Windows.Forms.AnchorStyles.None; this.label55.AutoSize = true; this.label55.BackColor = System.Drawing.Color.Transparent; this.label55.ForeColor = System.Drawing.Color.Gray; this.label55.Location = new System.Drawing.Point(6, 171); this.label55.Margin = new System.Windows.Forms.Padding(0); this.label55.Name = "label55"; this.label55.Size = new System.Drawing.Size(54, 13); this.label55.TabIndex = 6; this.label55.Text = "Threshold"; this.label55.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label3 // this.label3.Anchor = System.Windows.Forms.AnchorStyles.None; this.label3.AutoSize = true; this.label3.ForeColor = System.Drawing.Color.Green; this.label3.Location = new System.Drawing.Point(6, 90); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(82, 13); this.label3.TabIndex = 2; this.label3.Text = "RSSI Threshold"; // // label1 // this.label1.Anchor = System.Windows.Forms.AnchorStyles.None; this.label1.BackColor = System.Drawing.Color.Green; this.label1.Location = new System.Drawing.Point(117, 95); this.label1.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(25, 2); this.label1.TabIndex = 3; this.label1.Text = "label7"; // // label9 // this.label9.Anchor = System.Windows.Forms.AnchorStyles.None; this.label9.AutoSize = true; this.label9.ForeColor = System.Drawing.Color.Aqua; this.label9.Location = new System.Drawing.Point(6, 29); this.label9.Margin = new System.Windows.Forms.Padding(3); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(69, 13); this.label9.TabIndex = 0; this.label9.Text = "RF_PA RSSI"; this.label9.Visible = false; // // label7 // this.label7.Anchor = System.Windows.Forms.AnchorStyles.None; this.label7.BackColor = System.Drawing.Color.Aqua; this.label7.Location = new System.Drawing.Point(117, 34); this.label7.Margin = new System.Windows.Forms.Padding(3); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(25, 2); this.label7.TabIndex = 1; this.label7.Text = "label7"; this.label7.Visible = false; // // label5 // this.label5.Anchor = System.Windows.Forms.AnchorStyles.None; this.label5.AutoSize = true; this.label5.ForeColor = System.Drawing.Color.Yellow; this.label5.Location = new System.Drawing.Point(6, 48); this.label5.Margin = new System.Windows.Forms.Padding(3); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(66, 13); this.label5.TabIndex = 0; this.label5.Text = "RF_IO RSSI"; this.label5.Visible = false; // // label4 // this.label4.Anchor = System.Windows.Forms.AnchorStyles.None; this.label4.BackColor = System.Drawing.Color.Yellow; this.label4.Location = new System.Drawing.Point(117, 53); this.label4.Margin = new System.Windows.Forms.Padding(3); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(25, 2); this.label4.TabIndex = 1; this.label4.Text = "label7"; this.label4.Visible = false; // // label2 // this.label2.Anchor = System.Windows.Forms.AnchorStyles.None; this.label2.AutoSize = true; this.label2.ForeColor = System.Drawing.Color.Red; this.label2.Location = new System.Drawing.Point(6, 67); this.label2.Margin = new System.Windows.Forms.Padding(3); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(32, 13); this.label2.TabIndex = 0; this.label2.Text = "RSSI"; // // label8 // this.label8.Anchor = System.Windows.Forms.AnchorStyles.None; this.label8.BackColor = System.Drawing.Color.Red; this.label8.Location = new System.Drawing.Point(117, 72); this.label8.Margin = new System.Windows.Forms.Padding(3); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(25, 2); this.label8.TabIndex = 1; this.label8.Text = "label7"; // // panel2 // this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panel2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel2.Controls.Add(this.graph); this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Margin = new System.Windows.Forms.Padding(0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(553, 366); this.panel2.TabIndex = 0; // // sfLogSaveFileDlg // this.sfLogSaveFileDlg.DefaultExt = "*.log"; this.sfLogSaveFileDlg.Filter = "Log Files(*.log)|*.log|AllFiles(*.*)|*.*"; // // graph // this.graph.Dock = System.Windows.Forms.DockStyle.Fill; this.graph.Location = new System.Drawing.Point(0, 0); this.graph.Name = "graph"; this.graph.Size = new System.Drawing.Size(551, 364); this.graph.TabIndex = 0; // // RssiAnalyserForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(776, 366); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "RssiAnalyserForm"; this.Text = "Rssi analyser"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.RssiAnalyserForm_FormClosed); this.Load += new System.EventHandler(this.RssiAnalyserForm_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.groupBox5.ResumeLayout(false); this.groupBox5.PerformLayout(); this.tableLayoutPanel3.ResumeLayout(false); this.tableLayoutPanel3.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.nudRssiThresh)).EndInit(); this.panel2.ResumeLayout(false); this.ResumeLayout(false); }
protected internal ValueControlEx(AutoAttributeData data, GroupBoxEx parentGroup) : base(data, parentGroup) { }
private void InitializeComponent() { this.components = (IContainer) new Container(); this.errorProvider = new ErrorProvider(components); this.nudOcpTrim = new NumericUpDownEx(); this.gBoxOverloadCurrentProtection = new GroupBoxEx(); this.panel4 = new Panel(); this.rBtnOcpOff = new RadioButton(); this.rBtnOcpOn = new RadioButton(); this.label5 = new Label(); this.suffixOCPtrim = new Label(); this.gBoxOutputPower = new GroupBoxEx(); this.pnlPa20dBm = new Panel(); this.rBtnPa20dBmOff = new RadioButton(); this.rBtnPa20dBmOn = new RadioButton(); this.lblPa20dBm = new Label(); this.nudMaxOutputPower = new NumericUpDownEx(); this.label7 = new Label(); this.nudOutputPower = new NumericUpDownEx(); this.label6 = new Label(); this.label1 = new Label(); this.suffixOutputPower = new Label(); this.gBoxPowerAmplifier = new GroupBoxEx(); this.cBoxPaRamp = new ComboBox(); this.pnlPaSelect = new Panel(); this.rBtnRfPa = new RadioButton(); this.rBtnRfo = new RadioButton(); this.suffixPAramp = new Label(); this.label3 = new Label(); this.groupBoxEx1 = new GroupBoxEx(); this.nudPllBandwidth = new NumericUpDownEx(); this.label4 = new Label(); this.label2 = new Label(); ((ISupportInitialize)this.errorProvider).BeginInit(); this.nudOcpTrim.BeginInit(); this.gBoxOverloadCurrentProtection.SuspendLayout(); this.panel4.SuspendLayout(); this.gBoxOutputPower.SuspendLayout(); this.pnlPa20dBm.SuspendLayout(); this.nudMaxOutputPower.BeginInit(); this.nudOutputPower.BeginInit(); this.gBoxPowerAmplifier.SuspendLayout(); this.pnlPaSelect.SuspendLayout(); this.groupBoxEx1.SuspendLayout(); this.nudPllBandwidth.BeginInit(); this.SuspendLayout(); this.errorProvider.ContainerControl = (ContainerControl)this; this.errorProvider.SetIconPadding((Control)this.nudOcpTrim, 30); this.nudOcpTrim.Location = new Point(192, 45); NumericUpDownEx numericUpDownEx1 = this.nudOcpTrim; int[] bits1 = new int[4]; bits1[0] = 240; Decimal num1 = new Decimal(bits1); numericUpDownEx1.Maximum = num1; NumericUpDownEx numericUpDownEx2 = this.nudOcpTrim; int[] bits2 = new int[4]; bits2[0] = 45; Decimal num2 = new Decimal(bits2); numericUpDownEx2.Minimum = num2; this.nudOcpTrim.Name = "nudOcpTrim"; this.nudOcpTrim.Size = new Size(124, 20); this.nudOcpTrim.TabIndex = 2; this.nudOcpTrim.ThousandsSeparator = true; NumericUpDownEx numericUpDownEx3 = this.nudOcpTrim; int[] bits3 = new int[4]; bits3[0] = 100; Decimal num3 = new Decimal(bits3); numericUpDownEx3.Value = num3; this.nudOcpTrim.ValueChanged += new EventHandler(this.nudOcpTrim_ValueChanged); this.gBoxOverloadCurrentProtection.Controls.Add((Control)this.panel4); this.gBoxOverloadCurrentProtection.Controls.Add((Control)this.label5); this.gBoxOverloadCurrentProtection.Controls.Add((Control)this.nudOcpTrim); this.gBoxOverloadCurrentProtection.Controls.Add((Control)this.suffixOCPtrim); this.gBoxOverloadCurrentProtection.Location = new Point(217, 301); this.gBoxOverloadCurrentProtection.Name = "gBoxOverloadCurrentProtection"; this.gBoxOverloadCurrentProtection.Size = new Size(364, 69); this.gBoxOverloadCurrentProtection.TabIndex = 2; this.gBoxOverloadCurrentProtection.TabStop = false; this.gBoxOverloadCurrentProtection.Text = "Overload current protection"; this.gBoxOverloadCurrentProtection.MouseEnter += new EventHandler(this.control_MouseEnter); this.gBoxOverloadCurrentProtection.MouseLeave += new EventHandler(this.control_MouseLeave); this.panel4.AutoSize = true; this.panel4.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.panel4.Controls.Add((Control)this.rBtnOcpOff); this.panel4.Controls.Add((Control)this.rBtnOcpOn); this.panel4.Location = new Point(192, 19); this.panel4.Name = "panel4"; this.panel4.Size = new Size(102, 20); this.panel4.TabIndex = 0; this.rBtnOcpOff.AutoSize = true; this.rBtnOcpOff.Location = new Point(54, 3); this.rBtnOcpOff.Margin = new Padding(3, 0, 3, 0); this.rBtnOcpOff.Name = "rBtnOcpOff"; this.rBtnOcpOff.Size = new Size(45, 17); this.rBtnOcpOff.TabIndex = 1; this.rBtnOcpOff.Text = "OFF"; this.rBtnOcpOff.UseVisualStyleBackColor = true; this.rBtnOcpOff.CheckedChanged += new EventHandler(this.rBtnOcpOn_CheckedChanged); this.rBtnOcpOn.AutoSize = true; this.rBtnOcpOn.Checked = true; this.rBtnOcpOn.Location = new Point(3, 3); this.rBtnOcpOn.Margin = new Padding(3, 0, 3, 0); this.rBtnOcpOn.Name = "rBtnOcpOn"; this.rBtnOcpOn.Size = new Size(41, 17); this.rBtnOcpOn.TabIndex = 0; this.rBtnOcpOn.TabStop = true; this.rBtnOcpOn.Text = "ON"; this.rBtnOcpOn.UseVisualStyleBackColor = true; this.rBtnOcpOn.CheckedChanged += new EventHandler(this.rBtnOcpOn_CheckedChanged); this.label5.AutoSize = true; this.label5.Location = new Point(6, 49); this.label5.Name = "label5"; this.label5.Size = new Size(52, 13); this.label5.TabIndex = 1; this.label5.Text = "Trimming:"; this.suffixOCPtrim.AutoSize = true; this.suffixOCPtrim.Location = new Point(322, 49); this.suffixOCPtrim.Name = "suffixOCPtrim"; this.suffixOCPtrim.Size = new Size(22, 13); this.suffixOCPtrim.TabIndex = 3; this.suffixOCPtrim.Text = "mA"; this.gBoxOutputPower.Controls.Add((Control)this.pnlPa20dBm); this.gBoxOutputPower.Controls.Add((Control)this.lblPa20dBm); this.gBoxOutputPower.Controls.Add((Control)this.nudMaxOutputPower); this.gBoxOutputPower.Controls.Add((Control)this.label7); this.gBoxOutputPower.Controls.Add((Control)this.nudOutputPower); this.gBoxOutputPower.Controls.Add((Control)this.label6); this.gBoxOutputPower.Controls.Add((Control)this.label1); this.gBoxOutputPower.Controls.Add((Control)this.suffixOutputPower); this.gBoxOutputPower.Location = new Point(217, 194); this.gBoxOutputPower.Name = "gBoxOutputPower"; this.gBoxOutputPower.Size = new Size(364, 101); this.gBoxOutputPower.TabIndex = 1; this.gBoxOutputPower.TabStop = false; this.gBoxOutputPower.Text = "Output power"; this.gBoxOutputPower.MouseEnter += new EventHandler(this.control_MouseEnter); this.gBoxOutputPower.MouseLeave += new EventHandler(this.control_MouseLeave); this.pnlPa20dBm.AutoSize = true; this.pnlPa20dBm.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.pnlPa20dBm.Controls.Add((Control)this.rBtnPa20dBmOff); this.pnlPa20dBm.Controls.Add((Control)this.rBtnPa20dBmOn); this.pnlPa20dBm.Location = new Point(192, 71); this.pnlPa20dBm.Name = "pnlPa20dBm"; this.pnlPa20dBm.Size = new Size(102, 20); this.pnlPa20dBm.TabIndex = 4; this.rBtnPa20dBmOff.AutoSize = true; this.rBtnPa20dBmOff.Checked = true; this.rBtnPa20dBmOff.Location = new Point(54, 3); this.rBtnPa20dBmOff.Margin = new Padding(3, 0, 3, 0); this.rBtnPa20dBmOff.Name = "rBtnPa20dBmOff"; this.rBtnPa20dBmOff.Size = new Size(45, 17); this.rBtnPa20dBmOff.TabIndex = 1; this.rBtnPa20dBmOff.TabStop = true; this.rBtnPa20dBmOff.Text = "OFF"; this.rBtnPa20dBmOff.UseVisualStyleBackColor = true; this.rBtnPa20dBmOff.CheckedChanged += new EventHandler(this.rBtnPa20dBm_CheckedChanged); this.rBtnPa20dBmOn.AutoSize = true; this.rBtnPa20dBmOn.Location = new Point(3, 3); this.rBtnPa20dBmOn.Margin = new Padding(3, 0, 3, 0); this.rBtnPa20dBmOn.Name = "rBtnPa20dBmOn"; this.rBtnPa20dBmOn.Size = new Size(41, 17); this.rBtnPa20dBmOn.TabIndex = 0; this.rBtnPa20dBmOn.Text = "ON"; this.rBtnPa20dBmOn.UseVisualStyleBackColor = true; this.rBtnPa20dBmOn.CheckedChanged += new EventHandler(this.rBtnPa20dBm_CheckedChanged); this.lblPa20dBm.AutoSize = true; this.lblPa20dBm.Location = new Point(6, 75); this.lblPa20dBm.Name = "lblPa20dBm"; this.lblPa20dBm.Size = new Size(144, 13); this.lblPa20dBm.TabIndex = 5; this.lblPa20dBm.Text = "+20 dBm on pin PA_BOOST:"; this.nudMaxOutputPower.DecimalPlaces = 1; this.nudMaxOutputPower.Increment = new Decimal(new int[4] { 6, 0, 0, 65536 }); this.nudMaxOutputPower.Location = new Point(192, 19); NumericUpDownEx numericUpDownEx4 = this.nudMaxOutputPower; int[] bits4 = new int[4]; bits4[0] = 15; Decimal num4 = new Decimal(bits4); numericUpDownEx4.Maximum = num4; this.nudMaxOutputPower.Minimum = new Decimal(new int[4] { 108, 0, 0, 65536 }); this.nudMaxOutputPower.Name = "nudMaxOutputPower"; this.nudMaxOutputPower.Size = new Size(124, 20); this.nudMaxOutputPower.TabIndex = 0; this.nudMaxOutputPower.ThousandsSeparator = true; this.nudMaxOutputPower.Value = new Decimal(new int[4] { 132, 0, 0, 65536 }); this.nudMaxOutputPower.ValueChanged += new EventHandler(this.nudMaxOutputPower_ValueChanged); this.label7.AutoSize = true; this.label7.Location = new Point(6, 23); this.label7.Name = "label7"; this.label7.Size = new Size(119, 13); this.label7.TabIndex = 1; this.label7.Text = "Maximum output power:"; this.nudOutputPower.DecimalPlaces = 1; this.nudOutputPower.Location = new Point(192, 45); this.nudOutputPower.Maximum = new Decimal(new int[4] { 132, 0, 0, 65536 }); this.nudOutputPower.Minimum = new Decimal(new int[4] { 18, 0, 0, -2147418112 }); this.nudOutputPower.Name = "nudOutputPower"; this.nudOutputPower.Size = new Size(124, 20); this.nudOutputPower.TabIndex = 0; this.nudOutputPower.ThousandsSeparator = true; this.nudOutputPower.Value = new Decimal(new int[4] { 132, 0, 0, 65536 }); this.nudOutputPower.ValueChanged += new EventHandler(this.nudOutputPower_ValueChanged); this.label6.AutoSize = true; this.label6.Location = new Point(322, 23); this.label6.Name = "label6"; this.label6.Size = new Size(28, 13); this.label6.TabIndex = 1; this.label6.Text = "dBm"; this.label1.AutoSize = true; this.label1.Location = new Point(6, 49); this.label1.Name = "label1"; this.label1.Size = new Size(74, 13); this.label1.TabIndex = 1; this.label1.Text = "Output power:"; this.suffixOutputPower.AutoSize = true; this.suffixOutputPower.Location = new Point(322, 49); this.suffixOutputPower.Name = "suffixOutputPower"; this.suffixOutputPower.Size = new Size(28, 13); this.suffixOutputPower.TabIndex = 1; this.suffixOutputPower.Text = "dBm"; this.gBoxPowerAmplifier.Controls.Add((Control)this.cBoxPaRamp); this.gBoxPowerAmplifier.Controls.Add((Control)this.pnlPaSelect); this.gBoxPowerAmplifier.Controls.Add((Control)this.suffixPAramp); this.gBoxPowerAmplifier.Controls.Add((Control)this.label3); this.gBoxPowerAmplifier.Location = new Point(217, 69); this.gBoxPowerAmplifier.Name = "gBoxPowerAmplifier"; this.gBoxPowerAmplifier.Size = new Size(364, 119); this.gBoxPowerAmplifier.TabIndex = 0; this.gBoxPowerAmplifier.TabStop = false; this.gBoxPowerAmplifier.Text = "Power Amplifier"; this.gBoxPowerAmplifier.MouseEnter += new EventHandler(this.control_MouseEnter); this.gBoxPowerAmplifier.MouseLeave += new EventHandler(this.control_MouseLeave); this.cBoxPaRamp.DropDownStyle = ComboBoxStyle.DropDownList; this.cBoxPaRamp.Items.AddRange(new object[16] { (object)"3400", (object)"2000", (object)"1000", (object)"500", (object)"250", (object)"125", (object)"100", (object)"62", (object)"50", (object)"40", (object)"31", (object)"25", (object)"20", (object)"15", (object)"12", (object)"10" }); this.cBoxPaRamp.Location = new Point(192, 94); this.cBoxPaRamp.Name = "cBoxPaRamp"; this.cBoxPaRamp.Size = new Size(124, 21); this.cBoxPaRamp.TabIndex = 2; this.cBoxPaRamp.SelectedIndexChanged += new EventHandler(this.cBoxPaRamp_SelectedIndexChanged); this.pnlPaSelect.AutoSize = true; this.pnlPaSelect.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.pnlPaSelect.Controls.Add((Control)this.rBtnRfPa); this.pnlPaSelect.Controls.Add((Control)this.rBtnRfo); this.pnlPaSelect.Location = new Point(65, 19); this.pnlPaSelect.Name = "pnlPaSelect"; this.pnlPaSelect.Size = new Size(203, 46); this.pnlPaSelect.TabIndex = 0; this.rBtnRfPa.AutoSize = true; this.rBtnRfPa.Location = new Point(3, 26); this.rBtnRfPa.Name = "rBtnRfPa"; this.rBtnRfPa.Size = new Size(197, 17); this.rBtnRfPa.TabIndex = 1; this.rBtnRfPa.Text = "PA1 -> Transmits on pin PA_BOOST"; this.rBtnRfPa.UseVisualStyleBackColor = true; this.rBtnRfPa.CheckedChanged += new EventHandler(this.rBtnPaControl_CheckedChanged); this.rBtnRfo.AutoSize = true; this.rBtnRfo.Checked = true; this.rBtnRfo.Location = new Point(3, 3); this.rBtnRfo.Name = "rBtnRfo"; this.rBtnRfo.Size = new Size(162, 17); this.rBtnRfo.TabIndex = 0; this.rBtnRfo.TabStop = true; this.rBtnRfo.Text = "PA0 -> Transmits on pin RFO"; this.rBtnRfo.UseVisualStyleBackColor = true; this.rBtnRfo.CheckedChanged += new EventHandler(this.rBtnPaControl_CheckedChanged); this.suffixPAramp.AutoSize = true; this.suffixPAramp.Location = new Point(322, 98); this.suffixPAramp.Name = "suffixPAramp"; this.suffixPAramp.Size = new Size(18, 13); this.suffixPAramp.TabIndex = 3; this.suffixPAramp.Text = "µs"; this.label3.AutoSize = true; this.label3.Location = new Point(6, 98); this.label3.Name = "label3"; this.label3.Size = new Size(50, 13); this.label3.TabIndex = 1; this.label3.Text = "PA ramp:"; this.groupBoxEx1.Controls.Add((Control)this.nudPllBandwidth); this.groupBoxEx1.Controls.Add((Control)this.label4); this.groupBoxEx1.Controls.Add((Control)this.label2); this.groupBoxEx1.Location = new Point(217, 376); this.groupBoxEx1.Name = "groupBoxEx1"; this.groupBoxEx1.Size = new Size(364, 48); this.groupBoxEx1.TabIndex = 3; this.groupBoxEx1.TabStop = false; this.groupBoxEx1.Text = "PLL bandwidth"; NumericUpDownEx numericUpDownEx5 = this.nudPllBandwidth; int[] bits5 = new int[4]; bits5[0] = 75000; Decimal num5 = new Decimal(bits5); numericUpDownEx5.Increment = num5; this.nudPllBandwidth.Location = new Point(192, 19); NumericUpDownEx numericUpDownEx6 = this.nudPllBandwidth; int[] bits6 = new int[4]; bits6[0] = 300000; Decimal num6 = new Decimal(bits6); numericUpDownEx6.Maximum = num6; NumericUpDownEx numericUpDownEx7 = this.nudPllBandwidth; int[] bits7 = new int[4]; bits7[0] = 75000; Decimal num7 = new Decimal(bits7); numericUpDownEx7.Minimum = num7; this.nudPllBandwidth.Name = "nudPllBandwidth"; this.nudPllBandwidth.Size = new Size(124, 20); this.nudPllBandwidth.TabIndex = 2; this.nudPllBandwidth.ThousandsSeparator = true; NumericUpDownEx numericUpDownEx8 = this.nudPllBandwidth; int[] bits8 = new int[4]; bits8[0] = 300000; Decimal num8 = new Decimal(bits8); numericUpDownEx8.Value = num8; this.nudPllBandwidth.ValueChanged += new EventHandler(this.nudPllBandwidth_ValueChanged); this.label4.AutoSize = true; this.label4.Location = new Point(6, 23); this.label4.Name = "label4"; this.label4.Size = new Size(29, 13); this.label4.TabIndex = 1; this.label4.Text = "PLL:"; this.label2.AutoSize = true; this.label2.Location = new Point(322, 23); this.label2.Name = "label2"; this.label2.Size = new Size(20, 13); this.label2.TabIndex = 3; this.label2.Text = "Hz"; this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; this.Controls.Add((Control)this.groupBoxEx1); this.Controls.Add((Control)this.gBoxOverloadCurrentProtection); this.Controls.Add((Control)this.gBoxOutputPower); this.Controls.Add((Control)this.gBoxPowerAmplifier); this.Name = "TransmitterViewControl"; this.Size = new Size(799, 493); ((ISupportInitialize)this.errorProvider).EndInit(); this.nudOcpTrim.EndInit(); this.gBoxOverloadCurrentProtection.ResumeLayout(false); this.gBoxOverloadCurrentProtection.PerformLayout(); this.panel4.ResumeLayout(false); this.panel4.PerformLayout(); this.gBoxOutputPower.ResumeLayout(false); this.gBoxOutputPower.PerformLayout(); this.pnlPa20dBm.ResumeLayout(false); this.pnlPa20dBm.PerformLayout(); this.nudMaxOutputPower.EndInit(); this.nudOutputPower.EndInit(); this.gBoxPowerAmplifier.ResumeLayout(false); this.gBoxPowerAmplifier.PerformLayout(); this.pnlPaSelect.ResumeLayout(false); this.pnlPaSelect.PerformLayout(); this.groupBoxEx1.ResumeLayout(false); this.groupBoxEx1.PerformLayout(); this.nudPllBandwidth.EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { components = new Container(); errorProvider = new ErrorProvider(components); gBoxOverloadCurrentProtection = new GroupBoxEx(); panel4 = new Panel(); rBtnOcpOff = new RadioButton(); rBtnOcpOn = new RadioButton(); label5 = new Label(); nudOcpTrim = new NumericUpDownEx(); suffixOCPtrim = new Label(); gBoxOutputPower = new GroupBoxEx(); nudOutputPower = new NumericUpDownEx(); suffixOutputPower = new Label(); gBoxPowerAmplifier = new GroupBoxEx(); cBoxPaRamp = new ComboBox(); panel1 = new Panel(); rBtnPaControlPa1Pa2 = new RadioButton(); rBtnPaControlPa1 = new RadioButton(); rBtnPaControlPa0 = new RadioButton(); suffixPAramp = new Label(); label3 = new Label(); ((ISupportInitialize)errorProvider).BeginInit(); gBoxOverloadCurrentProtection.SuspendLayout(); panel4.SuspendLayout(); nudOcpTrim.BeginInit(); gBoxOutputPower.SuspendLayout(); nudOutputPower.BeginInit(); gBoxPowerAmplifier.SuspendLayout(); panel1.SuspendLayout(); base.SuspendLayout(); errorProvider.ContainerControl = this; gBoxOverloadCurrentProtection.Controls.Add(panel4); gBoxOverloadCurrentProtection.Controls.Add(label5); gBoxOverloadCurrentProtection.Controls.Add(nudOcpTrim); gBoxOverloadCurrentProtection.Controls.Add(suffixOCPtrim); gBoxOverloadCurrentProtection.Location = new Point(0xd9, 0x12b); gBoxOverloadCurrentProtection.Name = "gBoxOverloadCurrentProtection"; gBoxOverloadCurrentProtection.Size = new Size(0x16c, 0x45); gBoxOverloadCurrentProtection.TabIndex = 2; gBoxOverloadCurrentProtection.TabStop = false; gBoxOverloadCurrentProtection.Text = "Overload current protection"; gBoxOverloadCurrentProtection.MouseEnter += new EventHandler(control_MouseEnter); gBoxOverloadCurrentProtection.MouseLeave += new EventHandler(control_MouseLeave); panel4.AutoSize = true; panel4.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; panel4.Controls.Add(rBtnOcpOff); panel4.Controls.Add(rBtnOcpOn); panel4.Location = new Point(0xc0, 0x13); panel4.Name = "panel4"; panel4.Size = new Size(0x66, 20); panel4.TabIndex = 0; rBtnOcpOff.AutoSize = true; rBtnOcpOff.Location = new Point(0x36, 3); rBtnOcpOff.Margin = new Padding(3, 0, 3, 0); rBtnOcpOff.Name = "rBtnOcpOff"; rBtnOcpOff.Size = new Size(0x2d, 0x11); rBtnOcpOff.TabIndex = 1; rBtnOcpOff.Text = "OFF"; rBtnOcpOff.UseVisualStyleBackColor = true; rBtnOcpOff.CheckedChanged += new EventHandler(rBtnOcpOn_CheckedChanged); rBtnOcpOn.AutoSize = true; rBtnOcpOn.Checked = true; rBtnOcpOn.Location = new Point(3, 3); rBtnOcpOn.Margin = new Padding(3, 0, 3, 0); rBtnOcpOn.Name = "rBtnOcpOn"; rBtnOcpOn.Size = new Size(0x29, 0x11); rBtnOcpOn.TabIndex = 0; rBtnOcpOn.TabStop = true; rBtnOcpOn.Text = "ON"; rBtnOcpOn.UseVisualStyleBackColor = true; rBtnOcpOn.CheckedChanged += new EventHandler(rBtnOcpOn_CheckedChanged); label5.AutoSize = true; label5.Location = new Point(6, 0x31); label5.Name = "label5"; label5.Size = new Size(0x34, 13); label5.TabIndex = 1; label5.Text = "Trimming:"; nudOcpTrim.Location = new Point(0xc0, 0x2d); int[] bits = new int[4]; bits[0] = 120; nudOcpTrim.Maximum = new decimal(bits); int[] numArray2 = new int[4]; numArray2[0] = 0x2d; nudOcpTrim.Minimum = new decimal(numArray2); nudOcpTrim.Name = "nudOcpTrim"; nudOcpTrim.Size = new Size(0x7c, 20); nudOcpTrim.TabIndex = 2; nudOcpTrim.ThousandsSeparator = true; int[] numArray3 = new int[4]; numArray3[0] = 100; nudOcpTrim.Value = new decimal(numArray3); nudOcpTrim.ValueChanged += new EventHandler(nudOcpTrim_ValueChanged); suffixOCPtrim.AutoSize = true; suffixOCPtrim.Location = new Point(0x142, 0x31); suffixOCPtrim.Name = "suffixOCPtrim"; suffixOCPtrim.Size = new Size(0x16, 13); suffixOCPtrim.TabIndex = 3; suffixOCPtrim.Text = "mA"; gBoxOutputPower.Controls.Add(nudOutputPower); gBoxOutputPower.Controls.Add(suffixOutputPower); gBoxOutputPower.Location = new Point(0xd9, 0xf9); gBoxOutputPower.Name = "gBoxOutputPower"; gBoxOutputPower.Size = new Size(0x16c, 0x2c); gBoxOutputPower.TabIndex = 1; gBoxOutputPower.TabStop = false; gBoxOutputPower.Text = "Output power"; gBoxOutputPower.MouseEnter += new EventHandler(control_MouseEnter); gBoxOutputPower.MouseLeave += new EventHandler(control_MouseLeave); nudOutputPower.Location = new Point(0xc0, 0x13); int[] numArray4 = new int[4]; numArray4[0] = 13; nudOutputPower.Maximum = new decimal(numArray4); int[] numArray5 = new int[4]; numArray5[0] = 0x12; numArray5[3] = -2147483648; nudOutputPower.Minimum = new decimal(numArray5); nudOutputPower.Name = "nudOutputPower"; nudOutputPower.Size = new Size(0x7c, 20); nudOutputPower.TabIndex = 0; nudOutputPower.ThousandsSeparator = true; int[] numArray6 = new int[4]; numArray6[0] = 13; nudOutputPower.Value = new decimal(numArray6); nudOutputPower.ValueChanged += new EventHandler(nudOutputPower_ValueChanged); suffixOutputPower.AutoSize = true; suffixOutputPower.Location = new Point(0x142, 0x17); suffixOutputPower.Name = "suffixOutputPower"; suffixOutputPower.Size = new Size(0x1c, 13); suffixOutputPower.TabIndex = 1; suffixOutputPower.Text = "dBm"; gBoxPowerAmplifier.Controls.Add(cBoxPaRamp); gBoxPowerAmplifier.Controls.Add(panel1); gBoxPowerAmplifier.Controls.Add(suffixPAramp); gBoxPowerAmplifier.Controls.Add(label3); gBoxPowerAmplifier.Location = new Point(0xd9, 0x7c); gBoxPowerAmplifier.Name = "gBoxPowerAmplifier"; gBoxPowerAmplifier.Size = new Size(0x16c, 0x77); gBoxPowerAmplifier.TabIndex = 0; gBoxPowerAmplifier.TabStop = false; gBoxPowerAmplifier.Text = "Power Amplifier"; gBoxPowerAmplifier.MouseEnter += new EventHandler(control_MouseEnter); gBoxPowerAmplifier.MouseLeave += new EventHandler(control_MouseLeave); cBoxPaRamp.Items.AddRange(new object[] { "3400", "2000", "1000", "500", "250", "125", "100", "62", "50", "40", "31", "25", "20", "15", "12", "10" }); cBoxPaRamp.Location = new Point(0xc0, 0x5e); cBoxPaRamp.Name = "cBoxPaRamp"; cBoxPaRamp.Size = new Size(0x7c, 0x15); cBoxPaRamp.TabIndex = 2; cBoxPaRamp.SelectedIndexChanged += new EventHandler(cBoxPaRamp_SelectedIndexChanged); panel1.AutoSize = true; panel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; panel1.Controls.Add(rBtnPaControlPa1Pa2); panel1.Controls.Add(rBtnPaControlPa1); panel1.Controls.Add(rBtnPaControlPa0); panel1.Location = new Point(0x41, 0x13); panel1.Name = "panel1"; panel1.Size = new Size(0xeb, 0x45); panel1.TabIndex = 0; rBtnPaControlPa1Pa2.AutoSize = true; rBtnPaControlPa1Pa2.Location = new Point(3, 0x31); rBtnPaControlPa1Pa2.Name = "rBtnPaControlPa1Pa2"; rBtnPaControlPa1Pa2.Size = new Size(0xe5, 0x11); rBtnPaControlPa1Pa2.TabIndex = 2; rBtnPaControlPa1Pa2.Text = "PA1 + PA2 -> Transmits on pin PA_BOOST"; rBtnPaControlPa1Pa2.UseVisualStyleBackColor = true; rBtnPaControlPa1Pa2.CheckedChanged += new EventHandler(rBtnPaControl_CheckedChanged); rBtnPaControlPa1.AutoSize = true; rBtnPaControlPa1.Location = new Point(3, 0x1a); rBtnPaControlPa1.Name = "rBtnPaControlPa1"; rBtnPaControlPa1.Size = new Size(0xc5, 0x11); rBtnPaControlPa1.TabIndex = 1; rBtnPaControlPa1.Text = "PA1 -> Transmits on pin PA_BOOST"; rBtnPaControlPa1.UseVisualStyleBackColor = true; rBtnPaControlPa1.CheckedChanged += new EventHandler(rBtnPaControl_CheckedChanged); rBtnPaControlPa0.AutoSize = true; rBtnPaControlPa0.Checked = true; rBtnPaControlPa0.Location = new Point(3, 3); rBtnPaControlPa0.Name = "rBtnPaControlPa0"; rBtnPaControlPa0.Size = new Size(0xa5, 0x11); rBtnPaControlPa0.TabIndex = 0; rBtnPaControlPa0.TabStop = true; rBtnPaControlPa0.Text = "PA0 -> Transmits on pin RFIO"; rBtnPaControlPa0.UseVisualStyleBackColor = true; rBtnPaControlPa0.CheckedChanged += new EventHandler(rBtnPaControl_CheckedChanged); suffixPAramp.AutoSize = true; suffixPAramp.Location = new Point(0x142, 0x62); suffixPAramp.Name = "suffixPAramp"; suffixPAramp.Size = new Size(0x12, 13); suffixPAramp.TabIndex = 3; suffixPAramp.Text = "\x00b5s"; label3.AutoSize = true; label3.Location = new Point(6, 0x62); label3.Name = "label3"; label3.Size = new Size(50, 13); label3.TabIndex = 1; label3.Text = "PA ramp:"; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; base.Controls.Add(gBoxOverloadCurrentProtection); base.Controls.Add(gBoxOutputPower); base.Controls.Add(gBoxPowerAmplifier); base.Name = "TransmitterViewControl"; base.Size = new Size(0x31f, 0x1ed); ((ISupportInitialize)errorProvider).EndInit(); gBoxOverloadCurrentProtection.ResumeLayout(false); gBoxOverloadCurrentProtection.PerformLayout(); panel4.ResumeLayout(false); panel4.PerformLayout(); nudOcpTrim.EndInit(); gBoxOutputPower.ResumeLayout(false); gBoxOutputPower.PerformLayout(); nudOutputPower.EndInit(); gBoxPowerAmplifier.ResumeLayout(false); gBoxPowerAmplifier.PerformLayout(); panel1.ResumeLayout(false); panel1.PerformLayout(); base.ResumeLayout(false); }
private void InitializeComponent() { this.components = (IContainer) new Container(); this.errorProvider = new ErrorProvider(this.components); this.gBoxClockOut = new GroupBoxEx(); this.cBoxClockOut = new ComboBox(); this.label15 = new Label(); this.label16 = new Label(); this.gBoxDioMapping = new GroupBoxEx(); this.cBoxDio5Mapping = new ComboBox(); this.cBoxDio4Mapping = new ComboBox(); this.label2 = new Label(); this.label7 = new Label(); this.cBoxDio3Mapping = new ComboBox(); this.cBoxDio0Mapping = new ComboBox(); this.label3 = new Label(); this.cBoxDio1Mapping = new ComboBox(); this.label4 = new Label(); this.cBoxDio2Mapping = new ComboBox(); this.label5 = new Label(); this.label6 = new Label(); this.gBoxDioSettings = new GroupBoxEx(); this.pnlPreambleIrq = new Panel(); this.rBtnPreambleIrqOff = new RadioButton(); this.rBtnPreambleIrqOn = new RadioButton(); this.label9 = new Label(); this.gBoxDeviceStatus = new GroupBoxEx(); this.lblBitSynchroniser = new Label(); this.lblOperatingMode = new Label(); this.label13 = new Label(); this.label1 = new Label(); this.label8 = new Label(); this.lblDataMode = new Label(); ((ISupportInitialize)this.errorProvider).BeginInit(); this.gBoxClockOut.SuspendLayout(); this.gBoxDioMapping.SuspendLayout(); this.gBoxDioSettings.SuspendLayout(); this.pnlPreambleIrq.SuspendLayout(); this.gBoxDeviceStatus.SuspendLayout(); this.SuspendLayout(); this.errorProvider.ContainerControl = (ContainerControl)this; this.gBoxClockOut.Controls.Add((Control)this.cBoxClockOut); this.gBoxClockOut.Controls.Add((Control)this.label15); this.gBoxClockOut.Controls.Add((Control)this.label16); this.gBoxClockOut.Location = new Point(253, 386); this.gBoxClockOut.Name = "gBoxClockOut"; this.gBoxClockOut.Size = new Size(293, 45); this.gBoxClockOut.TabIndex = 2; this.gBoxClockOut.TabStop = false; this.gBoxClockOut.Text = "Clock out"; this.gBoxClockOut.MouseEnter += new EventHandler(this.control_MouseEnter); this.gBoxClockOut.MouseLeave += new EventHandler(this.control_MouseLeave); this.cBoxClockOut.DropDownStyle = ComboBoxStyle.DropDownList; this.cBoxClockOut.FormattingEnabled = true; this.cBoxClockOut.Location = new Point(162, 19); this.cBoxClockOut.Name = "cBoxClockOut"; this.cBoxClockOut.Size = new Size(100, 21); this.cBoxClockOut.TabIndex = 1; this.cBoxClockOut.SelectedIndexChanged += new EventHandler(this.cBoxClockOut_SelectedIndexChanged); this.label15.AutoSize = true; this.label15.Location = new Point(5, 23); this.label15.Name = "label15"; this.label15.Size = new Size(60, 13); this.label15.TabIndex = 0; this.label15.Text = "Frequency:"; this.label15.TextAlign = ContentAlignment.MiddleLeft; this.label16.AutoSize = true; this.label16.Location = new Point(268, 23); this.label16.Name = "label16"; this.label16.Size = new Size(20, 13); this.label16.TabIndex = 2; this.label16.Text = "Hz"; this.label16.TextAlign = ContentAlignment.MiddleLeft; this.gBoxDioMapping.Controls.Add((Control)this.cBoxDio5Mapping); this.gBoxDioMapping.Controls.Add((Control)this.cBoxDio4Mapping); this.gBoxDioMapping.Controls.Add((Control)this.label2); this.gBoxDioMapping.Controls.Add((Control)this.label7); this.gBoxDioMapping.Controls.Add((Control)this.cBoxDio3Mapping); this.gBoxDioMapping.Controls.Add((Control)this.cBoxDio0Mapping); this.gBoxDioMapping.Controls.Add((Control)this.label3); this.gBoxDioMapping.Controls.Add((Control)this.cBoxDio1Mapping); this.gBoxDioMapping.Controls.Add((Control)this.label4); this.gBoxDioMapping.Controls.Add((Control)this.cBoxDio2Mapping); this.gBoxDioMapping.Controls.Add((Control)this.label5); this.gBoxDioMapping.Controls.Add((Control)this.label6); this.gBoxDioMapping.Location = new Point(253, 201); this.gBoxDioMapping.Name = "gBoxDioMapping"; this.gBoxDioMapping.Size = new Size(293, 179); this.gBoxDioMapping.TabIndex = 1; this.gBoxDioMapping.TabStop = false; this.gBoxDioMapping.Text = "DIO mapping"; this.gBoxDioMapping.MouseEnter += new EventHandler(this.control_MouseEnter); this.gBoxDioMapping.MouseLeave += new EventHandler(this.control_MouseLeave); this.cBoxDio5Mapping.DropDownStyle = ComboBoxStyle.DropDownList; this.cBoxDio5Mapping.FormattingEnabled = true; this.cBoxDio5Mapping.Location = new Point(162, 19); this.cBoxDio5Mapping.Name = "cBoxDio5Mapping"; this.cBoxDio5Mapping.Size = new Size(100, 21); this.cBoxDio5Mapping.TabIndex = 1; this.cBoxDio5Mapping.SelectedIndexChanged += new EventHandler(this.cBoxDio5Mapping_SelectedIndexChanged); this.cBoxDio4Mapping.DropDownStyle = ComboBoxStyle.DropDownList; this.cBoxDio4Mapping.FormattingEnabled = true; this.cBoxDio4Mapping.Location = new Point(162, 46); this.cBoxDio4Mapping.Name = "cBoxDio4Mapping"; this.cBoxDio4Mapping.Size = new Size(100, 21); this.cBoxDio4Mapping.TabIndex = 3; this.cBoxDio4Mapping.SelectedIndexChanged += new EventHandler(this.cBoxDio4Mapping_SelectedIndexChanged); this.label2.AutoSize = true; this.label2.Location = new Point(6, 23); this.label2.Margin = new Padding(3); this.label2.Name = "label2"; this.label2.Size = new Size(35, 13); this.label2.TabIndex = 0; this.label2.Text = "DIO5:"; this.label2.TextAlign = ContentAlignment.MiddleLeft; this.label7.AutoSize = true; this.label7.Location = new Point(6, 158); this.label7.Margin = new Padding(3); this.label7.Name = "label7"; this.label7.Size = new Size(35, 13); this.label7.TabIndex = 10; this.label7.Text = "DIO0:"; this.label7.TextAlign = ContentAlignment.MiddleLeft; this.cBoxDio3Mapping.DropDownStyle = ComboBoxStyle.DropDownList; this.cBoxDio3Mapping.FormattingEnabled = true; this.cBoxDio3Mapping.Location = new Point(162, 73); this.cBoxDio3Mapping.Name = "cBoxDio3Mapping"; this.cBoxDio3Mapping.Size = new Size(100, 21); this.cBoxDio3Mapping.TabIndex = 5; this.cBoxDio3Mapping.SelectedIndexChanged += new EventHandler(this.cBoxDio3Mapping_SelectedIndexChanged); this.cBoxDio0Mapping.DropDownStyle = ComboBoxStyle.DropDownList; this.cBoxDio0Mapping.FormattingEnabled = true; this.cBoxDio0Mapping.Location = new Point(162, 154); this.cBoxDio0Mapping.Name = "cBoxDio0Mapping"; this.cBoxDio0Mapping.Size = new Size(100, 21); this.cBoxDio0Mapping.TabIndex = 11; this.cBoxDio0Mapping.SelectedIndexChanged += new EventHandler(this.cBoxDio0Mapping_SelectedIndexChanged); this.label3.AutoSize = true; this.label3.Location = new Point(6, 50); this.label3.Margin = new Padding(3); this.label3.Name = "label3"; this.label3.Size = new Size(35, 13); this.label3.TabIndex = 2; this.label3.Text = "DIO4:"; this.label3.TextAlign = ContentAlignment.MiddleLeft; this.cBoxDio1Mapping.DropDownStyle = ComboBoxStyle.DropDownList; this.cBoxDio1Mapping.FormattingEnabled = true; this.cBoxDio1Mapping.Location = new Point(162, (int)sbyte.MaxValue); this.cBoxDio1Mapping.Name = "cBoxDio1Mapping"; this.cBoxDio1Mapping.Size = new Size(100, 21); this.cBoxDio1Mapping.TabIndex = 9; this.cBoxDio1Mapping.SelectedIndexChanged += new EventHandler(this.cBoxDio1Mapping_SelectedIndexChanged); this.label4.AutoSize = true; this.label4.Location = new Point(6, 77); this.label4.Margin = new Padding(3); this.label4.Name = "label4"; this.label4.Size = new Size(35, 13); this.label4.TabIndex = 4; this.label4.Text = "DIO3:"; this.label4.TextAlign = ContentAlignment.MiddleLeft; this.cBoxDio2Mapping.DropDownStyle = ComboBoxStyle.DropDownList; this.cBoxDio2Mapping.FormattingEnabled = true; this.cBoxDio2Mapping.Location = new Point(162, 100); this.cBoxDio2Mapping.Name = "cBoxDio2Mapping"; this.cBoxDio2Mapping.Size = new Size(100, 21); this.cBoxDio2Mapping.TabIndex = 7; this.cBoxDio2Mapping.SelectedIndexChanged += new EventHandler(this.cBoxDio2Mapping_SelectedIndexChanged); this.label5.AutoSize = true; this.label5.Location = new Point(6, 104); this.label5.Margin = new Padding(3); this.label5.Name = "label5"; this.label5.Size = new Size(35, 13); this.label5.TabIndex = 6; this.label5.Text = "DIO2:"; this.label5.TextAlign = ContentAlignment.MiddleLeft; this.label6.AutoSize = true; this.label6.Location = new Point(6, 131); this.label6.Margin = new Padding(3); this.label6.Name = "label6"; this.label6.Size = new Size(35, 13); this.label6.TabIndex = 8; this.label6.Text = "DIO1:"; this.label6.TextAlign = ContentAlignment.MiddleLeft; this.gBoxDioSettings.Controls.Add((Control)this.pnlPreambleIrq); this.gBoxDioSettings.Controls.Add((Control)this.label9); this.gBoxDioSettings.Location = new Point(253, 145); this.gBoxDioSettings.Name = "gBoxDioSettings"; this.gBoxDioSettings.Size = new Size(293, 50); this.gBoxDioSettings.TabIndex = 0; this.gBoxDioSettings.TabStop = false; this.gBoxDioSettings.Text = "DIO settings"; this.gBoxDioSettings.MouseEnter += new EventHandler(this.control_MouseEnter); this.gBoxDioSettings.MouseLeave += new EventHandler(this.control_MouseLeave); this.pnlPreambleIrq.AutoSize = true; this.pnlPreambleIrq.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.pnlPreambleIrq.Controls.Add((Control)this.rBtnPreambleIrqOff); this.pnlPreambleIrq.Controls.Add((Control)this.rBtnPreambleIrqOn); this.pnlPreambleIrq.Location = new Point(162, 19); this.pnlPreambleIrq.Name = "pnlPreambleIrq"; this.pnlPreambleIrq.Size = new Size(102, 20); this.pnlPreambleIrq.TabIndex = 3; this.rBtnPreambleIrqOff.AutoSize = true; this.rBtnPreambleIrqOff.Location = new Point(54, 3); this.rBtnPreambleIrqOff.Margin = new Padding(3, 0, 3, 0); this.rBtnPreambleIrqOff.Name = "rBtnPreambleIrqOff"; this.rBtnPreambleIrqOff.Size = new Size(45, 17); this.rBtnPreambleIrqOff.TabIndex = 1; this.rBtnPreambleIrqOff.Text = "OFF"; this.rBtnPreambleIrqOff.UseVisualStyleBackColor = true; this.rBtnPreambleIrqOff.CheckedChanged += new EventHandler(this.rBtnPreambleIrq_CheckedChanged); this.rBtnPreambleIrqOn.AutoSize = true; this.rBtnPreambleIrqOn.Checked = true; this.rBtnPreambleIrqOn.Location = new Point(3, 3); this.rBtnPreambleIrqOn.Margin = new Padding(3, 0, 3, 0); this.rBtnPreambleIrqOn.Name = "rBtnPreambleIrqOn"; this.rBtnPreambleIrqOn.Size = new Size(41, 17); this.rBtnPreambleIrqOn.TabIndex = 0; this.rBtnPreambleIrqOn.TabStop = true; this.rBtnPreambleIrqOn.Text = "ON"; this.rBtnPreambleIrqOn.UseVisualStyleBackColor = true; this.rBtnPreambleIrqOn.CheckedChanged += new EventHandler(this.rBtnPreambleIrq_CheckedChanged); this.label9.AutoSize = true; this.label9.Location = new Point(6, 24); this.label9.Name = "label9"; this.label9.Size = new Size(76, 13); this.label9.TabIndex = 2; this.label9.Text = "Preamble IRQ:"; this.gBoxDeviceStatus.Controls.Add((Control)this.lblBitSynchroniser); this.gBoxDeviceStatus.Controls.Add((Control)this.lblOperatingMode); this.gBoxDeviceStatus.Controls.Add((Control)this.label13); this.gBoxDeviceStatus.Controls.Add((Control)this.label1); this.gBoxDeviceStatus.Controls.Add((Control)this.label8); this.gBoxDeviceStatus.Controls.Add((Control)this.lblDataMode); this.gBoxDeviceStatus.Location = new Point(253, 62); this.gBoxDeviceStatus.Name = "gBoxDeviceStatus"; this.gBoxDeviceStatus.Size = new Size(293, 77); this.gBoxDeviceStatus.TabIndex = 0; this.gBoxDeviceStatus.TabStop = false; this.gBoxDeviceStatus.Text = "Device status"; this.gBoxDeviceStatus.MouseEnter += new EventHandler(this.control_MouseEnter); this.gBoxDeviceStatus.MouseLeave += new EventHandler(this.control_MouseLeave); this.lblBitSynchroniser.AutoSize = true; this.lblBitSynchroniser.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Bold, GraphicsUnit.Point, (byte)0); this.lblBitSynchroniser.Location = new Point(159, 19); this.lblBitSynchroniser.Margin = new Padding(3); this.lblBitSynchroniser.Name = "lblBitSynchroniser"; this.lblBitSynchroniser.Size = new Size(25, 13); this.lblBitSynchroniser.TabIndex = 1; this.lblBitSynchroniser.Text = "ON"; this.lblBitSynchroniser.TextAlign = ContentAlignment.MiddleLeft; this.lblOperatingMode.AutoSize = true; this.lblOperatingMode.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Bold, GraphicsUnit.Point, (byte)0); this.lblOperatingMode.Location = new Point(159, 57); this.lblOperatingMode.Margin = new Padding(3); this.lblOperatingMode.Name = "lblOperatingMode"; this.lblOperatingMode.Size = new Size(39, 13); this.lblOperatingMode.TabIndex = 5; this.lblOperatingMode.Text = "Sleep"; this.lblOperatingMode.TextAlign = ContentAlignment.MiddleLeft; this.label13.AutoSize = true; this.label13.Location = new Point(6, 38); this.label13.Margin = new Padding(3); this.label13.Name = "label13"; this.label13.Size = new Size(62, 13); this.label13.TabIndex = 2; this.label13.Text = "Data mode:"; this.label13.TextAlign = ContentAlignment.MiddleLeft; this.label1.AutoSize = true; this.label1.Location = new Point(6, 57); this.label1.Margin = new Padding(3); this.label1.Name = "label1"; this.label1.Size = new Size(85, 13); this.label1.TabIndex = 4; this.label1.Text = "Operating mode:"; this.label1.TextAlign = ContentAlignment.MiddleLeft; this.label8.AutoSize = true; this.label8.Location = new Point(6, 19); this.label8.Margin = new Padding(3); this.label8.Name = "label8"; this.label8.Size = new Size(86, 13); this.label8.TabIndex = 0; this.label8.Text = "Bit Synchronizer:"; this.label8.TextAlign = ContentAlignment.MiddleLeft; this.lblDataMode.AutoSize = true; this.lblDataMode.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Bold, GraphicsUnit.Point, (byte)0); this.lblDataMode.Location = new Point(159, 38); this.lblDataMode.Margin = new Padding(3); this.lblDataMode.Name = "lblDataMode"; this.lblDataMode.Size = new Size(47, 13); this.lblDataMode.TabIndex = 3; this.lblDataMode.Text = "Packet"; this.lblDataMode.TextAlign = ContentAlignment.MiddleLeft; this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; this.Controls.Add((Control)this.gBoxClockOut); this.Controls.Add((Control)this.gBoxDioMapping); this.Controls.Add((Control)this.gBoxDioSettings); this.Controls.Add((Control)this.gBoxDeviceStatus); this.Name = "IrqMapViewControl"; this.Size = new Size(799, 493); ((ISupportInitialize)this.errorProvider).EndInit(); this.gBoxClockOut.ResumeLayout(false); this.gBoxClockOut.PerformLayout(); this.gBoxDioMapping.ResumeLayout(false); this.gBoxDioMapping.PerformLayout(); this.gBoxDioSettings.ResumeLayout(false); this.gBoxDioSettings.PerformLayout(); this.pnlPreambleIrq.ResumeLayout(false); this.pnlPreambleIrq.PerformLayout(); this.gBoxDeviceStatus.ResumeLayout(false); this.gBoxDeviceStatus.PerformLayout(); this.ResumeLayout(false); }