Exemplo n.º 1
0
 private void InitializeComponent()
 {
     this.labTitle   = new Label();
     this.titlePanel = new gButton();
     base.SuspendLayout();
     this.labTitle.BackColor         = Color.DimGray;
     this.labTitle.Font              = new Font("Microsoft Sans Serif", 12f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.labTitle.ForeColor         = Color.White;
     this.labTitle.Location          = new Point(0, -2);
     this.labTitle.Name              = "labTitle";
     this.labTitle.Size              = new Size(16, 16);
     this.labTitle.TabIndex          = 93;
     this.labTitle.Text              = "+";
     this.labTitle.TextAlign         = ContentAlignment.TopCenter;
     this.labTitle.MouseDown        += this.ToggleState;
     this.titlePanel.Arrow           = 0;
     this.titlePanel.Checked         = false;
     this.titlePanel.Dock            = DockStyle.Top;
     this.titlePanel.Edge            = 0.15f;
     this.titlePanel.EndColor        = Color.DarkGray;
     this.titlePanel.EndFactor       = 0.4f;
     this.titlePanel.Font            = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.titlePanel.ForeColor       = Color.White;
     this.titlePanel.Location        = new Point(0, 0);
     this.titlePanel.Margin          = new Padding(2, 2, 2, 2);
     this.titlePanel.Name            = "titlePanel";
     this.titlePanel.NoBorder        = true;
     this.titlePanel.NoLed           = true;
     this.titlePanel.RadioButton     = false;
     this.titlePanel.Radius          = 1;
     this.titlePanel.RadiusB         = 0;
     this.titlePanel.Size            = new Size(150, 18);
     this.titlePanel.StartColor      = Color.Black;
     this.titlePanel.StartFactor     = 0.8f;
     this.titlePanel.TabIndex        = 92;
     this.titlePanel.Text            = "Caption";
     this.titlePanel.CheckedChanged += this.ToggleState;
     base.AutoScaleDimensions        = new SizeF(6f, 13f);
     base.AutoScaleMode              = AutoScaleMode.Font;
     base.Controls.Add(this.labTitle);
     base.Controls.Add(this.titlePanel);
     base.Name = "CollapsiblePanel";
     base.ResumeLayout(false);
 }
Exemplo n.º 2
0
 private void InitializeComponent()
 {
     this.components            = new Container();
     this.recDisplayTimer       = new Timer(this.components);
     this.sampleFormatLbl       = new Label();
     this.label3                = new Label();
     this.label1                = new Label();
     this.panel1                = new Panel();
     this.skippedBufferCountLbl = new gLabel();
     this.sizeLbl               = new gLabel();
     this.durationLbl           = new gLabel();
     this.butPath               = new gButton();
     this.txtPath               = new gTextBox();
     this.recBtn                = new gButton();
     this.sampleFormatCombo     = new gCombo();
     this.audioCb               = new gButton();
     this.basebandCb            = new gButton();
     this.showBtn               = new gButton();
     this.panel1.SuspendLayout();
     base.SuspendLayout();
     this.recDisplayTimer.Interval  = 1000;
     this.recDisplayTimer.Tick     += this.recDisplayTimer_Tick;
     this.sampleFormatLbl.ForeColor = Color.Orange;
     this.sampleFormatLbl.Location  = new Point(0, 12);
     this.sampleFormatLbl.Name      = "sampleFormatLbl";
     this.sampleFormatLbl.Size      = new Size(72, 13);
     this.sampleFormatLbl.TabIndex  = 5;
     this.sampleFormatLbl.Text      = "Format";
     this.label3.ForeColor          = Color.Orange;
     this.label3.Location           = new Point(0, 36);
     this.label3.Name      = "label3";
     this.label3.Size      = new Size(72, 13);
     this.label3.TabIndex  = 5;
     this.label3.Text      = "Length/size";
     this.label1.ForeColor = Color.Orange;
     this.label1.Location  = new Point(1, 58);
     this.label1.Name      = "label1";
     this.label1.Size      = new Size(71, 13);
     this.label1.TabIndex  = 7;
     this.label1.Text      = "Dropped bufs";
     this.panel1.Anchor    = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panel1.BackColor = Color.FromArgb(64, 64, 64);
     this.panel1.Controls.Add(this.showBtn);
     this.panel1.Controls.Add(this.skippedBufferCountLbl);
     this.panel1.Controls.Add(this.sizeLbl);
     this.panel1.Controls.Add(this.durationLbl);
     this.panel1.Controls.Add(this.butPath);
     this.panel1.Controls.Add(this.txtPath);
     this.panel1.Controls.Add(this.recBtn);
     this.panel1.Controls.Add(this.sampleFormatCombo);
     this.panel1.Controls.Add(this.audioCb);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.basebandCb);
     this.panel1.Controls.Add(this.sampleFormatLbl);
     this.panel1.Location = new Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new Size(198, 166);
     this.panel1.TabIndex = 13;
     this.skippedBufferCountLbl.ForeColor = Color.Yellow;
     this.skippedBufferCountLbl.Location  = new Point(78, 57);
     this.skippedBufferCountLbl.Name      = "skippedBufferCountLbl";
     this.skippedBufferCountLbl.Size      = new Size(52, 20);
     this.skippedBufferCountLbl.TabIndex  = 17;
     this.skippedBufferCountLbl.Text      = "0";
     this.sizeLbl.ForeColor           = Color.Yellow;
     this.sizeLbl.Location            = new Point(132, 33);
     this.sizeLbl.Name                = "sizeLbl";
     this.sizeLbl.Size                = new Size(59, 20);
     this.sizeLbl.TabIndex            = 16;
     this.sizeLbl.Text                = "2048.0 Mb";
     this.durationLbl.ForeColor       = Color.Yellow;
     this.durationLbl.Location        = new Point(78, 33);
     this.durationLbl.Name            = "durationLbl";
     this.durationLbl.Size            = new Size(52, 20);
     this.durationLbl.TabIndex        = 15;
     this.durationLbl.Text            = "00:00:00";
     this.butPath.Anchor              = (AnchorStyles.Top | AnchorStyles.Right);
     this.butPath.Arrow               = 0;
     this.butPath.Checked             = false;
     this.butPath.Edge                = 0.15f;
     this.butPath.EndColor            = Color.White;
     this.butPath.EndFactor           = 0.14f;
     this.butPath.Font                = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.butPath.ForeColor           = Color.Orange;
     this.butPath.Location            = new Point(174, 110);
     this.butPath.Name                = "butPath";
     this.butPath.NoBorder            = false;
     this.butPath.NoLed               = true;
     this.butPath.RadioButton         = false;
     this.butPath.Radius              = 4;
     this.butPath.RadiusB             = 0;
     this.butPath.Size                = new Size(20, 20);
     this.butPath.StartColor          = Color.Black;
     this.butPath.StartFactor         = 0.3f;
     this.butPath.TabIndex            = 14;
     this.butPath.Text                = "...";
     this.butPath.CheckedChanged     += this.butPath_CheckedChanged;
     this.txtPath.Anchor              = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.txtPath.Location            = new Point(3, 110);
     this.txtPath.Name                = "txtPath";
     this.txtPath.Size                = new Size(165, 20);
     this.txtPath.TabIndex            = 13;
     this.txtPath.Text                = "path";
     this.recBtn.Arrow                = 0;
     this.recBtn.Checked              = false;
     this.recBtn.Edge                 = 0.15f;
     this.recBtn.EndColor             = Color.White;
     this.recBtn.EndFactor            = 0.14f;
     this.recBtn.Font                 = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.recBtn.ForeColor            = Color.FromArgb(255, 128, 128);
     this.recBtn.Location             = new Point(143, 68);
     this.recBtn.Name                 = "recBtn";
     this.recBtn.NoBorder             = false;
     this.recBtn.NoLed                = false;
     this.recBtn.RadioButton          = false;
     this.recBtn.Radius               = 6;
     this.recBtn.RadiusB              = 0;
     this.recBtn.Size                 = new Size(44, 30);
     this.recBtn.StartColor           = Color.Black;
     this.recBtn.StartFactor          = 0.3f;
     this.recBtn.TabIndex             = 11;
     this.recBtn.Text                 = "Rec.";
     this.recBtn.CheckedChanged      += this.recBtn_Click;
     this.sampleFormatCombo.Anchor    = (AnchorStyles.Top | AnchorStyles.Right);
     this.sampleFormatCombo.BackColor = Color.FromArgb(64, 64, 64);
     this.sampleFormatCombo.ForeColor = Color.Yellow;
     this.sampleFormatCombo.Items.Add("8 Bit PCM");
     this.sampleFormatCombo.Items.Add("16 Bit PCM");
     this.sampleFormatCombo.Items.Add("32 Bit IEEE Float");
     this.sampleFormatCombo.Location              = new Point(78, 9);
     this.sampleFormatCombo.Name                  = "sampleFormatCombo";
     this.sampleFormatCombo.SelectedIndex         = -1;
     this.sampleFormatCombo.Size                  = new Size(117, 20);
     this.sampleFormatCombo.TabIndex              = 12;
     this.sampleFormatCombo.Text                  = "gCombo1";
     this.sampleFormatCombo.ToolTip               = null;
     this.sampleFormatCombo.SelectedIndexChanged += this.sampleFormatCombo_SelectedIndexChanged;
     this.audioCb.Arrow           = 99;
     this.audioCb.Checked         = false;
     this.audioCb.Edge            = 0.15f;
     this.audioCb.EndColor        = Color.White;
     this.audioCb.EndFactor       = 0.14f;
     this.audioCb.ForeColor       = Color.Orange;
     this.audioCb.Location        = new Point(75, 84);
     this.audioCb.Name            = "audioCb";
     this.audioCb.NoBorder        = false;
     this.audioCb.NoLed           = false;
     this.audioCb.RadioButton     = false;
     this.audioCb.Radius          = 6;
     this.audioCb.RadiusB         = 0;
     this.audioCb.Size            = new Size(54, 20);
     this.audioCb.StartColor      = Color.Black;
     this.audioCb.StartFactor     = 0.3f;
     this.audioCb.TabIndex        = 10;
     this.audioCb.Text            = "Audio";
     this.basebandCb.Arrow        = 99;
     this.basebandCb.Checked      = true;
     this.basebandCb.Edge         = 0.15f;
     this.basebandCb.EndColor     = Color.White;
     this.basebandCb.EndFactor    = 0.14f;
     this.basebandCb.ForeColor    = Color.Orange;
     this.basebandCb.Location     = new Point(10, 84);
     this.basebandCb.Name         = "basebandCb";
     this.basebandCb.NoBorder     = false;
     this.basebandCb.NoLed        = false;
     this.basebandCb.RadioButton  = false;
     this.basebandCb.Radius       = 6;
     this.basebandCb.RadiusB      = 0;
     this.basebandCb.Size         = new Size(56, 20);
     this.basebandCb.StartColor   = Color.Black;
     this.basebandCb.StartFactor  = 0.3f;
     this.basebandCb.TabIndex     = 9;
     this.basebandCb.Text         = "B-band";
     this.showBtn.Arrow           = 0;
     this.showBtn.Checked         = true;
     this.showBtn.Edge            = 0.15f;
     this.showBtn.EndColor        = Color.White;
     this.showBtn.EndFactor       = 0.14f;
     this.showBtn.ForeColor       = Color.Orange;
     this.showBtn.Location        = new Point(2, 137);
     this.showBtn.Name            = "showBtn";
     this.showBtn.NoBorder        = false;
     this.showBtn.NoLed           = true;
     this.showBtn.RadioButton     = false;
     this.showBtn.Radius          = 6;
     this.showBtn.RadiusB         = 0;
     this.showBtn.Size            = new Size(40, 20);
     this.showBtn.StartColor      = Color.Black;
     this.showBtn.StartFactor     = 0.3f;
     this.showBtn.TabIndex        = 18;
     this.showBtn.Text            = "Show";
     this.showBtn.CheckedChanged += this.showBtn_CheckedChanged;
     base.AutoScaleDimensions     = new SizeF(6f, 13f);
     base.AutoScaleMode           = AutoScaleMode.Font;
     base.Controls.Add(this.panel1);
     base.Name = "RecordingPanel";
     base.Size = new Size(198, 186);
     this.panel1.ResumeLayout(false);
     base.ResumeLayout(false);
 }
Exemplo n.º 3
0
 private void InitializeComponent()
 {
     this.ifThresholdLabel    = new Label();
     this.audioThresholdLabel = new Label();
     this.label3                 = new Label();
     this.pulseWidthLabel        = new Label();
     this.thresholdLabel         = new Label();
     this.panel1                 = new Panel();
     this.panel2                 = new Panel();
     this.thresholdTrackBar      = new gSliderH();
     this.enableCheckBox         = new gButton();
     this.pulseWidthTrackBar     = new gSliderH();
     this.ifThresholdTrackBar    = new gSliderH();
     this.audioEnableCheckbox    = new gButton();
     this.ifEnableCheckBox       = new gButton();
     this.audioThresholdTrackBar = new gSliderH();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     base.SuspendLayout();
     this.ifThresholdLabel.Anchor       = (AnchorStyles.Top | AnchorStyles.Right);
     this.ifThresholdLabel.ForeColor    = Color.Yellow;
     this.ifThresholdLabel.Location     = new Point(45, 8);
     this.ifThresholdLabel.Name         = "ifThresholdLabel";
     this.ifThresholdLabel.Size         = new Size(44, 23);
     this.ifThresholdLabel.TabIndex     = 6;
     this.ifThresholdLabel.Text         = "-5 dB";
     this.ifThresholdLabel.TextAlign    = ContentAlignment.MiddleCenter;
     this.audioThresholdLabel.Anchor    = (AnchorStyles.Top | AnchorStyles.Right);
     this.audioThresholdLabel.ForeColor = Color.Yellow;
     this.audioThresholdLabel.Location  = new Point(45, 34);
     this.audioThresholdLabel.Name      = "audioThresholdLabel";
     this.audioThresholdLabel.Size      = new Size(44, 23);
     this.audioThresholdLabel.TabIndex  = 6;
     this.audioThresholdLabel.Text      = "-5 dB";
     this.audioThresholdLabel.TextAlign = ContentAlignment.MiddleCenter;
     this.label3.ForeColor          = Color.Orange;
     this.label3.Location           = new Point(7, 32);
     this.label3.Name               = "label3";
     this.label3.Size               = new Size(37, 30);
     this.label3.TabIndex           = 17;
     this.label3.Text               = "Pulse width";
     this.pulseWidthLabel.Anchor    = (AnchorStyles.Top | AnchorStyles.Right);
     this.pulseWidthLabel.ForeColor = Color.Yellow;
     this.pulseWidthLabel.Location  = new Point(46, 31);
     this.pulseWidthLabel.Name      = "pulseWidthLabel";
     this.pulseWidthLabel.Size      = new Size(44, 23);
     this.pulseWidthLabel.TabIndex  = 16;
     this.pulseWidthLabel.Text      = "50";
     this.pulseWidthLabel.TextAlign = ContentAlignment.MiddleCenter;
     this.thresholdLabel.Anchor     = (AnchorStyles.Top | AnchorStyles.Right);
     this.thresholdLabel.ForeColor  = Color.Yellow;
     this.thresholdLabel.Location   = new Point(46, 6);
     this.thresholdLabel.Name       = "thresholdLabel";
     this.thresholdLabel.Size       = new Size(44, 23);
     this.thresholdLabel.TabIndex   = 15;
     this.thresholdLabel.Text       = "50";
     this.thresholdLabel.TextAlign  = ContentAlignment.MiddleCenter;
     this.panel1.Anchor             = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panel1.BackColor          = Color.FromArgb(64, 64, 64);
     this.panel1.Controls.Add(this.ifThresholdTrackBar);
     this.panel1.Controls.Add(this.audioEnableCheckbox);
     this.panel1.Controls.Add(this.ifEnableCheckBox);
     this.panel1.Controls.Add(this.audioThresholdTrackBar);
     this.panel1.Controls.Add(this.ifThresholdLabel);
     this.panel1.Controls.Add(this.audioThresholdLabel);
     this.panel1.Location  = new Point(0, 2);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new Size(198, 62);
     this.panel1.TabIndex  = 71;
     this.panel2.Anchor    = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panel2.BackColor = Color.FromArgb(64, 64, 64);
     this.panel2.Controls.Add(this.thresholdTrackBar);
     this.panel2.Controls.Add(this.enableCheckBox);
     this.panel2.Controls.Add(this.pulseWidthTrackBar);
     this.panel2.Controls.Add(this.label3);
     this.panel2.Controls.Add(this.thresholdLabel);
     this.panel2.Controls.Add(this.pulseWidthLabel);
     this.panel2.Location                      = new Point(0, 63);
     this.panel2.Name                          = "panel2";
     this.panel2.Size                          = new Size(198, 62);
     this.panel2.TabIndex                      = 72;
     this.thresholdTrackBar.Anchor             = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.thresholdTrackBar.Button             = false;
     this.thresholdTrackBar.Checked            = false;
     this.thresholdTrackBar.ColorFactor        = 0.5f;
     this.thresholdTrackBar.ForeColor          = Color.Black;
     this.thresholdTrackBar.Location           = new Point(89, 10);
     this.thresholdTrackBar.Margin             = new Padding(4);
     this.thresholdTrackBar.Maximum            = 100;
     this.thresholdTrackBar.Minimum            = 0;
     this.thresholdTrackBar.Name               = "thresholdTrackBar";
     this.thresholdTrackBar.Size               = new Size(107, 16);
     this.thresholdTrackBar.TabIndex           = 8;
     this.thresholdTrackBar.TickColor          = Color.Silver;
     this.thresholdTrackBar.Ticks              = 8;
     this.thresholdTrackBar.ToolTip            = null;
     this.thresholdTrackBar.Value              = 20;
     this.thresholdTrackBar.ValueChanged      += this.thresholdTrackBar_Scroll;
     this.enableCheckBox.Arrow                 = 99;
     this.enableCheckBox.Checked               = false;
     this.enableCheckBox.Edge                  = 0.15f;
     this.enableCheckBox.EndColor              = Color.White;
     this.enableCheckBox.EndFactor             = 0.2f;
     this.enableCheckBox.Font                  = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.enableCheckBox.ForeColor             = Color.Orange;
     this.enableCheckBox.Location              = new Point(2, 6);
     this.enableCheckBox.Name                  = "enableCheckBox";
     this.enableCheckBox.NoBorder              = false;
     this.enableCheckBox.NoLed                 = false;
     this.enableCheckBox.RadioButton           = false;
     this.enableCheckBox.Radius                = 6;
     this.enableCheckBox.RadiusB               = 0;
     this.enableCheckBox.Size                  = new Size(44, 24);
     this.enableCheckBox.StartColor            = Color.Black;
     this.enableCheckBox.StartFactor           = 0.35f;
     this.enableCheckBox.TabIndex              = 70;
     this.enableCheckBox.Text                  = "N-Bl.";
     this.enableCheckBox.CheckedChanged       += this.enableCheckBox_CheckedChanged;
     this.pulseWidthTrackBar.Anchor            = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.pulseWidthTrackBar.Button            = false;
     this.pulseWidthTrackBar.Checked           = false;
     this.pulseWidthTrackBar.ColorFactor       = 0.5f;
     this.pulseWidthTrackBar.ForeColor         = Color.Black;
     this.pulseWidthTrackBar.Location          = new Point(89, 36);
     this.pulseWidthTrackBar.Margin            = new Padding(4);
     this.pulseWidthTrackBar.Maximum           = 999;
     this.pulseWidthTrackBar.Minimum           = 1;
     this.pulseWidthTrackBar.Name              = "pulseWidthTrackBar";
     this.pulseWidthTrackBar.Size              = new Size(107, 16);
     this.pulseWidthTrackBar.TabIndex          = 12;
     this.pulseWidthTrackBar.TickColor         = Color.Silver;
     this.pulseWidthTrackBar.Ticks             = 8;
     this.pulseWidthTrackBar.ToolTip           = null;
     this.pulseWidthTrackBar.Value             = 100;
     this.pulseWidthTrackBar.ValueChanged     += this.pulseWidthTrackBar_Scroll;
     this.ifThresholdTrackBar.Anchor           = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.ifThresholdTrackBar.Button           = false;
     this.ifThresholdTrackBar.Checked          = false;
     this.ifThresholdTrackBar.ColorFactor      = 0.5f;
     this.ifThresholdTrackBar.ForeColor        = Color.Black;
     this.ifThresholdTrackBar.Location         = new Point(90, 10);
     this.ifThresholdTrackBar.Margin           = new Padding(4);
     this.ifThresholdTrackBar.Maximum          = 20;
     this.ifThresholdTrackBar.Minimum          = -80;
     this.ifThresholdTrackBar.Name             = "ifThresholdTrackBar";
     this.ifThresholdTrackBar.Size             = new Size(105, 16);
     this.ifThresholdTrackBar.TabIndex         = 7;
     this.ifThresholdTrackBar.TickColor        = Color.Silver;
     this.ifThresholdTrackBar.Ticks            = 8;
     this.ifThresholdTrackBar.ToolTip          = null;
     this.ifThresholdTrackBar.Value            = -30;
     this.ifThresholdTrackBar.ValueChanged    += this.ifThresholdTrackBar_Scroll;
     this.audioEnableCheckbox.Arrow            = 99;
     this.audioEnableCheckbox.Checked          = false;
     this.audioEnableCheckbox.Edge             = 0.15f;
     this.audioEnableCheckbox.EndColor         = Color.White;
     this.audioEnableCheckbox.EndFactor        = 0.2f;
     this.audioEnableCheckbox.Font             = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.audioEnableCheckbox.ForeColor        = Color.Orange;
     this.audioEnableCheckbox.Location         = new Point(2, 33);
     this.audioEnableCheckbox.Name             = "audioEnableCheckbox";
     this.audioEnableCheckbox.NoBorder         = false;
     this.audioEnableCheckbox.NoLed            = false;
     this.audioEnableCheckbox.RadioButton      = false;
     this.audioEnableCheckbox.Radius           = 6;
     this.audioEnableCheckbox.RadiusB          = 0;
     this.audioEnableCheckbox.Size             = new Size(44, 24);
     this.audioEnableCheckbox.StartColor       = Color.Black;
     this.audioEnableCheckbox.StartFactor      = 0.35f;
     this.audioEnableCheckbox.TabIndex         = 69;
     this.audioEnableCheckbox.Text             = "A.F.";
     this.audioEnableCheckbox.CheckedChanged  += this.audioEnableCheckbox_CheckedChanged;
     this.ifEnableCheckBox.Arrow               = 99;
     this.ifEnableCheckBox.Checked             = false;
     this.ifEnableCheckBox.Edge                = 0.15f;
     this.ifEnableCheckBox.EndColor            = Color.White;
     this.ifEnableCheckBox.EndFactor           = 0.2f;
     this.ifEnableCheckBox.Font                = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.ifEnableCheckBox.ForeColor           = Color.Orange;
     this.ifEnableCheckBox.Location            = new Point(2, 6);
     this.ifEnableCheckBox.Name                = "ifEnableCheckBox";
     this.ifEnableCheckBox.NoBorder            = false;
     this.ifEnableCheckBox.NoLed               = false;
     this.ifEnableCheckBox.RadioButton         = false;
     this.ifEnableCheckBox.Radius              = 6;
     this.ifEnableCheckBox.RadiusB             = 0;
     this.ifEnableCheckBox.Size                = new Size(44, 24);
     this.ifEnableCheckBox.StartColor          = Color.Black;
     this.ifEnableCheckBox.StartFactor         = 0.35f;
     this.ifEnableCheckBox.TabIndex            = 68;
     this.ifEnableCheckBox.Text                = "I.F.";
     this.ifEnableCheckBox.CheckedChanged     += this.ifEnableCheckBox_CheckedChanged;
     this.audioThresholdTrackBar.Anchor        = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.audioThresholdTrackBar.Button        = false;
     this.audioThresholdTrackBar.Checked       = false;
     this.audioThresholdTrackBar.ColorFactor   = 0.5f;
     this.audioThresholdTrackBar.ForeColor     = Color.Black;
     this.audioThresholdTrackBar.Location      = new Point(90, 36);
     this.audioThresholdTrackBar.Margin        = new Padding(4);
     this.audioThresholdTrackBar.Maximum       = 20;
     this.audioThresholdTrackBar.Minimum       = -120;
     this.audioThresholdTrackBar.Name          = "audioThresholdTrackBar";
     this.audioThresholdTrackBar.Size          = new Size(105, 16);
     this.audioThresholdTrackBar.TabIndex      = 8;
     this.audioThresholdTrackBar.TickColor     = Color.Silver;
     this.audioThresholdTrackBar.Ticks         = 8;
     this.audioThresholdTrackBar.ToolTip       = null;
     this.audioThresholdTrackBar.Value         = -30;
     this.audioThresholdTrackBar.ValueChanged += this.audioThresholdTrackBar_Scroll;
     base.Controls.Add(this.panel2);
     base.Controls.Add(this.panel1);
     base.Name = "NoiseReductionPanel";
     base.Size = new Size(198, 145);
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     base.ResumeLayout(false);
 }
Exemplo n.º 4
0
 private void InitializeComponent()
 {
     this.panel1        = new Panel();
     this.label1        = new Label();
     this.label7        = new Label();
     this.label6        = new Label();
     this.label5        = new Label();
     this.label4        = new Label();
     this.label54       = new Label();
     this.label52       = new Label();
     this.numLowCutoff  = new gUpDown();
     this.numHighCutoff = new gUpDown();
     this.bassButton    = new gButton();
     this.tbHighGain    = new gSliderV();
     this.tbMedGain     = new gSliderV();
     this.tbLowGain     = new gSliderV();
     this.enableButton  = new gButton();
     this.panel1.SuspendLayout();
     base.SuspendLayout();
     this.panel1.Anchor    = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
     this.panel1.BackColor = Color.FromArgb(64, 64, 64);
     this.panel1.Controls.Add(this.numLowCutoff);
     this.panel1.Controls.Add(this.numHighCutoff);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.label7);
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.bassButton);
     this.panel1.Controls.Add(this.label54);
     this.panel1.Controls.Add(this.tbHighGain);
     this.panel1.Controls.Add(this.tbMedGain);
     this.panel1.Controls.Add(this.label52);
     this.panel1.Controls.Add(this.tbLowGain);
     this.panel1.Controls.Add(this.enableButton);
     this.panel1.Location              = new Point(0, 0);
     this.panel1.Name                  = "panel1";
     this.panel1.Size                  = new Size(198, 134);
     this.panel1.TabIndex              = 9;
     this.label1.AutoSize              = true;
     this.label1.ForeColor             = Color.Orange;
     this.label1.Location              = new Point(31, 9);
     this.label1.Name                  = "label1";
     this.label1.Size                  = new Size(21, 13);
     this.label1.TabIndex              = 118;
     this.label1.Text                  = "On";
     this.label1.TextAlign             = ContentAlignment.MiddleCenter;
     this.label7.Anchor                = (AnchorStyles.Top | AnchorStyles.Right);
     this.label7.AutoSize              = true;
     this.label7.ForeColor             = Color.Orange;
     this.label7.Location              = new Point(168, 29);
     this.label7.Name                  = "label7";
     this.label7.Size                  = new Size(29, 13);
     this.label7.TabIndex              = 117;
     this.label7.Text                  = "High";
     this.label7.TextAlign             = ContentAlignment.MiddleCenter;
     this.label6.Anchor                = (AnchorStyles.Top | AnchorStyles.Right);
     this.label6.AutoSize              = true;
     this.label6.ForeColor             = Color.Orange;
     this.label6.Location              = new Point(133, 29);
     this.label6.Name                  = "label6";
     this.label6.Size                  = new Size(28, 13);
     this.label6.TabIndex              = 116;
     this.label6.Text                  = "Med";
     this.label6.TextAlign             = ContentAlignment.MiddleCenter;
     this.label5.Anchor                = (AnchorStyles.Top | AnchorStyles.Right);
     this.label5.AutoSize              = true;
     this.label5.ForeColor             = Color.Orange;
     this.label5.Location              = new Point(97, 29);
     this.label5.Name                  = "label5";
     this.label5.Size                  = new Size(27, 13);
     this.label5.TabIndex              = 115;
     this.label5.Text                  = "Low";
     this.label5.TextAlign             = ContentAlignment.MiddleCenter;
     this.label4.Anchor                = (AnchorStyles.Top | AnchorStyles.Right);
     this.label4.AutoSize              = true;
     this.label4.ForeColor             = Color.Orange;
     this.label4.Location              = new Point(125, 9);
     this.label4.Name                  = "label4";
     this.label4.Size                  = new Size(59, 13);
     this.label4.TabIndex              = 114;
     this.label4.Text                  = "Bass boost";
     this.label4.TextAlign             = ContentAlignment.MiddleCenter;
     this.label54.AutoSize             = true;
     this.label54.ForeColor            = Color.Orange;
     this.label54.Location             = new Point(0, 30);
     this.label54.Name                 = "label54";
     this.label54.Size                 = new Size(81, 13);
     this.label54.TabIndex             = 108;
     this.label54.Text                 = "High cutoff (Hz)";
     this.label54.TextAlign            = ContentAlignment.MiddleCenter;
     this.label52.AutoSize             = true;
     this.label52.ForeColor            = Color.Orange;
     this.label52.Location             = new Point(0, 78);
     this.label52.Name                 = "label52";
     this.label52.Size                 = new Size(79, 13);
     this.label52.TabIndex             = 105;
     this.label52.Text                 = "Low cutoff (Hz)";
     this.label52.TextAlign            = ContentAlignment.MiddleCenter;
     this.numLowCutoff.ForeColor       = Color.Yellow;
     this.numLowCutoff.Increment       = 20;
     this.numLowCutoff.Location        = new Point(3, 96);
     this.numLowCutoff.Margin          = new Padding(5);
     this.numLowCutoff.Maximum         = 800L;
     this.numLowCutoff.Minimum         = 50L;
     this.numLowCutoff.Name            = "numLowCutoff";
     this.numLowCutoff.Size            = new Size(79, 20);
     this.numLowCutoff.TabIndex        = 120;
     this.numLowCutoff.ToolTip         = null;
     this.numLowCutoff.Value           = 200L;
     this.numLowCutoff.ValueChanged   += this.numLowCutOff_ValueChanged;
     this.numHighCutoff.ForeColor      = Color.Yellow;
     this.numHighCutoff.Increment      = 200;
     this.numHighCutoff.Location       = new Point(3, 48);
     this.numHighCutoff.Margin         = new Padding(5);
     this.numHighCutoff.Maximum        = 8000L;
     this.numHighCutoff.Minimum        = 2000L;
     this.numHighCutoff.Name           = "numHighCutoff";
     this.numHighCutoff.Size           = new Size(79, 20);
     this.numHighCutoff.TabIndex       = 119;
     this.numHighCutoff.ToolTip        = null;
     this.numHighCutoff.Value          = 4000L;
     this.numHighCutoff.ValueChanged  += this.numHighCutOff_ValueChanged;
     this.bassButton.Anchor            = (AnchorStyles.Top | AnchorStyles.Right);
     this.bassButton.Arrow             = 0;
     this.bassButton.Checked           = false;
     this.bassButton.Edge              = 0.15f;
     this.bassButton.EndColor          = Color.White;
     this.bassButton.EndFactor         = 0.2f;
     this.bassButton.Font              = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.bassButton.ForeColor         = Color.Orange;
     this.bassButton.Location          = new Point(97, 6);
     this.bassButton.Name              = "bassButton";
     this.bassButton.NoBorder          = false;
     this.bassButton.NoLed             = false;
     this.bassButton.RadioButton       = false;
     this.bassButton.Radius            = 6;
     this.bassButton.RadiusB           = 0;
     this.bassButton.Size              = new Size(26, 20);
     this.bassButton.StartColor        = Color.Black;
     this.bassButton.StartFactor       = 0.35f;
     this.bassButton.TabIndex          = 113;
     this.bassButton.CheckedChanged   += this.bassButton_CheckedChanged;
     this.tbHighGain.Anchor            = (AnchorStyles.Top | AnchorStyles.Right);
     this.tbHighGain.Button            = false;
     this.tbHighGain.Checked           = false;
     this.tbHighGain.ColorFactor       = 0.55f;
     this.tbHighGain.ForeColor         = Color.Black;
     this.tbHighGain.Location          = new Point(173, 44);
     this.tbHighGain.Margin            = new Padding(4);
     this.tbHighGain.Maximum           = 30;
     this.tbHighGain.Minimum           = 1;
     this.tbHighGain.Name              = "tbHighGain";
     this.tbHighGain.Size              = new Size(17, 84);
     this.tbHighGain.TabIndex          = 107;
     this.tbHighGain.Tag               = "1";
     this.tbHighGain.TickColor         = Color.Silver;
     this.tbHighGain.Ticks             = 5;
     this.tbHighGain.ToolTip           = null;
     this.tbHighGain.Value             = 10;
     this.tbHighGain.ValueChanged     += this.tbHighGain_ValueChanged;
     this.tbMedGain.Anchor             = (AnchorStyles.Top | AnchorStyles.Right);
     this.tbMedGain.Button             = false;
     this.tbMedGain.Checked            = false;
     this.tbMedGain.ColorFactor        = 0.6f;
     this.tbMedGain.ForeColor          = Color.Black;
     this.tbMedGain.Location           = new Point(137, 44);
     this.tbMedGain.Margin             = new Padding(4);
     this.tbMedGain.Maximum            = 30;
     this.tbMedGain.Minimum            = 1;
     this.tbMedGain.Name               = "tbMedGain";
     this.tbMedGain.Size               = new Size(17, 84);
     this.tbMedGain.TabIndex           = 106;
     this.tbMedGain.Tag                = "1";
     this.tbMedGain.TickColor          = Color.Silver;
     this.tbMedGain.Ticks              = 5;
     this.tbMedGain.ToolTip            = null;
     this.tbMedGain.Value              = 10;
     this.tbMedGain.ValueChanged      += this.tbMedGain_ValueChanged;
     this.tbLowGain.Anchor             = (AnchorStyles.Top | AnchorStyles.Right);
     this.tbLowGain.Button             = false;
     this.tbLowGain.Checked            = false;
     this.tbLowGain.ColorFactor        = 0.6f;
     this.tbLowGain.ForeColor          = Color.Black;
     this.tbLowGain.Location           = new Point(101, 44);
     this.tbLowGain.Margin             = new Padding(4);
     this.tbLowGain.Maximum            = 30;
     this.tbLowGain.Minimum            = 1;
     this.tbLowGain.Name               = "tbLowGain";
     this.tbLowGain.Size               = new Size(17, 84);
     this.tbLowGain.TabIndex           = 104;
     this.tbLowGain.Tag                = "1";
     this.tbLowGain.TickColor          = Color.Silver;
     this.tbLowGain.Ticks              = 5;
     this.tbLowGain.ToolTip            = null;
     this.tbLowGain.Value              = 10;
     this.tbLowGain.ValueChanged      += this.tbLowGain_ValueChanged;
     this.enableButton.Arrow           = 0;
     this.enableButton.Checked         = false;
     this.enableButton.Edge            = 0.15f;
     this.enableButton.EndColor        = Color.White;
     this.enableButton.EndFactor       = 0.2f;
     this.enableButton.Font            = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.enableButton.ForeColor       = Color.Orange;
     this.enableButton.Location        = new Point(2, 6);
     this.enableButton.Name            = "enableButton";
     this.enableButton.NoBorder        = false;
     this.enableButton.NoLed           = false;
     this.enableButton.RadioButton     = false;
     this.enableButton.Radius          = 6;
     this.enableButton.RadiusB         = 0;
     this.enableButton.Size            = new Size(26, 20);
     this.enableButton.StartColor      = Color.Black;
     this.enableButton.StartFactor     = 0.35f;
     this.enableButton.TabIndex        = 17;
     this.enableButton.CheckedChanged += this.enableButton_CheckedChanged;
     base.AutoScaleDimensions          = new SizeF(6f, 13f);
     base.AutoScaleMode                = AutoScaleMode.Font;
     base.Controls.Add(this.panel1);
     base.Name = "EqualizerPanel";
     base.Size = new Size(198, 154);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     base.ResumeLayout(false);
 }