private void InitializeComponent() { ComponentResourceManager resources = new ComponentResourceManager(typeof(SpectrumAnalyserForm)); this.panel1 = new Panel(); this.cBoxLanGainSelect = new ComboBox(); this.nudFreqCenter = new NumericUpDownEx(); this.nudFreqSpan = new NumericUpDownEx(); this.nudChanBw = new NumericUpDownEx(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.panel2 = new Panel(); this.graph = new SpectrumGraphControl(); this.panel1.SuspendLayout(); this.nudFreqCenter.BeginInit(); this.nudFreqSpan.BeginInit(); this.nudChanBw.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.cBoxLanGainSelect); this.panel1.Controls.Add(this.nudFreqCenter); this.panel1.Controls.Add(this.nudFreqSpan); this.panel1.Controls.Add(this.nudChanBw); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.label6); this.panel1.Controls.Add(this.label7); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.label4); this.panel1.Controls.Add(this.label5); this.panel1.Location = new Point(0x22d, 0); this.panel1.Margin = new Padding(0); this.panel1.Name = "panel1"; this.panel1.Size = new Size(0xdf, 370); this.panel1.TabIndex = 0; this.cBoxLanGainSelect.FormattingEnabled = true; this.cBoxLanGainSelect.Items.AddRange(new object[] { "G1", "G2", "G3", "G4", "G5", "G6" }); this.cBoxLanGainSelect.Location = new Point(0x63, 0xb5); this.cBoxLanGainSelect.Name = "cBoxLanGainSelect"; this.cBoxLanGainSelect.Size = new Size(0x62, 0x15); this.cBoxLanGainSelect.TabIndex = 10; this.cBoxLanGainSelect.SelectedIndexChanged += new EventHandler(this.cBoxLanGainSelect_SelectedIndexChanged); this.nudFreqCenter.Anchor = AnchorStyles.None; int[] bits = new int[4]; bits[0] = 0x3d; this.nudFreqCenter.Increment = new decimal(bits); this.nudFreqCenter.Location = new Point(0x63, 0x67); int[] numArray2 = new int[4]; numArray2[0] = 0x3ccbf700; this.nudFreqCenter.Maximum = new decimal(numArray2); int[] numArray3 = new int[4]; numArray3[0] = 0x11490c80; this.nudFreqCenter.Minimum = new decimal(numArray3); this.nudFreqCenter.Name = "nudFreqCenter"; this.nudFreqCenter.Size = new Size(0x62, 20); this.nudFreqCenter.TabIndex = 1; this.nudFreqCenter.ThousandsSeparator = true; int[] numArray4 = new int[4]; numArray4[0] = 0x3689cac0; this.nudFreqCenter.Value = new decimal(numArray4); this.nudFreqCenter.ValueChanged += new EventHandler(this.nudFreqCenter_ValueChanged); this.nudFreqSpan.Anchor = AnchorStyles.None; int[] numArray5 = new int[4]; numArray5[0] = 0x3d; this.nudFreqSpan.Increment = new decimal(numArray5); this.nudFreqSpan.Location = new Point(0x63, 0x81); int[] numArray6 = new int[4]; numArray6[0] = 0x5f5e100; this.nudFreqSpan.Maximum = new decimal(numArray6); this.nudFreqSpan.Name = "nudFreqSpan"; this.nudFreqSpan.Size = new Size(0x62, 20); this.nudFreqSpan.TabIndex = 4; this.nudFreqSpan.ThousandsSeparator = true; int[] numArray7 = new int[4]; numArray7[0] = 0xf4240; this.nudFreqSpan.Value = new decimal(numArray7); this.nudFreqSpan.ValueChanged += new EventHandler(this.nudFreqSpan_ValueChanged); this.nudChanBw.Anchor = AnchorStyles.None; this.nudChanBw.Location = new Point(0x63, 0x9b); int[] numArray8 = new int[4]; numArray8[0] = 0x7a120; this.nudChanBw.Maximum = new decimal(numArray8); int[] numArray9 = new int[4]; numArray9[0] = 0xf42; this.nudChanBw.Minimum = new decimal(numArray9); this.nudChanBw.Name = "nudChanBw"; this.nudChanBw.Size = new Size(0x62, 20); this.nudChanBw.TabIndex = 7; this.nudChanBw.ThousandsSeparator = true; int[] numArray10 = new int[4]; numArray10[0] = 0x28b1; this.nudChanBw.Value = new decimal(numArray10); this.nudChanBw.ValueChanged += new EventHandler(this.nudChanBw_ValueChanged); this.label2.Anchor = AnchorStyles.None; this.label2.AutoSize = true; this.label2.BackColor = Color.Transparent; this.label2.ForeColor = Color.Gray; this.label2.Location = new Point(-2, 0x85); this.label2.Name = "label2"; this.label2.Size = new Size(0x23, 13); this.label2.TabIndex = 3; this.label2.Text = "Span:"; this.label1.Anchor = AnchorStyles.None; this.label1.AutoSize = true; this.label1.BackColor = Color.Transparent; this.label1.ForeColor = Color.Gray; this.label1.Location = new Point(-2, 0x6b); this.label1.Name = "label1"; this.label1.Size = new Size(0x5b, 13); this.label1.TabIndex = 0; this.label1.Text = "Center frequency:"; this.label6.Anchor = AnchorStyles.None; this.label6.AutoSize = true; this.label6.ForeColor = Color.Gray; this.label6.Location = new Point(0xcb, 0x9f); this.label6.Name = "label6"; this.label6.Size = new Size(20, 13); this.label6.TabIndex = 8; this.label6.Text = "Hz"; this.label7.Anchor = AnchorStyles.None; this.label7.AutoSize = true; this.label7.BackColor = Color.Transparent; this.label7.ForeColor = Color.Gray; this.label7.Location = new Point(-2, 0xb9); this.label7.Name = "label7"; this.label7.Size = new Size(0x36, 13); this.label7.TabIndex = 9; this.label7.Text = "LNA gain:"; this.label3.Anchor = AnchorStyles.None; this.label3.AutoSize = true; this.label3.BackColor = Color.Transparent; this.label3.ForeColor = Color.Gray; this.label3.Location = new Point(-2, 0x9f); this.label3.Name = "label3"; this.label3.Size = new Size(0x65, 13); this.label3.TabIndex = 6; this.label3.Text = "Channel bandwidth:"; this.label4.Anchor = AnchorStyles.None; this.label4.AutoSize = true; this.label4.ForeColor = Color.Gray; this.label4.Location = new Point(0xcb, 0x6b); this.label4.Name = "label4"; this.label4.Size = new Size(20, 13); this.label4.TabIndex = 2; this.label4.Text = "Hz"; this.label5.Anchor = AnchorStyles.None; this.label5.AutoSize = true; this.label5.ForeColor = Color.Gray; this.label5.Location = new Point(0xcb, 0x85); this.label5.Name = "label5"; this.label5.Size = new Size(20, 13); this.label5.TabIndex = 5; this.label5.Text = "Hz"; 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(0x22d, 370); this.panel2.TabIndex = 2; this.graph.Dock = DockStyle.Fill; this.graph.Location = new Point(0, 0); this.graph.Name = "graph"; this.graph.Size = new Size(0x22b, 0x170); this.graph.TabIndex = 0; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; base.ClientSize = new Size(780, 370); base.Controls.Add(this.panel2); base.Controls.Add(this.panel1); base.Icon = (Icon)resources.GetObject("$this.Icon"); base.Name = "SpectrumAnalyserForm"; this.Text = "Spectrum analyser"; base.Load += new EventHandler(this.SpectrumAnalyserForm_Load); base.FormClosed += new FormClosedEventHandler(this.SpectrumAnalyserForm_FormClosed); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.nudFreqCenter.EndInit(); this.nudFreqSpan.EndInit(); this.nudChanBw.EndInit(); this.panel2.ResumeLayout(false); base.ResumeLayout(false); }
private void InitializeComponent() { this.components = (IContainer) new Container(); ComponentResourceManager resources = new ComponentResourceManager(typeof(SpectrumAnalyserForm)); this.panel1 = new Panel(); this.cBoxLanGain = new ComboBox(); this.nudFreqCenter = new NumericUpDownEx(); this.nudFreqSpan = new NumericUpDownEx(); this.nudChanBw = new NumericUpDownEx(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.panel2 = new Panel(); this.graph = new SpectrumGraphControl(); this.panel1.SuspendLayout(); this.nudFreqCenter.BeginInit(); this.nudFreqSpan.BeginInit(); this.nudChanBw.BeginInit(); this.panel2.SuspendLayout(); this.SuspendLayout(); this.panel1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Right; this.panel1.BackColor = Color.Black; this.panel1.BorderStyle = BorderStyle.FixedSingle; this.panel1.Controls.Add((Control)this.cBoxLanGain); this.panel1.Controls.Add((Control)this.nudFreqCenter); this.panel1.Controls.Add((Control)this.nudFreqSpan); this.panel1.Controls.Add((Control)this.nudChanBw); this.panel1.Controls.Add((Control)this.label2); this.panel1.Controls.Add((Control)this.label1); this.panel1.Controls.Add((Control)this.label6); this.panel1.Controls.Add((Control)this.label7); this.panel1.Controls.Add((Control)this.label3); this.panel1.Controls.Add((Control)this.label4); this.panel1.Controls.Add((Control)this.label5); this.panel1.Location = new Point(557, 0); this.panel1.Margin = new Padding(0); this.panel1.Name = "panel1"; this.panel1.Size = new Size(223, 370); this.panel1.TabIndex = 0; this.cBoxLanGain.FormattingEnabled = true; this.cBoxLanGain.Items.AddRange(new object[6] { (object)"G1", (object)"G2", (object)"G3", (object)"G4", (object)"G5", (object)"G6" }); this.cBoxLanGain.Location = new Point(99, 181); this.cBoxLanGain.Name = "cBoxLanGain"; this.cBoxLanGain.Size = new Size(98, 21); this.cBoxLanGain.TabIndex = 10; this.cBoxLanGain.SelectedIndexChanged += new EventHandler(this.cBoxLanGain_SelectedIndexChanged); this.nudFreqCenter.Anchor = AnchorStyles.None; NumericUpDownEx numericUpDownEx1 = this.nudFreqCenter; int[] bits1 = new int[4]; bits1[0] = 61; Decimal num1 = new Decimal(bits1); numericUpDownEx1.Increment = num1; this.nudFreqCenter.Location = new Point(99, 103); NumericUpDownEx numericUpDownEx2 = this.nudFreqCenter; int[] bits2 = new int[4]; bits2[0] = 1020000000; Decimal num2 = new Decimal(bits2); numericUpDownEx2.Maximum = num2; NumericUpDownEx numericUpDownEx3 = this.nudFreqCenter; int[] bits3 = new int[4]; bits3[0] = 290000000; Decimal num3 = new Decimal(bits3); numericUpDownEx3.Minimum = num3; this.nudFreqCenter.Name = "nudFreqCenter"; this.nudFreqCenter.Size = new Size(98, 20); this.nudFreqCenter.TabIndex = 1; this.nudFreqCenter.ThousandsSeparator = true; NumericUpDownEx numericUpDownEx4 = this.nudFreqCenter; int[] bits4 = new int[4]; bits4[0] = 915000000; Decimal num4 = new Decimal(bits4); numericUpDownEx4.Value = num4; this.nudFreqCenter.ValueChanged += new EventHandler(this.nudFreqCenter_ValueChanged); this.nudFreqSpan.Anchor = AnchorStyles.None; NumericUpDownEx numericUpDownEx5 = this.nudFreqSpan; int[] bits5 = new int[4]; bits5[0] = 61; Decimal num5 = new Decimal(bits5); numericUpDownEx5.Increment = num5; this.nudFreqSpan.Location = new Point(99, 129); NumericUpDownEx numericUpDownEx6 = this.nudFreqSpan; int[] bits6 = new int[4]; bits6[0] = 100000000; Decimal num6 = new Decimal(bits6); numericUpDownEx6.Maximum = num6; this.nudFreqSpan.Name = "nudFreqSpan"; this.nudFreqSpan.Size = new Size(98, 20); this.nudFreqSpan.TabIndex = 4; this.nudFreqSpan.ThousandsSeparator = true; NumericUpDownEx numericUpDownEx7 = this.nudFreqSpan; int[] bits7 = new int[4]; bits7[0] = 1000000; Decimal num7 = new Decimal(bits7); numericUpDownEx7.Value = num7; this.nudFreqSpan.ValueChanged += new EventHandler(this.nudFreqSpan_ValueChanged); this.nudChanBw.Anchor = AnchorStyles.None; this.nudChanBw.Location = new Point(99, 155); NumericUpDownEx numericUpDownEx8 = this.nudChanBw; int[] bits8 = new int[4]; bits8[0] = 500000; Decimal num8 = new Decimal(bits8); numericUpDownEx8.Maximum = num8; NumericUpDownEx numericUpDownEx9 = this.nudChanBw; int[] bits9 = new int[4]; bits9[0] = 3906; Decimal num9 = new Decimal(bits9); numericUpDownEx9.Minimum = num9; this.nudChanBw.Name = "nudChanBw"; this.nudChanBw.Size = new Size(98, 20); this.nudChanBw.TabIndex = 7; this.nudChanBw.ThousandsSeparator = true; NumericUpDownEx numericUpDownEx10 = this.nudChanBw; int[] bits10 = new int[4]; bits10[0] = 10417; Decimal num10 = new Decimal(bits10); numericUpDownEx10.Value = num10; this.nudChanBw.ValueChanged += new EventHandler(this.nudChanBw_ValueChanged); this.label2.Anchor = AnchorStyles.None; this.label2.AutoSize = true; this.label2.BackColor = Color.Transparent; this.label2.ForeColor = Color.Gray; this.label2.Location = new Point(-2, 133); this.label2.Name = "label2"; this.label2.Size = new Size(35, 13); this.label2.TabIndex = 3; this.label2.Text = "Span:"; this.label1.Anchor = AnchorStyles.None; this.label1.AutoSize = true; this.label1.BackColor = Color.Transparent; this.label1.ForeColor = Color.Gray; this.label1.Location = new Point(-2, 107); this.label1.Name = "label1"; this.label1.Size = new Size(91, 13); this.label1.TabIndex = 0; this.label1.Text = "Center frequency:"; this.label6.Anchor = AnchorStyles.None; this.label6.AutoSize = true; this.label6.ForeColor = Color.Gray; this.label6.Location = new Point(203, 159); this.label6.Name = "label6"; this.label6.Size = new Size(20, 13); this.label6.TabIndex = 8; this.label6.Text = "Hz"; this.label7.Anchor = AnchorStyles.None; this.label7.AutoSize = true; this.label7.BackColor = Color.Transparent; this.label7.ForeColor = Color.Gray; this.label7.Location = new Point(-2, 185); this.label7.Name = "label7"; this.label7.Size = new Size(54, 13); this.label7.TabIndex = 9; this.label7.Text = "LNA gain:"; this.label3.Anchor = AnchorStyles.None; this.label3.AutoSize = true; this.label3.BackColor = Color.Transparent; this.label3.ForeColor = Color.Gray; this.label3.Location = new Point(-2, 159); this.label3.Name = "label3"; this.label3.Size = new Size(101, 13); this.label3.TabIndex = 6; this.label3.Text = "Channel bandwidth:"; this.label4.Anchor = AnchorStyles.None; this.label4.AutoSize = true; this.label4.ForeColor = Color.Gray; this.label4.Location = new Point(203, 107); this.label4.Name = "label4"; this.label4.Size = new Size(20, 13); this.label4.TabIndex = 2; this.label4.Text = "Hz"; this.label5.Anchor = AnchorStyles.None; this.label5.AutoSize = true; this.label5.ForeColor = Color.Gray; this.label5.Location = new Point(203, 133); this.label5.Name = "label5"; this.label5.Size = new Size(20, 13); this.label5.TabIndex = 5; this.label5.Text = "Hz"; this.panel2.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; this.panel2.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.panel2.BorderStyle = BorderStyle.FixedSingle; this.panel2.Controls.Add((Control)this.graph); this.panel2.Location = new Point(0, 0); this.panel2.Margin = new Padding(0); this.panel2.Name = "panel2"; this.panel2.Size = new Size(557, 370); this.panel2.TabIndex = 2; this.graph.Dock = DockStyle.Fill; this.graph.Location = new Point(0, 0); this.graph.Name = "graph"; this.graph.Size = new Size(555, 368); this.graph.TabIndex = 0; this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; this.ClientSize = new Size(780, 370); this.Controls.Add((Control)this.panel2); this.Controls.Add((Control)this.panel1); this.Icon = (Icon)resources.GetObject("$this.Icon"); this.Name = "SpectrumAnalyserForm"; this.Text = "Spectrum analyser"; this.Load += new EventHandler(this.SpectrumAnalyserForm_Load); this.FormClosed += new FormClosedEventHandler(this.SpectrumAnalyserForm_FormClosed); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.nudFreqCenter.EndInit(); this.nudFreqSpan.EndInit(); this.nudChanBw.EndInit(); this.panel2.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = (IContainer)new Container(); ComponentResourceManager resources = new ComponentResourceManager(typeof(SpectrumAnalyserForm)); this.panel1 = new Panel(); this.cBoxLanGain = new ComboBox(); this.nudFreqCenter = new NumericUpDownEx(); this.nudFreqSpan = new NumericUpDownEx(); this.nudChanBw = new NumericUpDownEx(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.panel2 = new Panel(); this.graph = new SpectrumGraphControl(); this.panel1.SuspendLayout(); this.nudFreqCenter.BeginInit(); this.nudFreqSpan.BeginInit(); this.nudChanBw.BeginInit(); this.panel2.SuspendLayout(); this.SuspendLayout(); this.panel1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Right; this.panel1.BackColor = Color.Black; this.panel1.BorderStyle = BorderStyle.FixedSingle; this.panel1.Controls.Add((Control)this.cBoxLanGain); this.panel1.Controls.Add((Control)this.nudFreqCenter); this.panel1.Controls.Add((Control)this.nudFreqSpan); this.panel1.Controls.Add((Control)this.nudChanBw); this.panel1.Controls.Add((Control)this.label2); this.panel1.Controls.Add((Control)this.label1); this.panel1.Controls.Add((Control)this.label6); this.panel1.Controls.Add((Control)this.label7); this.panel1.Controls.Add((Control)this.label3); this.panel1.Controls.Add((Control)this.label4); this.panel1.Controls.Add((Control)this.label5); this.panel1.Location = new Point(557, 0); this.panel1.Margin = new Padding(0); this.panel1.Name = "panel1"; this.panel1.Size = new Size(223, 370); this.panel1.TabIndex = 0; this.cBoxLanGain.FormattingEnabled = true; this.cBoxLanGain.Items.AddRange(new object[6] { (object) "G1", (object) "G2", (object) "G3", (object) "G4", (object) "G5", (object) "G6" }); this.cBoxLanGain.Location = new Point(99, 181); this.cBoxLanGain.Name = "cBoxLanGain"; this.cBoxLanGain.Size = new Size(98, 21); this.cBoxLanGain.TabIndex = 10; this.cBoxLanGain.SelectedIndexChanged += new EventHandler(this.cBoxLanGain_SelectedIndexChanged); this.nudFreqCenter.Anchor = AnchorStyles.None; NumericUpDownEx numericUpDownEx1 = this.nudFreqCenter; int[] bits1 = new int[4]; bits1[0] = 61; Decimal num1 = new Decimal(bits1); numericUpDownEx1.Increment = num1; this.nudFreqCenter.Location = new Point(99, 103); NumericUpDownEx numericUpDownEx2 = this.nudFreqCenter; int[] bits2 = new int[4]; bits2[0] = 1020000000; Decimal num2 = new Decimal(bits2); numericUpDownEx2.Maximum = num2; NumericUpDownEx numericUpDownEx3 = this.nudFreqCenter; int[] bits3 = new int[4]; bits3[0] = 290000000; Decimal num3 = new Decimal(bits3); numericUpDownEx3.Minimum = num3; this.nudFreqCenter.Name = "nudFreqCenter"; this.nudFreqCenter.Size = new Size(98, 20); this.nudFreqCenter.TabIndex = 1; this.nudFreqCenter.ThousandsSeparator = true; NumericUpDownEx numericUpDownEx4 = this.nudFreqCenter; int[] bits4 = new int[4]; bits4[0] = 915000000; Decimal num4 = new Decimal(bits4); numericUpDownEx4.Value = num4; this.nudFreqCenter.ValueChanged += new EventHandler(this.nudFreqCenter_ValueChanged); this.nudFreqSpan.Anchor = AnchorStyles.None; NumericUpDownEx numericUpDownEx5 = this.nudFreqSpan; int[] bits5 = new int[4]; bits5[0] = 61; Decimal num5 = new Decimal(bits5); numericUpDownEx5.Increment = num5; this.nudFreqSpan.Location = new Point(99, 129); NumericUpDownEx numericUpDownEx6 = this.nudFreqSpan; int[] bits6 = new int[4]; bits6[0] = 100000000; Decimal num6 = new Decimal(bits6); numericUpDownEx6.Maximum = num6; this.nudFreqSpan.Name = "nudFreqSpan"; this.nudFreqSpan.Size = new Size(98, 20); this.nudFreqSpan.TabIndex = 4; this.nudFreqSpan.ThousandsSeparator = true; NumericUpDownEx numericUpDownEx7 = this.nudFreqSpan; int[] bits7 = new int[4]; bits7[0] = 1000000; Decimal num7 = new Decimal(bits7); numericUpDownEx7.Value = num7; this.nudFreqSpan.ValueChanged += new EventHandler(this.nudFreqSpan_ValueChanged); this.nudChanBw.Anchor = AnchorStyles.None; this.nudChanBw.Location = new Point(99, 155); NumericUpDownEx numericUpDownEx8 = this.nudChanBw; int[] bits8 = new int[4]; bits8[0] = 500000; Decimal num8 = new Decimal(bits8); numericUpDownEx8.Maximum = num8; NumericUpDownEx numericUpDownEx9 = this.nudChanBw; int[] bits9 = new int[4]; bits9[0] = 3906; Decimal num9 = new Decimal(bits9); numericUpDownEx9.Minimum = num9; this.nudChanBw.Name = "nudChanBw"; this.nudChanBw.Size = new Size(98, 20); this.nudChanBw.TabIndex = 7; this.nudChanBw.ThousandsSeparator = true; NumericUpDownEx numericUpDownEx10 = this.nudChanBw; int[] bits10 = new int[4]; bits10[0] = 10417; Decimal num10 = new Decimal(bits10); numericUpDownEx10.Value = num10; this.nudChanBw.ValueChanged += new EventHandler(this.nudChanBw_ValueChanged); this.label2.Anchor = AnchorStyles.None; this.label2.AutoSize = true; this.label2.BackColor = Color.Transparent; this.label2.ForeColor = Color.Gray; this.label2.Location = new Point(-2, 133); this.label2.Name = "label2"; this.label2.Size = new Size(35, 13); this.label2.TabIndex = 3; this.label2.Text = "Span:"; this.label1.Anchor = AnchorStyles.None; this.label1.AutoSize = true; this.label1.BackColor = Color.Transparent; this.label1.ForeColor = Color.Gray; this.label1.Location = new Point(-2, 107); this.label1.Name = "label1"; this.label1.Size = new Size(91, 13); this.label1.TabIndex = 0; this.label1.Text = "Center frequency:"; this.label6.Anchor = AnchorStyles.None; this.label6.AutoSize = true; this.label6.ForeColor = Color.Gray; this.label6.Location = new Point(203, 159); this.label6.Name = "label6"; this.label6.Size = new Size(20, 13); this.label6.TabIndex = 8; this.label6.Text = "Hz"; this.label7.Anchor = AnchorStyles.None; this.label7.AutoSize = true; this.label7.BackColor = Color.Transparent; this.label7.ForeColor = Color.Gray; this.label7.Location = new Point(-2, 185); this.label7.Name = "label7"; this.label7.Size = new Size(54, 13); this.label7.TabIndex = 9; this.label7.Text = "LNA gain:"; this.label3.Anchor = AnchorStyles.None; this.label3.AutoSize = true; this.label3.BackColor = Color.Transparent; this.label3.ForeColor = Color.Gray; this.label3.Location = new Point(-2, 159); this.label3.Name = "label3"; this.label3.Size = new Size(101, 13); this.label3.TabIndex = 6; this.label3.Text = "Channel bandwidth:"; this.label4.Anchor = AnchorStyles.None; this.label4.AutoSize = true; this.label4.ForeColor = Color.Gray; this.label4.Location = new Point(203, 107); this.label4.Name = "label4"; this.label4.Size = new Size(20, 13); this.label4.TabIndex = 2; this.label4.Text = "Hz"; this.label5.Anchor = AnchorStyles.None; this.label5.AutoSize = true; this.label5.ForeColor = Color.Gray; this.label5.Location = new Point(203, 133); this.label5.Name = "label5"; this.label5.Size = new Size(20, 13); this.label5.TabIndex = 5; this.label5.Text = "Hz"; this.panel2.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; this.panel2.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.panel2.BorderStyle = BorderStyle.FixedSingle; this.panel2.Controls.Add((Control)this.graph); this.panel2.Location = new Point(0, 0); this.panel2.Margin = new Padding(0); this.panel2.Name = "panel2"; this.panel2.Size = new Size(557, 370); this.panel2.TabIndex = 2; this.graph.Dock = DockStyle.Fill; this.graph.Location = new Point(0, 0); this.graph.Name = "graph"; this.graph.Size = new Size(555, 368); this.graph.TabIndex = 0; this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; this.ClientSize = new Size(780, 370); this.Controls.Add((Control)this.panel2); this.Controls.Add((Control)this.panel1); this.Icon = (Icon)resources.GetObject("$this.Icon"); this.Name = "SpectrumAnalyserForm"; this.Text = "Spectrum analyser"; this.Load += new EventHandler(this.SpectrumAnalyserForm_Load); this.FormClosed += new FormClosedEventHandler(this.SpectrumAnalyserForm_FormClosed); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.nudFreqCenter.EndInit(); this.nudFreqSpan.EndInit(); this.nudChanBw.EndInit(); this.panel2.ResumeLayout(false); this.ResumeLayout(false); }