コード例 #1
0
        private void EQSwitchChange(bool bSwitchedOn, OnOffSwitch objSender)
        {
            m_bEQEnabled = bSwitchedOn;
            if (!checkBox_RealtimeAdjust.Checked)
            {
                return;
            }

            if (m_paramBaseSystem.m_nEffectMode == 0U)
            {
                m_paramMusicMode.m_bEqualizerEnabled = !m_bEQEnabled ? 0 : 1;
                m_cpConfigProxy.UpdateParameter(m_paramMusicMode);
                m_cpConfigProxy.SyncConfig();
            }
            if (m_paramBaseSystem.m_nEffectMode == 1U)
            {
                m_paramMovieMode.m_bEqualizerEnabled = !m_bEQEnabled ? 0 : 1;
                m_cpConfigProxy.UpdateParameter(m_paramMovieMode);
                m_cpConfigProxy.SyncConfig();
            }
            if (m_paramBaseSystem.m_nEffectMode != 2U)
            {
                return;
            }

            m_paramFreestyle.m_bEqualizerEnabled = !m_bEQEnabled ? 0 : 1;
            m_cpConfigProxy.UpdateParameter(m_paramFreestyle);
            m_cpConfigProxy.SyncConfig();
        }
コード例 #2
0
//=============================================================================
// Z Wave Commands
//=============================================================================
        #region Z Wave Commands

        //=======================================================================
        //Toggle Living Room Lamp
        //=======================================================================
        private async void ToggleLivingRoomLamp_ExecuteAsync(object sender, EventArgs e)
        {
            OnOffSwitch LivingRoomLamp = new OnOffSwitch(2, "Socket Front Left");
            await LivingRoomLamp.GetValue();

            if (LivingRoomLamp.LevelInt == 0)
            {
                await LivingRoomLamp.SwitchOn();
            }
            else
            {
                await LivingRoomLamp.SwitchOff();
            }
        }
コード例 #3
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmSettings));
     this.contextMenuStrip_TrayItem    = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.toolStripMenuItem_RemoveItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator1          = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripMenuItem_Name       = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripTextBox_Name        = new System.Windows.Forms.ToolStripTextBox();
     this.toolStripSeparator2          = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripMenuItem_Mode       = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripComboBox_Mode       = new System.Windows.Forms.ToolStripComboBox();
     this.toolStripSeparator3          = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripMenuItem_Preset     = new System.Windows.Forms.ToolStripMenuItem();
     this.label_EnableCoexist          = new System.Windows.Forms.Label();
     this.onOffSwitch_EnableCoexist    = new ViPER4WindowsBin.UIControls.OnOffSwitch();
     this.singleButton_OK     = new Telerik.WinControls.UI.RadButton();
     this.singleButton_Cancel = new Telerik.WinControls.UI.RadButton();
     this.contextMenuStrip_TrayItem.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.singleButton_OK)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.singleButton_Cancel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // contextMenuStrip_TrayItem
     //
     this.contextMenuStrip_TrayItem.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripMenuItem_RemoveItem,
         this.toolStripSeparator1,
         this.toolStripMenuItem_Name,
         this.toolStripTextBox_Name,
         this.toolStripSeparator2,
         this.toolStripMenuItem_Mode,
         this.toolStripComboBox_Mode,
         this.toolStripSeparator3,
         this.toolStripMenuItem_Preset
     });
     this.contextMenuStrip_TrayItem.Name = "contextMenuStrip_TrayItem";
     this.contextMenuStrip_TrayItem.Size = new System.Drawing.Size(188, 162);
     //
     // toolStripMenuItem_RemoveItem
     //
     this.toolStripMenuItem_RemoveItem.Name   = "toolStripMenuItem_RemoveItem";
     this.toolStripMenuItem_RemoveItem.Size   = new System.Drawing.Size(187, 22);
     this.toolStripMenuItem_RemoveItem.Text   = "$REMOVE_ITEM";
     this.toolStripMenuItem_RemoveItem.Click += new System.EventHandler(this.toolStripMenuItem_RemoveItem_Click);
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(184, 6);
     //
     // toolStripMenuItem_Name
     //
     this.toolStripMenuItem_Name.Enabled = false;
     this.toolStripMenuItem_Name.Name    = "toolStripMenuItem_Name";
     this.toolStripMenuItem_Name.Size    = new System.Drawing.Size(187, 22);
     this.toolStripMenuItem_Name.Text    = "$MENU_TIPS_NAME";
     //
     // toolStripTextBox_Name
     //
     this.toolStripTextBox_Name.Font   = new System.Drawing.Font("Segoe UI", 9F);
     this.toolStripTextBox_Name.Name   = "toolStripTextBox_Name";
     this.toolStripTextBox_Name.Size   = new System.Drawing.Size(100, 23);
     this.toolStripTextBox_Name.KeyUp += new System.Windows.Forms.KeyEventHandler(this.toolStripTextBox_Name_KeyUp);
     //
     // toolStripSeparator2
     //
     this.toolStripSeparator2.Name = "toolStripSeparator2";
     this.toolStripSeparator2.Size = new System.Drawing.Size(184, 6);
     //
     // toolStripMenuItem_Mode
     //
     this.toolStripMenuItem_Mode.Enabled = false;
     this.toolStripMenuItem_Mode.Name    = "toolStripMenuItem_Mode";
     this.toolStripMenuItem_Mode.Size    = new System.Drawing.Size(187, 22);
     this.toolStripMenuItem_Mode.Text    = "$MENU_TIPS_MODE";
     //
     // toolStripComboBox_Mode
     //
     this.toolStripComboBox_Mode.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.toolStripComboBox_Mode.Name                  = "toolStripComboBox_Mode";
     this.toolStripComboBox_Mode.Size                  = new System.Drawing.Size(121, 23);
     this.toolStripComboBox_Mode.SelectedIndexChanged += new System.EventHandler(this.toolStripComboBox_Mode_SelectedIndexChanged);
     //
     // toolStripSeparator3
     //
     this.toolStripSeparator3.Name = "toolStripSeparator3";
     this.toolStripSeparator3.Size = new System.Drawing.Size(184, 6);
     //
     // toolStripMenuItem_Preset
     //
     this.toolStripMenuItem_Preset.Name   = "toolStripMenuItem_Preset";
     this.toolStripMenuItem_Preset.Size   = new System.Drawing.Size(187, 22);
     this.toolStripMenuItem_Preset.Text   = "$SELECT_PRESET_FILE";
     this.toolStripMenuItem_Preset.Click += new System.EventHandler(this.toolStripMenuItem_Preset_Click);
     //
     // label_EnableCoexist
     //
     this.label_EnableCoexist.AutoSize  = true;
     this.label_EnableCoexist.ForeColor = System.Drawing.Color.Snow;
     this.label_EnableCoexist.Location  = new System.Drawing.Point(12, 22);
     this.label_EnableCoexist.Name      = "label_EnableCoexist";
     this.label_EnableCoexist.Size      = new System.Drawing.Size(126, 13);
     this.label_EnableCoexist.TabIndex  = 5;
     this.label_EnableCoexist.Text      = "$ENABLE_APO_COEXIST";
     //
     // onOffSwitch_EnableCoexist
     //
     this.onOffSwitch_EnableCoexist.BackColor  = System.Drawing.Color.Transparent;
     this.onOffSwitch_EnableCoexist.Location   = new System.Drawing.Point(277, 15);
     this.onOffSwitch_EnableCoexist.Name       = "onOffSwitch_EnableCoexist";
     this.onOffSwitch_EnableCoexist.Size       = new System.Drawing.Size(66, 25);
     this.onOffSwitch_EnableCoexist.SwitchedOn = false;
     this.onOffSwitch_EnableCoexist.TabIndex   = 6;
     //
     // singleButton_OK
     //
     this.singleButton_OK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.singleButton_OK.Location     = new System.Drawing.Point(77, 58);
     this.singleButton_OK.Name         = "singleButton_OK";
     this.singleButton_OK.Size         = new System.Drawing.Size(89, 32);
     this.singleButton_OK.TabIndex     = 29;
     this.singleButton_OK.Text         = "$OK";
     this.singleButton_OK.ThemeName    = "VisualStudio2012Dark";
     //
     // singleButton_Cancel
     //
     this.singleButton_Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.singleButton_Cancel.Location     = new System.Drawing.Point(189, 58);
     this.singleButton_Cancel.Name         = "singleButton_Cancel";
     this.singleButton_Cancel.Size         = new System.Drawing.Size(93, 32);
     this.singleButton_Cancel.TabIndex     = 30;
     this.singleButton_Cancel.Text         = "$CANCEL";
     this.singleButton_Cancel.ThemeName    = "VisualStudio2012Dark";
     //
     // frmSettings
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(356, 100);
     this.Controls.Add(this.singleButton_OK);
     this.Controls.Add(this.singleButton_Cancel);
     this.Controls.Add(this.onOffSwitch_EnableCoexist);
     this.Controls.Add(this.label_EnableCoexist);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmSettings";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "$SETTINGS";
     this.ThemeName     = "VisualStudio2012Dark";
     this.Load         += new System.EventHandler(this.frmSettings_Load);
     this.contextMenuStrip_TrayItem.ResumeLayout(false);
     this.contextMenuStrip_TrayItem.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.singleButton_OK)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.singleButton_Cancel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #4
0
 private void onOffSwitch_CloseToTray_SwitchChangeNotify(bool bSwitchedOn, OnOffSwitch objSender)
 {
     m_bCloseToTray = bSwitchedOn;
 }
コード例 #5
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmEqualizer));
     this.label_Equalizer_Enable = new System.Windows.Forms.Label();
     this.onOffSwitch_Equalizer  = new ViPER4WindowsBin.UIControls.OnOffSwitch();
     this.vSlider1                = new ViPER4WindowsBin.UIControls.VSlider();
     this.vSlider2                = new ViPER4WindowsBin.UIControls.VSlider();
     this.vSlider3                = new ViPER4WindowsBin.UIControls.VSlider();
     this.vSlider4                = new ViPER4WindowsBin.UIControls.VSlider();
     this.vSlider5                = new ViPER4WindowsBin.UIControls.VSlider();
     this.vSlider6                = new ViPER4WindowsBin.UIControls.VSlider();
     this.vSlider7                = new ViPER4WindowsBin.UIControls.VSlider();
     this.vSlider8                = new ViPER4WindowsBin.UIControls.VSlider();
     this.vSlider9                = new ViPER4WindowsBin.UIControls.VSlider();
     this.vSlider10               = new ViPER4WindowsBin.UIControls.VSlider();
     this.vSlider11               = new ViPER4WindowsBin.UIControls.VSlider();
     this.vSlider12               = new ViPER4WindowsBin.UIControls.VSlider();
     this.vSlider13               = new ViPER4WindowsBin.UIControls.VSlider();
     this.vSlider14               = new ViPER4WindowsBin.UIControls.VSlider();
     this.vSlider15               = new ViPER4WindowsBin.UIControls.VSlider();
     this.vSlider16               = new ViPER4WindowsBin.UIControls.VSlider();
     this.vSlider17               = new ViPER4WindowsBin.UIControls.VSlider();
     this.vSlider18               = new ViPER4WindowsBin.UIControls.VSlider();
     this.label1                  = new System.Windows.Forms.Label();
     this.label2                  = 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.label6                  = new System.Windows.Forms.Label();
     this.label7                  = new System.Windows.Forms.Label();
     this.label8                  = new System.Windows.Forms.Label();
     this.label9                  = new System.Windows.Forms.Label();
     this.label10                 = new System.Windows.Forms.Label();
     this.label11                 = new System.Windows.Forms.Label();
     this.label12                 = new System.Windows.Forms.Label();
     this.label13                 = new System.Windows.Forms.Label();
     this.label14                 = new System.Windows.Forms.Label();
     this.label15                 = new System.Windows.Forms.Label();
     this.label16                 = new System.Windows.Forms.Label();
     this.label17                 = new System.Windows.Forms.Label();
     this.label18                 = new System.Windows.Forms.Label();
     this.label_dB_Max            = new System.Windows.Forms.Label();
     this.label_dB_Min            = new System.Windows.Forms.Label();
     this.label_dB_Zero           = new System.Windows.Forms.Label();
     this.checkBox_RealtimeAdjust = new System.Windows.Forms.CheckBox();
     this.singleButton_Preset     = new Telerik.WinControls.UI.RadButton();
     this.singleButton_OK         = new Telerik.WinControls.UI.RadButton();
     ((System.ComponentModel.ISupportInitialize)(this.singleButton_Preset)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.singleButton_OK)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // label_Equalizer_Enable
     //
     this.label_Equalizer_Enable.AutoSize  = true;
     this.label_Equalizer_Enable.ForeColor = System.Drawing.Color.Snow;
     this.label_Equalizer_Enable.Location  = new System.Drawing.Point(24, 22);
     this.label_Equalizer_Enable.Name      = "label_Equalizer_Enable";
     this.label_Equalizer_Enable.Size      = new System.Drawing.Size(51, 13);
     this.label_Equalizer_Enable.TabIndex  = 0;
     this.label_Equalizer_Enable.Text      = "$ENABLE";
     //
     // onOffSwitch_Equalizer
     //
     this.onOffSwitch_Equalizer.BackColor  = System.Drawing.Color.Transparent;
     this.onOffSwitch_Equalizer.ForeColor  = System.Drawing.Color.Snow;
     this.onOffSwitch_Equalizer.Location   = new System.Drawing.Point(24, 37);
     this.onOffSwitch_Equalizer.Name       = "onOffSwitch_Equalizer";
     this.onOffSwitch_Equalizer.Size       = new System.Drawing.Size(107, 28);
     this.onOffSwitch_Equalizer.SwitchedOn = false;
     this.onOffSwitch_Equalizer.TabIndex   = 1;
     //
     // vSlider1
     //
     this.vSlider1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.vSlider1.Location  = new System.Drawing.Point(53, 83);
     this.vSlider1.MoveDelta = ((uint)(1u));
     this.vSlider1.Name      = "vSlider1";
     this.vSlider1.Position  = ((uint)(50u));
     this.vSlider1.Size      = new System.Drawing.Size(47, 204);
     this.vSlider1.TabIndex  = 2;
     //
     // vSlider2
     //
     this.vSlider2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.vSlider2.Location  = new System.Drawing.Point(106, 83);
     this.vSlider2.MoveDelta = ((uint)(1u));
     this.vSlider2.Name      = "vSlider2";
     this.vSlider2.Position  = ((uint)(50u));
     this.vSlider2.Size      = new System.Drawing.Size(47, 204);
     this.vSlider2.TabIndex  = 3;
     //
     // vSlider3
     //
     this.vSlider3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.vSlider3.Location  = new System.Drawing.Point(159, 83);
     this.vSlider3.MoveDelta = ((uint)(1u));
     this.vSlider3.Name      = "vSlider3";
     this.vSlider3.Position  = ((uint)(50u));
     this.vSlider3.Size      = new System.Drawing.Size(47, 204);
     this.vSlider3.TabIndex  = 4;
     //
     // vSlider4
     //
     this.vSlider4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.vSlider4.Location  = new System.Drawing.Point(212, 83);
     this.vSlider4.MoveDelta = ((uint)(1u));
     this.vSlider4.Name      = "vSlider4";
     this.vSlider4.Position  = ((uint)(50u));
     this.vSlider4.Size      = new System.Drawing.Size(47, 204);
     this.vSlider4.TabIndex  = 5;
     //
     // vSlider5
     //
     this.vSlider5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.vSlider5.Location  = new System.Drawing.Point(265, 83);
     this.vSlider5.MoveDelta = ((uint)(1u));
     this.vSlider5.Name      = "vSlider5";
     this.vSlider5.Position  = ((uint)(50u));
     this.vSlider5.Size      = new System.Drawing.Size(47, 204);
     this.vSlider5.TabIndex  = 6;
     //
     // vSlider6
     //
     this.vSlider6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.vSlider6.Location  = new System.Drawing.Point(318, 83);
     this.vSlider6.MoveDelta = ((uint)(1u));
     this.vSlider6.Name      = "vSlider6";
     this.vSlider6.Position  = ((uint)(50u));
     this.vSlider6.Size      = new System.Drawing.Size(47, 204);
     this.vSlider6.TabIndex  = 7;
     //
     // vSlider7
     //
     this.vSlider7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.vSlider7.Location  = new System.Drawing.Point(371, 83);
     this.vSlider7.MoveDelta = ((uint)(1u));
     this.vSlider7.Name      = "vSlider7";
     this.vSlider7.Position  = ((uint)(50u));
     this.vSlider7.Size      = new System.Drawing.Size(47, 204);
     this.vSlider7.TabIndex  = 8;
     //
     // vSlider8
     //
     this.vSlider8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.vSlider8.Location  = new System.Drawing.Point(424, 83);
     this.vSlider8.MoveDelta = ((uint)(1u));
     this.vSlider8.Name      = "vSlider8";
     this.vSlider8.Position  = ((uint)(50u));
     this.vSlider8.Size      = new System.Drawing.Size(47, 204);
     this.vSlider8.TabIndex  = 9;
     //
     // vSlider9
     //
     this.vSlider9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.vSlider9.Location  = new System.Drawing.Point(477, 83);
     this.vSlider9.MoveDelta = ((uint)(1u));
     this.vSlider9.Name      = "vSlider9";
     this.vSlider9.Position  = ((uint)(50u));
     this.vSlider9.Size      = new System.Drawing.Size(47, 204);
     this.vSlider9.TabIndex  = 10;
     //
     // vSlider10
     //
     this.vSlider10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.vSlider10.Location  = new System.Drawing.Point(530, 83);
     this.vSlider10.MoveDelta = ((uint)(1u));
     this.vSlider10.Name      = "vSlider10";
     this.vSlider10.Position  = ((uint)(50u));
     this.vSlider10.Size      = new System.Drawing.Size(47, 204);
     this.vSlider10.TabIndex  = 11;
     //
     // vSlider11
     //
     this.vSlider11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.vSlider11.Location  = new System.Drawing.Point(583, 83);
     this.vSlider11.MoveDelta = ((uint)(1u));
     this.vSlider11.Name      = "vSlider11";
     this.vSlider11.Position  = ((uint)(50u));
     this.vSlider11.Size      = new System.Drawing.Size(47, 204);
     this.vSlider11.TabIndex  = 12;
     //
     // vSlider12
     //
     this.vSlider12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.vSlider12.Location  = new System.Drawing.Point(636, 83);
     this.vSlider12.MoveDelta = ((uint)(1u));
     this.vSlider12.Name      = "vSlider12";
     this.vSlider12.Position  = ((uint)(50u));
     this.vSlider12.Size      = new System.Drawing.Size(47, 204);
     this.vSlider12.TabIndex  = 13;
     //
     // vSlider13
     //
     this.vSlider13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.vSlider13.Location  = new System.Drawing.Point(689, 83);
     this.vSlider13.MoveDelta = ((uint)(1u));
     this.vSlider13.Name      = "vSlider13";
     this.vSlider13.Position  = ((uint)(50u));
     this.vSlider13.Size      = new System.Drawing.Size(47, 204);
     this.vSlider13.TabIndex  = 14;
     //
     // vSlider14
     //
     this.vSlider14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.vSlider14.Location  = new System.Drawing.Point(742, 83);
     this.vSlider14.MoveDelta = ((uint)(1u));
     this.vSlider14.Name      = "vSlider14";
     this.vSlider14.Position  = ((uint)(50u));
     this.vSlider14.Size      = new System.Drawing.Size(47, 204);
     this.vSlider14.TabIndex  = 15;
     //
     // vSlider15
     //
     this.vSlider15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.vSlider15.Location  = new System.Drawing.Point(795, 83);
     this.vSlider15.MoveDelta = ((uint)(1u));
     this.vSlider15.Name      = "vSlider15";
     this.vSlider15.Position  = ((uint)(50u));
     this.vSlider15.Size      = new System.Drawing.Size(47, 204);
     this.vSlider15.TabIndex  = 16;
     //
     // vSlider16
     //
     this.vSlider16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.vSlider16.Location  = new System.Drawing.Point(848, 83);
     this.vSlider16.MoveDelta = ((uint)(1u));
     this.vSlider16.Name      = "vSlider16";
     this.vSlider16.Position  = ((uint)(50u));
     this.vSlider16.Size      = new System.Drawing.Size(47, 204);
     this.vSlider16.TabIndex  = 17;
     //
     // vSlider17
     //
     this.vSlider17.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.vSlider17.Location  = new System.Drawing.Point(901, 83);
     this.vSlider17.MoveDelta = ((uint)(1u));
     this.vSlider17.Name      = "vSlider17";
     this.vSlider17.Position  = ((uint)(50u));
     this.vSlider17.Size      = new System.Drawing.Size(47, 204);
     this.vSlider17.TabIndex  = 18;
     //
     // vSlider18
     //
     this.vSlider18.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.vSlider18.Location  = new System.Drawing.Point(954, 83);
     this.vSlider18.MoveDelta = ((uint)(1u));
     this.vSlider18.Name      = "vSlider18";
     this.vSlider18.Position  = ((uint)(50u));
     this.vSlider18.Size      = new System.Drawing.Size(47, 204);
     this.vSlider18.TabIndex  = 19;
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.ForeColor = System.Drawing.Color.Snow;
     this.label1.Location  = new System.Drawing.Point(69, 290);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(19, 13);
     this.label1.TabIndex  = 20;
     this.label1.Text      = "65";
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.ForeColor = System.Drawing.Color.Snow;
     this.label2.Location  = new System.Drawing.Point(121, 290);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(19, 13);
     this.label2.TabIndex  = 21;
     this.label2.Text      = "93";
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.ForeColor = System.Drawing.Color.Snow;
     this.label3.Location  = new System.Drawing.Point(173, 290);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(25, 13);
     this.label3.TabIndex  = 22;
     this.label3.Text      = "131";
     //
     // label4
     //
     this.label4.AutoSize  = true;
     this.label4.ForeColor = System.Drawing.Color.Snow;
     this.label4.Location  = new System.Drawing.Point(225, 290);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(25, 13);
     this.label4.TabIndex  = 23;
     this.label4.Text      = "185";
     //
     // label5
     //
     this.label5.AutoSize  = true;
     this.label5.ForeColor = System.Drawing.Color.Snow;
     this.label5.Location  = new System.Drawing.Point(279, 290);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(25, 13);
     this.label5.TabIndex  = 24;
     this.label5.Text      = "262";
     //
     // label6
     //
     this.label6.AutoSize  = true;
     this.label6.ForeColor = System.Drawing.Color.Snow;
     this.label6.Location  = new System.Drawing.Point(332, 290);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(25, 13);
     this.label6.TabIndex  = 25;
     this.label6.Text      = "370";
     //
     // label7
     //
     this.label7.AutoSize  = true;
     this.label7.ForeColor = System.Drawing.Color.Snow;
     this.label7.Location  = new System.Drawing.Point(384, 290);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(25, 13);
     this.label7.TabIndex  = 26;
     this.label7.Text      = "523";
     //
     // label8
     //
     this.label8.AutoSize  = true;
     this.label8.ForeColor = System.Drawing.Color.Snow;
     this.label8.Location  = new System.Drawing.Point(437, 290);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(25, 13);
     this.label8.TabIndex  = 27;
     this.label8.Text      = "740";
     //
     // label9
     //
     this.label9.AutoSize  = true;
     this.label9.ForeColor = System.Drawing.Color.Snow;
     this.label9.Location  = new System.Drawing.Point(487, 290);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(28, 13);
     this.label9.TabIndex  = 28;
     this.label9.Text      = "1.0k";
     //
     // label10
     //
     this.label10.AutoSize  = true;
     this.label10.ForeColor = System.Drawing.Color.Snow;
     this.label10.Location  = new System.Drawing.Point(540, 290);
     this.label10.Name      = "label10";
     this.label10.Size      = new System.Drawing.Size(28, 13);
     this.label10.TabIndex  = 29;
     this.label10.Text      = "1.5k";
     //
     // label11
     //
     this.label11.AutoSize  = true;
     this.label11.ForeColor = System.Drawing.Color.Snow;
     this.label11.Location  = new System.Drawing.Point(593, 290);
     this.label11.Name      = "label11";
     this.label11.Size      = new System.Drawing.Size(28, 13);
     this.label11.TabIndex  = 30;
     this.label11.Text      = "2.1k";
     //
     // label12
     //
     this.label12.AutoSize  = true;
     this.label12.ForeColor = System.Drawing.Color.Snow;
     this.label12.Location  = new System.Drawing.Point(646, 290);
     this.label12.Name      = "label12";
     this.label12.Size      = new System.Drawing.Size(28, 13);
     this.label12.TabIndex  = 31;
     this.label12.Text      = "3.0k";
     //
     // label13
     //
     this.label13.AutoSize  = true;
     this.label13.ForeColor = System.Drawing.Color.Snow;
     this.label13.Location  = new System.Drawing.Point(699, 290);
     this.label13.Name      = "label13";
     this.label13.Size      = new System.Drawing.Size(28, 13);
     this.label13.TabIndex  = 32;
     this.label13.Text      = "4.2k";
     //
     // label14
     //
     this.label14.AutoSize  = true;
     this.label14.ForeColor = System.Drawing.Color.Snow;
     this.label14.Location  = new System.Drawing.Point(752, 290);
     this.label14.Name      = "label14";
     this.label14.Size      = new System.Drawing.Size(28, 13);
     this.label14.TabIndex  = 33;
     this.label14.Text      = "6.0k";
     //
     // label15
     //
     this.label15.AutoSize  = true;
     this.label15.ForeColor = System.Drawing.Color.Snow;
     this.label15.Location  = new System.Drawing.Point(806, 290);
     this.label15.Name      = "label15";
     this.label15.Size      = new System.Drawing.Size(28, 13);
     this.label15.TabIndex  = 34;
     this.label15.Text      = "8.4k";
     //
     // label16
     //
     this.label16.AutoSize  = true;
     this.label16.ForeColor = System.Drawing.Color.Snow;
     this.label16.Location  = new System.Drawing.Point(857, 290);
     this.label16.Name      = "label16";
     this.label16.Size      = new System.Drawing.Size(34, 13);
     this.label16.TabIndex  = 35;
     this.label16.Text      = "11.8k";
     //
     // label17
     //
     this.label17.AutoSize  = true;
     this.label17.ForeColor = System.Drawing.Color.Snow;
     this.label17.Location  = new System.Drawing.Point(910, 290);
     this.label17.Name      = "label17";
     this.label17.Size      = new System.Drawing.Size(34, 13);
     this.label17.TabIndex  = 36;
     this.label17.Text      = "16.7k";
     //
     // label18
     //
     this.label18.AutoSize  = true;
     this.label18.ForeColor = System.Drawing.Color.Snow;
     this.label18.Location  = new System.Drawing.Point(967, 290);
     this.label18.Name      = "label18";
     this.label18.Size      = new System.Drawing.Size(25, 13);
     this.label18.TabIndex  = 37;
     this.label18.Text      = "20k";
     //
     // label_dB_Max
     //
     this.label_dB_Max.AutoSize  = true;
     this.label_dB_Max.ForeColor = System.Drawing.Color.Snow;
     this.label_dB_Max.Location  = new System.Drawing.Point(12, 101);
     this.label_dB_Max.Name      = "label_dB_Max";
     this.label_dB_Max.Size      = new System.Drawing.Size(32, 13);
     this.label_dB_Max.TabIndex  = 41;
     this.label_dB_Max.Text      = "13dB";
     //
     // label_dB_Min
     //
     this.label_dB_Min.AutoSize  = true;
     this.label_dB_Min.ForeColor = System.Drawing.Color.Snow;
     this.label_dB_Min.Location  = new System.Drawing.Point(12, 256);
     this.label_dB_Min.Name      = "label_dB_Min";
     this.label_dB_Min.Size      = new System.Drawing.Size(42, 13);
     this.label_dB_Min.TabIndex  = 42;
     this.label_dB_Min.Text      = "-120dB";
     //
     // label_dB_Zero
     //
     this.label_dB_Zero.AutoSize  = true;
     this.label_dB_Zero.ForeColor = System.Drawing.Color.Snow;
     this.label_dB_Zero.Location  = new System.Drawing.Point(12, 179);
     this.label_dB_Zero.Name      = "label_dB_Zero";
     this.label_dB_Zero.Size      = new System.Drawing.Size(26, 13);
     this.label_dB_Zero.TabIndex  = 43;
     this.label_dB_Zero.Text      = "0dB";
     //
     // checkBox_RealtimeAdjust
     //
     this.checkBox_RealtimeAdjust.AutoSize  = true;
     this.checkBox_RealtimeAdjust.ForeColor = System.Drawing.Color.Snow;
     this.checkBox_RealtimeAdjust.Location  = new System.Drawing.Point(386, 37);
     this.checkBox_RealtimeAdjust.Name      = "checkBox_RealtimeAdjust";
     this.checkBox_RealtimeAdjust.Size      = new System.Drawing.Size(186, 17);
     this.checkBox_RealtimeAdjust.TabIndex  = 44;
     this.checkBox_RealtimeAdjust.Text      = "$EQUALIZER_REALTIME_ADJUST";
     this.checkBox_RealtimeAdjust.UseVisualStyleBackColor = true;
     this.checkBox_RealtimeAdjust.CheckedChanged         += new System.EventHandler(this.checkBox_RealtimeAdjust_CheckedChanged);
     //
     // singleButton_Preset
     //
     this.singleButton_Preset.Location  = new System.Drawing.Point(176, 22);
     this.singleButton_Preset.Name      = "singleButton_Preset";
     this.singleButton_Preset.Size      = new System.Drawing.Size(136, 42);
     this.singleButton_Preset.TabIndex  = 45;
     this.singleButton_Preset.Text      = "$PRESET";
     this.singleButton_Preset.ThemeName = "VisualStudio2012Dark";
     this.singleButton_Preset.Click    += new System.EventHandler(this.singleButton_Load_Click);
     //
     // singleButton_OK
     //
     this.singleButton_OK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.singleButton_OK.Location     = new System.Drawing.Point(836, 22);
     this.singleButton_OK.Name         = "singleButton_OK";
     this.singleButton_OK.Size         = new System.Drawing.Size(136, 42);
     this.singleButton_OK.TabIndex     = 46;
     this.singleButton_OK.Text         = "$OK";
     this.singleButton_OK.ThemeName    = "VisualStudio2012Dark";
     //
     // frmEqualizer
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1013, 324);
     this.Controls.Add(this.singleButton_OK);
     this.Controls.Add(this.singleButton_Preset);
     this.Controls.Add(this.checkBox_RealtimeAdjust);
     this.Controls.Add(this.label_dB_Zero);
     this.Controls.Add(this.label_dB_Min);
     this.Controls.Add(this.label_dB_Max);
     this.Controls.Add(this.label18);
     this.Controls.Add(this.label17);
     this.Controls.Add(this.label16);
     this.Controls.Add(this.label15);
     this.Controls.Add(this.label14);
     this.Controls.Add(this.label13);
     this.Controls.Add(this.label12);
     this.Controls.Add(this.label11);
     this.Controls.Add(this.label10);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.vSlider18);
     this.Controls.Add(this.vSlider17);
     this.Controls.Add(this.vSlider16);
     this.Controls.Add(this.vSlider15);
     this.Controls.Add(this.vSlider14);
     this.Controls.Add(this.vSlider13);
     this.Controls.Add(this.vSlider12);
     this.Controls.Add(this.vSlider11);
     this.Controls.Add(this.vSlider10);
     this.Controls.Add(this.vSlider9);
     this.Controls.Add(this.vSlider8);
     this.Controls.Add(this.vSlider7);
     this.Controls.Add(this.vSlider6);
     this.Controls.Add(this.vSlider5);
     this.Controls.Add(this.vSlider4);
     this.Controls.Add(this.vSlider3);
     this.Controls.Add(this.vSlider2);
     this.Controls.Add(this.vSlider1);
     this.Controls.Add(this.onOffSwitch_Equalizer);
     this.Controls.Add(this.label_Equalizer_Enable);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.Name            = "frmEqualizer";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "$EQUALIZER";
     this.ThemeName     = "VisualStudio2012Dark";
     ((System.ComponentModel.ISupportInitialize)(this.singleButton_Preset)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.singleButton_OK)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #6
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmCompressor));
     this.onOffSwitch_Compressor  = new ViPER4WindowsBin.UIControls.OnOffSwitch();
     this.label_Compressor_Enable = new System.Windows.Forms.Label();
     this.groupBox_Threshold      = new System.Windows.Forms.GroupBox();
     this.label_Threshold         = new System.Windows.Forms.Label();
     this.hSlider_Threshold       = new ViPER4WindowsBin.UIControls.HSlider();
     this.groupBox_Knee           = new System.Windows.Forms.GroupBox();
     this.onOffSwitch_AutoKnee    = new ViPER4WindowsBin.UIControls.OnOffSwitch();
     this.label_AutoKnee          = new System.Windows.Forms.Label();
     this.label_Knee              = new System.Windows.Forms.Label();
     this.hSlider_Knee            = new ViPER4WindowsBin.UIControls.HSlider();
     this.groupBox_Ratio          = new System.Windows.Forms.GroupBox();
     this.label_Ratio             = new System.Windows.Forms.Label();
     this.hSlider_Ratio           = new ViPER4WindowsBin.UIControls.HSlider();
     this.groupBox_Release        = new System.Windows.Forms.GroupBox();
     this.onOffSwitch_AutoRelease = new ViPER4WindowsBin.UIControls.OnOffSwitch();
     this.label_AutoRelease       = new System.Windows.Forms.Label();
     this.label_Release           = new System.Windows.Forms.Label();
     this.hSlider_Release         = new ViPER4WindowsBin.UIControls.HSlider();
     this.groupBox_Attack         = new System.Windows.Forms.GroupBox();
     this.onOffSwitch_AutoAttack  = new ViPER4WindowsBin.UIControls.OnOffSwitch();
     this.label_AutoAttack        = new System.Windows.Forms.Label();
     this.label_Attack            = new System.Windows.Forms.Label();
     this.hSlider_Attack          = new ViPER4WindowsBin.UIControls.HSlider();
     this.groupBox_MakeUpGain     = new System.Windows.Forms.GroupBox();
     this.onOffSwitch_AutoGain    = new ViPER4WindowsBin.UIControls.OnOffSwitch();
     this.label_AutoGain          = new System.Windows.Forms.Label();
     this.label_Gain              = new System.Windows.Forms.Label();
     this.hSlider_Gain            = new ViPER4WindowsBin.UIControls.HSlider();
     this.label_NoClip            = new System.Windows.Forms.Label();
     this.onOffSwitch_NoClip      = new ViPER4WindowsBin.UIControls.OnOffSwitch();
     this.groupBox_Misc           = new System.Windows.Forms.GroupBox();
     this.label_Adapt             = new System.Windows.Forms.Label();
     this.label_AdaptValue        = new System.Windows.Forms.Label();
     this.hSlider_Adapt           = new ViPER4WindowsBin.UIControls.HSlider();
     this.label_Crest             = new System.Windows.Forms.Label();
     this.label_CrestValue        = new System.Windows.Forms.Label();
     this.hSlider_Crest           = new ViPER4WindowsBin.UIControls.HSlider();
     this.label_KneeMult          = new System.Windows.Forms.Label();
     this.label_KneeMultValue     = new System.Windows.Forms.Label();
     this.hSlider_KneeMult        = new ViPER4WindowsBin.UIControls.HSlider();
     this.singleButton_Cancel     = new Telerik.WinControls.UI.RadButton();
     this.singleButton_OK         = new Telerik.WinControls.UI.RadButton();
     this.groupBox_Threshold.SuspendLayout();
     this.groupBox_Knee.SuspendLayout();
     this.groupBox_Ratio.SuspendLayout();
     this.groupBox_Release.SuspendLayout();
     this.groupBox_Attack.SuspendLayout();
     this.groupBox_MakeUpGain.SuspendLayout();
     this.groupBox_Misc.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.singleButton_Cancel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.singleButton_OK)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // onOffSwitch_Compressor
     //
     this.onOffSwitch_Compressor.BackColor           = System.Drawing.Color.Transparent;
     this.onOffSwitch_Compressor.ForeColor           = System.Drawing.Color.Snow;
     this.onOffSwitch_Compressor.Location            = new System.Drawing.Point(12, 29);
     this.onOffSwitch_Compressor.Name                = "onOffSwitch_Compressor";
     this.onOffSwitch_Compressor.Size                = new System.Drawing.Size(107, 28);
     this.onOffSwitch_Compressor.SwitchedOn          = false;
     this.onOffSwitch_Compressor.TabIndex            = 3;
     this.onOffSwitch_Compressor.SwitchChangeNotify += new ViPER4WindowsBin.UIControls.OnOffSwitch.SwitchChangeEventDelegate(this.onOffSwitch_Compressor_SwitchChangeNotify);
     //
     // label_Compressor_Enable
     //
     this.label_Compressor_Enable.AutoSize  = true;
     this.label_Compressor_Enable.ForeColor = System.Drawing.Color.Snow;
     this.label_Compressor_Enable.Location  = new System.Drawing.Point(12, 14);
     this.label_Compressor_Enable.Name      = "label_Compressor_Enable";
     this.label_Compressor_Enable.Size      = new System.Drawing.Size(51, 13);
     this.label_Compressor_Enable.TabIndex  = 2;
     this.label_Compressor_Enable.Text      = "$ENABLE";
     //
     // groupBox_Threshold
     //
     this.groupBox_Threshold.Controls.Add(this.label_Threshold);
     this.groupBox_Threshold.Controls.Add(this.hSlider_Threshold);
     this.groupBox_Threshold.ForeColor = System.Drawing.Color.Snow;
     this.groupBox_Threshold.Location  = new System.Drawing.Point(12, 73);
     this.groupBox_Threshold.Name      = "groupBox_Threshold";
     this.groupBox_Threshold.Size      = new System.Drawing.Size(548, 61);
     this.groupBox_Threshold.TabIndex  = 4;
     this.groupBox_Threshold.TabStop   = false;
     this.groupBox_Threshold.Text      = "$COMPRESSOR_THRESHOLD";
     //
     // label_Threshold
     //
     this.label_Threshold.AutoSize  = true;
     this.label_Threshold.ForeColor = System.Drawing.Color.Snow;
     this.label_Threshold.Location  = new System.Drawing.Point(475, 29);
     this.label_Threshold.Name      = "label_Threshold";
     this.label_Threshold.Size      = new System.Drawing.Size(26, 13);
     this.label_Threshold.TabIndex  = 5;
     this.label_Threshold.Text      = "0dB";
     //
     // hSlider_Threshold
     //
     this.hSlider_Threshold.BackColor             = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.hSlider_Threshold.ForeColor             = System.Drawing.Color.Snow;
     this.hSlider_Threshold.Location              = new System.Drawing.Point(6, 20);
     this.hSlider_Threshold.MoveDelta             = ((uint)(1u));
     this.hSlider_Threshold.Name                  = "hSlider_Threshold";
     this.hSlider_Threshold.Position              = ((uint)(0u));
     this.hSlider_Threshold.PositionFloat         = 0F;
     this.hSlider_Threshold.Size                  = new System.Drawing.Size(463, 29);
     this.hSlider_Threshold.TabIndex              = 5;
     this.hSlider_Threshold.PositionChangeNotify += new ViPER4WindowsBin.UIControls.HSlider.PositionChangeEventDelegate(this.hSlider_Threshold_PositionChangeNotify);
     //
     // groupBox_Knee
     //
     this.groupBox_Knee.Controls.Add(this.onOffSwitch_AutoKnee);
     this.groupBox_Knee.Controls.Add(this.label_AutoKnee);
     this.groupBox_Knee.Controls.Add(this.label_Knee);
     this.groupBox_Knee.Controls.Add(this.hSlider_Knee);
     this.groupBox_Knee.ForeColor = System.Drawing.Color.Snow;
     this.groupBox_Knee.Location  = new System.Drawing.Point(12, 140);
     this.groupBox_Knee.Name      = "groupBox_Knee";
     this.groupBox_Knee.Size      = new System.Drawing.Size(271, 115);
     this.groupBox_Knee.TabIndex  = 5;
     this.groupBox_Knee.TabStop   = false;
     this.groupBox_Knee.Text      = "$COMPRESSOR_KNEEWIDTH";
     //
     // onOffSwitch_AutoKnee
     //
     this.onOffSwitch_AutoKnee.BackColor           = System.Drawing.Color.Transparent;
     this.onOffSwitch_AutoKnee.ForeColor           = System.Drawing.Color.Snow;
     this.onOffSwitch_AutoKnee.Location            = new System.Drawing.Point(22, 41);
     this.onOffSwitch_AutoKnee.Name                = "onOffSwitch_AutoKnee";
     this.onOffSwitch_AutoKnee.Size                = new System.Drawing.Size(49, 22);
     this.onOffSwitch_AutoKnee.SwitchedOn          = false;
     this.onOffSwitch_AutoKnee.TabIndex            = 6;
     this.onOffSwitch_AutoKnee.SwitchChangeNotify += new ViPER4WindowsBin.UIControls.OnOffSwitch.SwitchChangeEventDelegate(this.onOffSwitch_AutoKnee_SwitchChangeNotify);
     //
     // label_AutoKnee
     //
     this.label_AutoKnee.AutoSize  = true;
     this.label_AutoKnee.ForeColor = System.Drawing.Color.Snow;
     this.label_AutoKnee.Location  = new System.Drawing.Point(20, 26);
     this.label_AutoKnee.Name      = "label_AutoKnee";
     this.label_AutoKnee.Size      = new System.Drawing.Size(146, 13);
     this.label_AutoKnee.TabIndex  = 6;
     this.label_AutoKnee.Text      = "$COMPRESSOR_AUTOKNEE";
     //
     // label_Knee
     //
     this.label_Knee.AutoSize  = true;
     this.label_Knee.ForeColor = System.Drawing.Color.Snow;
     this.label_Knee.Location  = new System.Drawing.Point(198, 81);
     this.label_Knee.Name      = "label_Knee";
     this.label_Knee.Size      = new System.Drawing.Size(26, 13);
     this.label_Knee.TabIndex  = 5;
     this.label_Knee.Text      = "0dB";
     //
     // hSlider_Knee
     //
     this.hSlider_Knee.BackColor             = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.hSlider_Knee.ForeColor             = System.Drawing.Color.Snow;
     this.hSlider_Knee.Location              = new System.Drawing.Point(7, 72);
     this.hSlider_Knee.MoveDelta             = ((uint)(1u));
     this.hSlider_Knee.Name                  = "hSlider_Knee";
     this.hSlider_Knee.Position              = ((uint)(0u));
     this.hSlider_Knee.PositionFloat         = 0F;
     this.hSlider_Knee.Size                  = new System.Drawing.Size(185, 31);
     this.hSlider_Knee.TabIndex              = 5;
     this.hSlider_Knee.PositionChangeNotify += new ViPER4WindowsBin.UIControls.HSlider.PositionChangeEventDelegate(this.hSlider_Knee_PositionChangeNotify);
     //
     // groupBox_Ratio
     //
     this.groupBox_Ratio.Controls.Add(this.label_Ratio);
     this.groupBox_Ratio.Controls.Add(this.hSlider_Ratio);
     this.groupBox_Ratio.ForeColor = System.Drawing.Color.Snow;
     this.groupBox_Ratio.Location  = new System.Drawing.Point(289, 140);
     this.groupBox_Ratio.Name      = "groupBox_Ratio";
     this.groupBox_Ratio.Size      = new System.Drawing.Size(271, 115);
     this.groupBox_Ratio.TabIndex  = 6;
     this.groupBox_Ratio.TabStop   = false;
     this.groupBox_Ratio.Text      = "$COMPRESSOR_RATIO";
     //
     // label_Ratio
     //
     this.label_Ratio.AutoSize  = true;
     this.label_Ratio.ForeColor = System.Drawing.Color.Snow;
     this.label_Ratio.Location  = new System.Drawing.Point(198, 54);
     this.label_Ratio.Name      = "label_Ratio";
     this.label_Ratio.Size      = new System.Drawing.Size(37, 13);
     this.label_Ratio.TabIndex  = 5;
     this.label_Ratio.Text      = "1.00:1";
     //
     // hSlider_Ratio
     //
     this.hSlider_Ratio.BackColor             = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.hSlider_Ratio.ForeColor             = System.Drawing.Color.Snow;
     this.hSlider_Ratio.Location              = new System.Drawing.Point(7, 45);
     this.hSlider_Ratio.MoveDelta             = ((uint)(1u));
     this.hSlider_Ratio.Name                  = "hSlider_Ratio";
     this.hSlider_Ratio.Position              = ((uint)(0u));
     this.hSlider_Ratio.PositionFloat         = 0F;
     this.hSlider_Ratio.Size                  = new System.Drawing.Size(185, 31);
     this.hSlider_Ratio.TabIndex              = 5;
     this.hSlider_Ratio.PositionChangeNotify += new ViPER4WindowsBin.UIControls.HSlider.PositionChangeEventDelegate(this.hSlider_Ratio_PositionChangeNotify);
     //
     // groupBox_Release
     //
     this.groupBox_Release.Controls.Add(this.onOffSwitch_AutoRelease);
     this.groupBox_Release.Controls.Add(this.label_AutoRelease);
     this.groupBox_Release.Controls.Add(this.label_Release);
     this.groupBox_Release.Controls.Add(this.hSlider_Release);
     this.groupBox_Release.ForeColor = System.Drawing.Color.Snow;
     this.groupBox_Release.Location  = new System.Drawing.Point(289, 261);
     this.groupBox_Release.Name      = "groupBox_Release";
     this.groupBox_Release.Size      = new System.Drawing.Size(271, 115);
     this.groupBox_Release.TabIndex  = 8;
     this.groupBox_Release.TabStop   = false;
     this.groupBox_Release.Text      = "$COMPRESSOR_RELEASE";
     //
     // onOffSwitch_AutoRelease
     //
     this.onOffSwitch_AutoRelease.BackColor           = System.Drawing.Color.Transparent;
     this.onOffSwitch_AutoRelease.ForeColor           = System.Drawing.Color.Snow;
     this.onOffSwitch_AutoRelease.Location            = new System.Drawing.Point(22, 41);
     this.onOffSwitch_AutoRelease.Name                = "onOffSwitch_AutoRelease";
     this.onOffSwitch_AutoRelease.Size                = new System.Drawing.Size(49, 22);
     this.onOffSwitch_AutoRelease.SwitchedOn          = false;
     this.onOffSwitch_AutoRelease.TabIndex            = 6;
     this.onOffSwitch_AutoRelease.SwitchChangeNotify += new ViPER4WindowsBin.UIControls.OnOffSwitch.SwitchChangeEventDelegate(this.onOffSwitch_AutoRelease_SwitchChangeNotify);
     //
     // label_AutoRelease
     //
     this.label_AutoRelease.AutoSize  = true;
     this.label_AutoRelease.ForeColor = System.Drawing.Color.Snow;
     this.label_AutoRelease.Location  = new System.Drawing.Point(20, 26);
     this.label_AutoRelease.Name      = "label_AutoRelease";
     this.label_AutoRelease.Size      = new System.Drawing.Size(163, 13);
     this.label_AutoRelease.TabIndex  = 6;
     this.label_AutoRelease.Text      = "$COMPRESSOR_AUTORELEASE";
     //
     // label_Release
     //
     this.label_Release.AutoSize  = true;
     this.label_Release.ForeColor = System.Drawing.Color.Snow;
     this.label_Release.Location  = new System.Drawing.Point(198, 81);
     this.label_Release.Name      = "label_Release";
     this.label_Release.Size      = new System.Drawing.Size(42, 13);
     this.label_Release.TabIndex  = 5;
     this.label_Release.Text      = "5.00ms";
     //
     // hSlider_Release
     //
     this.hSlider_Release.BackColor             = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.hSlider_Release.ForeColor             = System.Drawing.Color.Snow;
     this.hSlider_Release.Location              = new System.Drawing.Point(7, 72);
     this.hSlider_Release.MoveDelta             = ((uint)(1u));
     this.hSlider_Release.Name                  = "hSlider_Release";
     this.hSlider_Release.Position              = ((uint)(0u));
     this.hSlider_Release.PositionFloat         = 0F;
     this.hSlider_Release.Size                  = new System.Drawing.Size(185, 31);
     this.hSlider_Release.TabIndex              = 5;
     this.hSlider_Release.PositionChangeNotify += new ViPER4WindowsBin.UIControls.HSlider.PositionChangeEventDelegate(this.hSlider_Release_PositionChangeNotify);
     //
     // groupBox_Attack
     //
     this.groupBox_Attack.Controls.Add(this.onOffSwitch_AutoAttack);
     this.groupBox_Attack.Controls.Add(this.label_AutoAttack);
     this.groupBox_Attack.Controls.Add(this.label_Attack);
     this.groupBox_Attack.Controls.Add(this.hSlider_Attack);
     this.groupBox_Attack.ForeColor = System.Drawing.Color.Snow;
     this.groupBox_Attack.Location  = new System.Drawing.Point(12, 261);
     this.groupBox_Attack.Name      = "groupBox_Attack";
     this.groupBox_Attack.Size      = new System.Drawing.Size(271, 115);
     this.groupBox_Attack.TabIndex  = 7;
     this.groupBox_Attack.TabStop   = false;
     this.groupBox_Attack.Text      = "$COMPRESSOR_ATTACK";
     //
     // onOffSwitch_AutoAttack
     //
     this.onOffSwitch_AutoAttack.BackColor           = System.Drawing.Color.Transparent;
     this.onOffSwitch_AutoAttack.ForeColor           = System.Drawing.Color.Snow;
     this.onOffSwitch_AutoAttack.Location            = new System.Drawing.Point(22, 41);
     this.onOffSwitch_AutoAttack.Name                = "onOffSwitch_AutoAttack";
     this.onOffSwitch_AutoAttack.Size                = new System.Drawing.Size(49, 22);
     this.onOffSwitch_AutoAttack.SwitchedOn          = false;
     this.onOffSwitch_AutoAttack.TabIndex            = 6;
     this.onOffSwitch_AutoAttack.SwitchChangeNotify += new ViPER4WindowsBin.UIControls.OnOffSwitch.SwitchChangeEventDelegate(this.onOffSwitch_AutoAttack_SwitchChangeNotify);
     //
     // label_AutoAttack
     //
     this.label_AutoAttack.AutoSize  = true;
     this.label_AutoAttack.ForeColor = System.Drawing.Color.Snow;
     this.label_AutoAttack.Location  = new System.Drawing.Point(20, 26);
     this.label_AutoAttack.Name      = "label_AutoAttack";
     this.label_AutoAttack.Size      = new System.Drawing.Size(157, 13);
     this.label_AutoAttack.TabIndex  = 6;
     this.label_AutoAttack.Text      = "$COMPRESSOR_AUTOATTACK";
     //
     // label_Attack
     //
     this.label_Attack.AutoSize  = true;
     this.label_Attack.ForeColor = System.Drawing.Color.Snow;
     this.label_Attack.Location  = new System.Drawing.Point(198, 81);
     this.label_Attack.Name      = "label_Attack";
     this.label_Attack.Size      = new System.Drawing.Size(42, 13);
     this.label_Attack.TabIndex  = 5;
     this.label_Attack.Text      = "0.10ms";
     //
     // hSlider_Attack
     //
     this.hSlider_Attack.BackColor             = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.hSlider_Attack.ForeColor             = System.Drawing.Color.Snow;
     this.hSlider_Attack.Location              = new System.Drawing.Point(7, 72);
     this.hSlider_Attack.MoveDelta             = ((uint)(1u));
     this.hSlider_Attack.Name                  = "hSlider_Attack";
     this.hSlider_Attack.Position              = ((uint)(0u));
     this.hSlider_Attack.PositionFloat         = 0F;
     this.hSlider_Attack.Size                  = new System.Drawing.Size(185, 31);
     this.hSlider_Attack.TabIndex              = 5;
     this.hSlider_Attack.PositionChangeNotify += new ViPER4WindowsBin.UIControls.HSlider.PositionChangeEventDelegate(this.hSlider_Attack_PositionChangeNotify);
     //
     // groupBox_MakeUpGain
     //
     this.groupBox_MakeUpGain.Controls.Add(this.onOffSwitch_AutoGain);
     this.groupBox_MakeUpGain.Controls.Add(this.label_AutoGain);
     this.groupBox_MakeUpGain.Controls.Add(this.label_Gain);
     this.groupBox_MakeUpGain.Controls.Add(this.hSlider_Gain);
     this.groupBox_MakeUpGain.ForeColor = System.Drawing.Color.Snow;
     this.groupBox_MakeUpGain.Location  = new System.Drawing.Point(12, 516);
     this.groupBox_MakeUpGain.Name      = "groupBox_MakeUpGain";
     this.groupBox_MakeUpGain.Size      = new System.Drawing.Size(548, 110);
     this.groupBox_MakeUpGain.TabIndex  = 11;
     this.groupBox_MakeUpGain.TabStop   = false;
     this.groupBox_MakeUpGain.Text      = "$COMPRESSOR_MAKEUPGAIN";
     //
     // onOffSwitch_AutoGain
     //
     this.onOffSwitch_AutoGain.BackColor           = System.Drawing.Color.Transparent;
     this.onOffSwitch_AutoGain.ForeColor           = System.Drawing.Color.Snow;
     this.onOffSwitch_AutoGain.Location            = new System.Drawing.Point(22, 41);
     this.onOffSwitch_AutoGain.Name                = "onOffSwitch_AutoGain";
     this.onOffSwitch_AutoGain.Size                = new System.Drawing.Size(49, 22);
     this.onOffSwitch_AutoGain.SwitchedOn          = false;
     this.onOffSwitch_AutoGain.TabIndex            = 8;
     this.onOffSwitch_AutoGain.SwitchChangeNotify += new ViPER4WindowsBin.UIControls.OnOffSwitch.SwitchChangeEventDelegate(this.onOffSwitch_AutoGain_SwitchChangeNotify);
     //
     // label_AutoGain
     //
     this.label_AutoGain.AutoSize  = true;
     this.label_AutoGain.ForeColor = System.Drawing.Color.Snow;
     this.label_AutoGain.Location  = new System.Drawing.Point(20, 26);
     this.label_AutoGain.Name      = "label_AutoGain";
     this.label_AutoGain.Size      = new System.Drawing.Size(146, 13);
     this.label_AutoGain.TabIndex  = 7;
     this.label_AutoGain.Text      = "$COMPRESSOR_AUTOGAIN";
     //
     // label_Gain
     //
     this.label_Gain.AutoSize  = true;
     this.label_Gain.ForeColor = System.Drawing.Color.Snow;
     this.label_Gain.Location  = new System.Drawing.Point(475, 79);
     this.label_Gain.Name      = "label_Gain";
     this.label_Gain.Size      = new System.Drawing.Size(26, 13);
     this.label_Gain.TabIndex  = 5;
     this.label_Gain.Text      = "0dB";
     //
     // hSlider_Gain
     //
     this.hSlider_Gain.BackColor             = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.hSlider_Gain.ForeColor             = System.Drawing.Color.Snow;
     this.hSlider_Gain.Location              = new System.Drawing.Point(7, 71);
     this.hSlider_Gain.MoveDelta             = ((uint)(1u));
     this.hSlider_Gain.Name                  = "hSlider_Gain";
     this.hSlider_Gain.Position              = ((uint)(0u));
     this.hSlider_Gain.PositionFloat         = 0F;
     this.hSlider_Gain.Size                  = new System.Drawing.Size(462, 29);
     this.hSlider_Gain.TabIndex              = 5;
     this.hSlider_Gain.PositionChangeNotify += new ViPER4WindowsBin.UIControls.HSlider.PositionChangeEventDelegate(this.hSlider_Gain_PositionChangeNotify);
     //
     // label_NoClip
     //
     this.label_NoClip.AutoSize  = true;
     this.label_NoClip.ForeColor = System.Drawing.Color.Snow;
     this.label_NoClip.Location  = new System.Drawing.Point(163, 14);
     this.label_NoClip.Name      = "label_NoClip";
     this.label_NoClip.Size      = new System.Drawing.Size(129, 13);
     this.label_NoClip.TabIndex  = 12;
     this.label_NoClip.Text      = "$COMPRESSOR_NOCLIP";
     //
     // onOffSwitch_NoClip
     //
     this.onOffSwitch_NoClip.BackColor           = System.Drawing.Color.Transparent;
     this.onOffSwitch_NoClip.ForeColor           = System.Drawing.Color.Snow;
     this.onOffSwitch_NoClip.Location            = new System.Drawing.Point(165, 29);
     this.onOffSwitch_NoClip.Name                = "onOffSwitch_NoClip";
     this.onOffSwitch_NoClip.Size                = new System.Drawing.Size(107, 28);
     this.onOffSwitch_NoClip.SwitchedOn          = false;
     this.onOffSwitch_NoClip.TabIndex            = 13;
     this.onOffSwitch_NoClip.SwitchChangeNotify += new ViPER4WindowsBin.UIControls.OnOffSwitch.SwitchChangeEventDelegate(this.onOffSwitch_NoClip_SwitchChangeNotify);
     //
     // groupBox_Misc
     //
     this.groupBox_Misc.Controls.Add(this.label_Adapt);
     this.groupBox_Misc.Controls.Add(this.label_AdaptValue);
     this.groupBox_Misc.Controls.Add(this.hSlider_Adapt);
     this.groupBox_Misc.Controls.Add(this.label_Crest);
     this.groupBox_Misc.Controls.Add(this.label_CrestValue);
     this.groupBox_Misc.Controls.Add(this.hSlider_Crest);
     this.groupBox_Misc.Controls.Add(this.label_KneeMult);
     this.groupBox_Misc.Controls.Add(this.label_KneeMultValue);
     this.groupBox_Misc.Controls.Add(this.hSlider_KneeMult);
     this.groupBox_Misc.ForeColor = System.Drawing.Color.Snow;
     this.groupBox_Misc.Location  = new System.Drawing.Point(12, 382);
     this.groupBox_Misc.Name      = "groupBox_Misc";
     this.groupBox_Misc.Size      = new System.Drawing.Size(548, 128);
     this.groupBox_Misc.TabIndex  = 14;
     this.groupBox_Misc.TabStop   = false;
     this.groupBox_Misc.Text      = "$COMPRESSOR_MISC";
     //
     // label_Adapt
     //
     this.label_Adapt.AutoSize  = true;
     this.label_Adapt.ForeColor = System.Drawing.Color.Snow;
     this.label_Adapt.Location  = new System.Drawing.Point(297, 76);
     this.label_Adapt.Name      = "label_Adapt";
     this.label_Adapt.Size      = new System.Drawing.Size(150, 13);
     this.label_Adapt.TabIndex  = 12;
     this.label_Adapt.Text      = "$COMPRESSOR_ADAPTTIME";
     //
     // label_AdaptValue
     //
     this.label_AdaptValue.AutoSize  = true;
     this.label_AdaptValue.ForeColor = System.Drawing.Color.Snow;
     this.label_AdaptValue.Location  = new System.Drawing.Point(475, 100);
     this.label_AdaptValue.Name      = "label_AdaptValue";
     this.label_AdaptValue.Size      = new System.Drawing.Size(42, 13);
     this.label_AdaptValue.TabIndex  = 11;
     this.label_AdaptValue.Text      = "0.00ms";
     //
     // hSlider_Adapt
     //
     this.hSlider_Adapt.BackColor             = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.hSlider_Adapt.ForeColor             = System.Drawing.Color.Snow;
     this.hSlider_Adapt.Location              = new System.Drawing.Point(284, 91);
     this.hSlider_Adapt.MoveDelta             = ((uint)(1u));
     this.hSlider_Adapt.Name                  = "hSlider_Adapt";
     this.hSlider_Adapt.Position              = ((uint)(0u));
     this.hSlider_Adapt.PositionFloat         = 0F;
     this.hSlider_Adapt.Size                  = new System.Drawing.Size(185, 31);
     this.hSlider_Adapt.TabIndex              = 10;
     this.hSlider_Adapt.PositionChangeNotify += new ViPER4WindowsBin.UIControls.HSlider.PositionChangeEventDelegate(this.hSlider_Adapt_PositionChangeNotify);
     //
     // label_Crest
     //
     this.label_Crest.AutoSize  = true;
     this.label_Crest.ForeColor = System.Drawing.Color.Snow;
     this.label_Crest.Location  = new System.Drawing.Point(297, 20);
     this.label_Crest.Name      = "label_Crest";
     this.label_Crest.Size      = new System.Drawing.Size(148, 13);
     this.label_Crest.TabIndex  = 9;
     this.label_Crest.Text      = "$COMPRESSOR_CRESTTIME";
     //
     // label_CrestValue
     //
     this.label_CrestValue.AutoSize  = true;
     this.label_CrestValue.ForeColor = System.Drawing.Color.Snow;
     this.label_CrestValue.Location  = new System.Drawing.Point(475, 44);
     this.label_CrestValue.Name      = "label_CrestValue";
     this.label_CrestValue.Size      = new System.Drawing.Size(42, 13);
     this.label_CrestValue.TabIndex  = 8;
     this.label_CrestValue.Text      = "0.00ms";
     //
     // hSlider_Crest
     //
     this.hSlider_Crest.BackColor             = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.hSlider_Crest.ForeColor             = System.Drawing.Color.Snow;
     this.hSlider_Crest.Location              = new System.Drawing.Point(284, 35);
     this.hSlider_Crest.MoveDelta             = ((uint)(1u));
     this.hSlider_Crest.Name                  = "hSlider_Crest";
     this.hSlider_Crest.Position              = ((uint)(0u));
     this.hSlider_Crest.PositionFloat         = 0F;
     this.hSlider_Crest.Size                  = new System.Drawing.Size(185, 31);
     this.hSlider_Crest.TabIndex              = 7;
     this.hSlider_Crest.PositionChangeNotify += new ViPER4WindowsBin.UIControls.HSlider.PositionChangeEventDelegate(this.hSlider_Crest_PositionChangeNotify);
     //
     // label_KneeMult
     //
     this.label_KneeMult.AutoSize  = true;
     this.label_KneeMult.ForeColor = System.Drawing.Color.Snow;
     this.label_KneeMult.Location  = new System.Drawing.Point(20, 43);
     this.label_KneeMult.Name      = "label_KneeMult";
     this.label_KneeMult.Size      = new System.Drawing.Size(145, 13);
     this.label_KneeMult.TabIndex  = 6;
     this.label_KneeMult.Text      = "$COMPRESSOR_KNEEMULT";
     //
     // label_KneeMultValue
     //
     this.label_KneeMultValue.AutoSize  = true;
     this.label_KneeMultValue.ForeColor = System.Drawing.Color.Snow;
     this.label_KneeMultValue.Location  = new System.Drawing.Point(198, 67);
     this.label_KneeMultValue.Name      = "label_KneeMultValue";
     this.label_KneeMultValue.Size      = new System.Drawing.Size(33, 13);
     this.label_KneeMultValue.TabIndex  = 5;
     this.label_KneeMultValue.Text      = "2.00x";
     //
     // hSlider_KneeMult
     //
     this.hSlider_KneeMult.BackColor             = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.hSlider_KneeMult.ForeColor             = System.Drawing.Color.Snow;
     this.hSlider_KneeMult.Location              = new System.Drawing.Point(7, 58);
     this.hSlider_KneeMult.MoveDelta             = ((uint)(1u));
     this.hSlider_KneeMult.Name                  = "hSlider_KneeMult";
     this.hSlider_KneeMult.Position              = ((uint)(0u));
     this.hSlider_KneeMult.PositionFloat         = 0F;
     this.hSlider_KneeMult.Size                  = new System.Drawing.Size(185, 31);
     this.hSlider_KneeMult.TabIndex              = 5;
     this.hSlider_KneeMult.PositionChangeNotify += new ViPER4WindowsBin.UIControls.HSlider.PositionChangeEventDelegate(this.hSlider_KneeMult_PositionChangeNotify);
     //
     // singleButton_Cancel
     //
     this.singleButton_Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.singleButton_Cancel.Location     = new System.Drawing.Point(453, 25);
     this.singleButton_Cancel.Name         = "singleButton_Cancel";
     this.singleButton_Cancel.Size         = new System.Drawing.Size(93, 32);
     this.singleButton_Cancel.TabIndex     = 26;
     this.singleButton_Cancel.Text         = "$CANCEL";
     this.singleButton_Cancel.ThemeName    = "VisualStudio2012Dark";
     //
     // singleButton_OK
     //
     this.singleButton_OK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.singleButton_OK.Location     = new System.Drawing.Point(341, 25);
     this.singleButton_OK.Name         = "singleButton_OK";
     this.singleButton_OK.Size         = new System.Drawing.Size(89, 32);
     this.singleButton_OK.TabIndex     = 26;
     this.singleButton_OK.Text         = "$OK";
     this.singleButton_OK.ThemeName    = "VisualStudio2012Dark";
     //
     // frmCompressor
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(574, 637);
     this.Controls.Add(this.singleButton_OK);
     this.Controls.Add(this.singleButton_Cancel);
     this.Controls.Add(this.groupBox_Misc);
     this.Controls.Add(this.onOffSwitch_NoClip);
     this.Controls.Add(this.label_NoClip);
     this.Controls.Add(this.groupBox_MakeUpGain);
     this.Controls.Add(this.groupBox_Release);
     this.Controls.Add(this.groupBox_Attack);
     this.Controls.Add(this.groupBox_Ratio);
     this.Controls.Add(this.groupBox_Knee);
     this.Controls.Add(this.groupBox_Threshold);
     this.Controls.Add(this.onOffSwitch_Compressor);
     this.Controls.Add(this.label_Compressor_Enable);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.Name            = "frmCompressor";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "$COMPRESSOR";
     this.ThemeName     = "VisualStudio2012Dark";
     this.groupBox_Threshold.ResumeLayout(false);
     this.groupBox_Threshold.PerformLayout();
     this.groupBox_Knee.ResumeLayout(false);
     this.groupBox_Knee.PerformLayout();
     this.groupBox_Ratio.ResumeLayout(false);
     this.groupBox_Ratio.PerformLayout();
     this.groupBox_Release.ResumeLayout(false);
     this.groupBox_Release.PerformLayout();
     this.groupBox_Attack.ResumeLayout(false);
     this.groupBox_Attack.PerformLayout();
     this.groupBox_MakeUpGain.ResumeLayout(false);
     this.groupBox_MakeUpGain.PerformLayout();
     this.groupBox_Misc.ResumeLayout(false);
     this.groupBox_Misc.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.singleButton_Cancel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.singleButton_OK)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #7
0
 public WhenReadingOnOffSwitch(ITestOutputHelper testOutputHelper)
 {
     _dataProvider = new TestDataProvider();
     _testSensor   = new OnOffSwitch(SensorId, new TestLogger(testOutputHelper), _dataProvider, new DataSourceFactory());
 }
コード例 #8
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmVirtualization));
     this.label_AudioSystemConfig        = new System.Windows.Forms.Label();
     this.groupBox_VirtApplied           = new System.Windows.Forms.GroupBox();
     this.checkBox_Freestyle             = new System.Windows.Forms.CheckBox();
     this.checkBox_MovieMode             = new System.Windows.Forms.CheckBox();
     this.checkBox_MusicMode             = new System.Windows.Forms.CheckBox();
     this.listView_Speaker               = new System.Windows.Forms.ListView();
     this.columnHeader_Speaker           = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader_Angle             = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.groupBox_VirtEnv               = new System.Windows.Forms.GroupBox();
     this.twoSelector_PrePostProcess     = new ViPER4WindowsBin.UIControls.TwoSelector();
     this.label_PrePostProcess           = new System.Windows.Forms.Label();
     this.hSlider_EnvRealizeDrySignal    = new ViPER4WindowsBin.UIControls.HSlider();
     this.comboBox_EnvRealizePreset      = new System.Windows.Forms.ComboBox();
     this.onOffSwitch_EnvRealize         = new ViPER4WindowsBin.UIControls.OnOffSwitch();
     this.contextMenuStrip_SpeakerAngle  = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.toolStripMenuItem_SpeakerAngle = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator_Angle       = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripComboBox_SpeakerAngle = new System.Windows.Forms.ToolStripComboBox();
     this.singleButton_ResetConfig       = new ViPER4WindowsBin.UIControls.SingleButton();
     this.buttonBox_AudioSystemConfig    = new ViPER4WindowsBin.UIControls.ButtonBox();
     this.singleButton_OK     = new Telerik.WinControls.UI.RadButton();
     this.singleButton_Cancel = new Telerik.WinControls.UI.RadButton();
     this.groupBox_VirtApplied.SuspendLayout();
     this.groupBox_VirtEnv.SuspendLayout();
     this.contextMenuStrip_SpeakerAngle.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.singleButton_OK)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.singleButton_Cancel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // label_AudioSystemConfig
     //
     this.label_AudioSystemConfig.AutoSize = true;
     this.label_AudioSystemConfig.Location = new System.Drawing.Point(12, 18);
     this.label_AudioSystemConfig.Name     = "label_AudioSystemConfig";
     this.label_AudioSystemConfig.Size     = new System.Drawing.Size(138, 13);
     this.label_AudioSystemConfig.TabIndex = 0;
     this.label_AudioSystemConfig.Text     = "$AUDIO_SYSTEM_CONFIG";
     //
     // groupBox_VirtApplied
     //
     this.groupBox_VirtApplied.Controls.Add(this.checkBox_Freestyle);
     this.groupBox_VirtApplied.Controls.Add(this.checkBox_MovieMode);
     this.groupBox_VirtApplied.Controls.Add(this.checkBox_MusicMode);
     this.groupBox_VirtApplied.ForeColor = System.Drawing.Color.Snow;
     this.groupBox_VirtApplied.Location  = new System.Drawing.Point(151, 316);
     this.groupBox_VirtApplied.Name      = "groupBox_VirtApplied";
     this.groupBox_VirtApplied.Size      = new System.Drawing.Size(167, 95);
     this.groupBox_VirtApplied.TabIndex  = 2;
     this.groupBox_VirtApplied.TabStop   = false;
     this.groupBox_VirtApplied.Text      = "$VIRT_APPLIED";
     //
     // checkBox_Freestyle
     //
     this.checkBox_Freestyle.AutoSize = true;
     this.checkBox_Freestyle.Location = new System.Drawing.Point(16, 69);
     this.checkBox_Freestyle.Name     = "checkBox_Freestyle";
     this.checkBox_Freestyle.Size     = new System.Drawing.Size(123, 17);
     this.checkBox_Freestyle.TabIndex = 5;
     this.checkBox_Freestyle.Text     = "$FREESTYLE_MODE";
     this.checkBox_Freestyle.UseVisualStyleBackColor = true;
     //
     // checkBox_MovieMode
     //
     this.checkBox_MovieMode.AutoSize = true;
     this.checkBox_MovieMode.Location = new System.Drawing.Point(16, 46);
     this.checkBox_MovieMode.Name     = "checkBox_MovieMode";
     this.checkBox_MovieMode.Size     = new System.Drawing.Size(105, 17);
     this.checkBox_MovieMode.TabIndex = 4;
     this.checkBox_MovieMode.Text     = "$MOVIE_MODE";
     this.checkBox_MovieMode.UseVisualStyleBackColor = true;
     //
     // checkBox_MusicMode
     //
     this.checkBox_MusicMode.AutoSize = true;
     this.checkBox_MusicMode.Location = new System.Drawing.Point(16, 22);
     this.checkBox_MusicMode.Name     = "checkBox_MusicMode";
     this.checkBox_MusicMode.Size     = new System.Drawing.Size(104, 17);
     this.checkBox_MusicMode.TabIndex = 3;
     this.checkBox_MusicMode.Text     = "$MUSIC_MODE";
     this.checkBox_MusicMode.UseVisualStyleBackColor = true;
     //
     // listView_Speaker
     //
     this.listView_Speaker.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.listView_Speaker.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader_Speaker,
         this.columnHeader_Angle
     });
     this.listView_Speaker.FullRowSelect = true;
     this.listView_Speaker.GridLines     = true;
     this.listView_Speaker.HeaderStyle   = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
     this.listView_Speaker.HideSelection = false;
     this.listView_Speaker.Location      = new System.Drawing.Point(151, 77);
     this.listView_Speaker.MultiSelect   = false;
     this.listView_Speaker.Name          = "listView_Speaker";
     this.listView_Speaker.Size          = new System.Drawing.Size(167, 233);
     this.listView_Speaker.TabIndex      = 3;
     this.listView_Speaker.UseCompatibleStateImageBehavior = false;
     this.listView_Speaker.View     = System.Windows.Forms.View.Details;
     this.listView_Speaker.MouseUp += new System.Windows.Forms.MouseEventHandler(this.listView_Speaker_MouseUp);
     //
     // columnHeader_Speaker
     //
     this.columnHeader_Speaker.Text  = "$VIRT_SPEAKER";
     this.columnHeader_Speaker.Width = 95;
     //
     // columnHeader_Angle
     //
     this.columnHeader_Angle.Text = "$VIRT_SPEAKER_ANGLE";
     //
     // groupBox_VirtEnv
     //
     this.groupBox_VirtEnv.Controls.Add(this.twoSelector_PrePostProcess);
     this.groupBox_VirtEnv.Controls.Add(this.label_PrePostProcess);
     this.groupBox_VirtEnv.Controls.Add(this.hSlider_EnvRealizeDrySignal);
     this.groupBox_VirtEnv.Controls.Add(this.comboBox_EnvRealizePreset);
     this.groupBox_VirtEnv.Controls.Add(this.onOffSwitch_EnvRealize);
     this.groupBox_VirtEnv.ForeColor = System.Drawing.Color.Snow;
     this.groupBox_VirtEnv.Location  = new System.Drawing.Point(324, 39);
     this.groupBox_VirtEnv.Name      = "groupBox_VirtEnv";
     this.groupBox_VirtEnv.Size      = new System.Drawing.Size(222, 115);
     this.groupBox_VirtEnv.TabIndex  = 5;
     this.groupBox_VirtEnv.TabStop   = false;
     this.groupBox_VirtEnv.Text      = "$VIRTUAL_ENVIRONMENT";
     //
     // twoSelector_PrePostProcess
     //
     this.twoSelector_PrePostProcess.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.twoSelector_PrePostProcess.CurrentObject = null;
     this.twoSelector_PrePostProcess.LeftObject    = null;
     this.twoSelector_PrePostProcess.Location      = new System.Drawing.Point(146, 80);
     this.twoSelector_PrePostProcess.Name          = "twoSelector_PrePostProcess";
     this.twoSelector_PrePostProcess.RightObject   = null;
     this.twoSelector_PrePostProcess.Selector      = ViPER4WindowsBin.UIControls.TwoSelector.SelectorPosition.SELECTOR_ON_LEFT;
     this.twoSelector_PrePostProcess.Size          = new System.Drawing.Size(70, 24);
     this.twoSelector_PrePostProcess.TabIndex      = 9;
     //
     // label_PrePostProcess
     //
     this.label_PrePostProcess.AutoSize = true;
     this.label_PrePostProcess.Location = new System.Drawing.Point(6, 86);
     this.label_PrePostProcess.Name     = "label_PrePostProcess";
     this.label_PrePostProcess.Size     = new System.Drawing.Size(116, 13);
     this.label_PrePostProcess.TabIndex = 3;
     this.label_PrePostProcess.Text     = "$PRE_POST_PROCESS";
     //
     // hSlider_EnvRealizeDrySignal
     //
     this.hSlider_EnvRealizeDrySignal.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.hSlider_EnvRealizeDrySignal.Location      = new System.Drawing.Point(68, 52);
     this.hSlider_EnvRealizeDrySignal.MoveDelta     = ((uint)(1u));
     this.hSlider_EnvRealizeDrySignal.Name          = "hSlider_EnvRealizeDrySignal";
     this.hSlider_EnvRealizeDrySignal.Position      = ((uint)(0u));
     this.hSlider_EnvRealizeDrySignal.PositionFloat = 0F;
     this.hSlider_EnvRealizeDrySignal.Size          = new System.Drawing.Size(148, 22);
     this.hSlider_EnvRealizeDrySignal.TabIndex      = 2;
     //
     // comboBox_EnvRealizePreset
     //
     this.comboBox_EnvRealizePreset.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.comboBox_EnvRealizePreset.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox_EnvRealizePreset.FormattingEnabled = true;
     this.comboBox_EnvRealizePreset.Location          = new System.Drawing.Point(6, 22);
     this.comboBox_EnvRealizePreset.Name     = "comboBox_EnvRealizePreset";
     this.comboBox_EnvRealizePreset.Size     = new System.Drawing.Size(210, 21);
     this.comboBox_EnvRealizePreset.TabIndex = 1;
     //
     // onOffSwitch_EnvRealize
     //
     this.onOffSwitch_EnvRealize.BackColor  = System.Drawing.Color.Transparent;
     this.onOffSwitch_EnvRealize.Location   = new System.Drawing.Point(6, 50);
     this.onOffSwitch_EnvRealize.Name       = "onOffSwitch_EnvRealize";
     this.onOffSwitch_EnvRealize.Size       = new System.Drawing.Size(53, 24);
     this.onOffSwitch_EnvRealize.SwitchedOn = false;
     this.onOffSwitch_EnvRealize.TabIndex   = 0;
     //
     // contextMenuStrip_SpeakerAngle
     //
     this.contextMenuStrip_SpeakerAngle.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripMenuItem_SpeakerAngle,
         this.toolStripSeparator_Angle,
         this.toolStripComboBox_SpeakerAngle
     });
     this.contextMenuStrip_SpeakerAngle.Name    = "contextMenuStrip_SpeakerAngle";
     this.contextMenuStrip_SpeakerAngle.Size    = new System.Drawing.Size(182, 59);
     this.contextMenuStrip_SpeakerAngle.Closed += new System.Windows.Forms.ToolStripDropDownClosedEventHandler(this.contextMenuStrip_SpeakerAngle_Closed);
     //
     // toolStripMenuItem_SpeakerAngle
     //
     this.toolStripMenuItem_SpeakerAngle.Enabled = false;
     this.toolStripMenuItem_SpeakerAngle.Name    = "toolStripMenuItem_SpeakerAngle";
     this.toolStripMenuItem_SpeakerAngle.Size    = new System.Drawing.Size(181, 22);
     this.toolStripMenuItem_SpeakerAngle.Text    = "$SPEAKER_ANGLE";
     this.toolStripMenuItem_SpeakerAngle.Click  += new System.EventHandler(this.toolStripMenuItem_SpeakerAngle_Click);
     //
     // toolStripSeparator_Angle
     //
     this.toolStripSeparator_Angle.Name = "toolStripSeparator_Angle";
     this.toolStripSeparator_Angle.Size = new System.Drawing.Size(178, 6);
     //
     // toolStripComboBox_SpeakerAngle
     //
     this.toolStripComboBox_SpeakerAngle.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.toolStripComboBox_SpeakerAngle.Name                  = "toolStripComboBox_SpeakerAngle";
     this.toolStripComboBox_SpeakerAngle.Size                  = new System.Drawing.Size(121, 23);
     this.toolStripComboBox_SpeakerAngle.SelectedIndexChanged += new System.EventHandler(this.toolStripComboBox_SpeakerAngle_SelectedIndexChanged);
     //
     // singleButton_ResetConfig
     //
     this.singleButton_ResetConfig.BackColor          = System.Drawing.SystemColors.Control;
     this.singleButton_ResetConfig.ButtonText         = "$VIRT_RESET";
     this.singleButton_ResetConfig.Location           = new System.Drawing.Point(151, 39);
     this.singleButton_ResetConfig.Name               = "singleButton_ResetConfig";
     this.singleButton_ResetConfig.Size               = new System.Drawing.Size(167, 28);
     this.singleButton_ResetConfig.TabIndex           = 4;
     this.singleButton_ResetConfig.ButtonClickNotify += new ViPER4WindowsBin.UIControls.SingleButton.ButtonClickEventDelegate(this.singleButton_ResetConfig_ButtonClickNotify);
     //
     // buttonBox_AudioSystemConfig
     //
     this.buttonBox_AudioSystemConfig.BackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.buttonBox_AudioSystemConfig.Location            = new System.Drawing.Point(14, 39);
     this.buttonBox_AudioSystemConfig.Name                = "buttonBox_AudioSystemConfig";
     this.buttonBox_AudioSystemConfig.Size                = new System.Drawing.Size(131, 373);
     this.buttonBox_AudioSystemConfig.TabIndex            = 1;
     this.buttonBox_AudioSystemConfig.ItemSelectedNotify += new ViPER4WindowsBin.UIControls.ButtonBox.ItemSelectDelegate(this.buttonBox_AudioSystemConfig_ItemSelectedNotify);
     this.buttonBox_AudioSystemConfig.Load               += new System.EventHandler(this.buttonBox_AudioSystemConfig_Load);
     //
     // singleButton_OK
     //
     this.singleButton_OK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.singleButton_OK.Location     = new System.Drawing.Point(343, 378);
     this.singleButton_OK.Name         = "singleButton_OK";
     this.singleButton_OK.Size         = new System.Drawing.Size(89, 32);
     this.singleButton_OK.TabIndex     = 29;
     this.singleButton_OK.Text         = "$OK";
     this.singleButton_OK.ThemeName    = "VisualStudio2012Dark";
     //
     // singleButton_Cancel
     //
     this.singleButton_Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.singleButton_Cancel.Location     = new System.Drawing.Point(455, 378);
     this.singleButton_Cancel.Name         = "singleButton_Cancel";
     this.singleButton_Cancel.Size         = new System.Drawing.Size(93, 32);
     this.singleButton_Cancel.TabIndex     = 30;
     this.singleButton_Cancel.Text         = "$CANCEL";
     this.singleButton_Cancel.ThemeName    = "VisualStudio2012Dark";
     //
     // frmVirtualization
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(562, 427);
     this.Controls.Add(this.singleButton_OK);
     this.Controls.Add(this.singleButton_Cancel);
     this.Controls.Add(this.groupBox_VirtEnv);
     this.Controls.Add(this.singleButton_ResetConfig);
     this.Controls.Add(this.listView_Speaker);
     this.Controls.Add(this.groupBox_VirtApplied);
     this.Controls.Add(this.buttonBox_AudioSystemConfig);
     this.Controls.Add(this.label_AudioSystemConfig);
     this.ForeColor       = System.Drawing.Color.Snow;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.Name            = "frmVirtualization";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "$VIRTUALIZATION";
     this.ThemeName     = "VisualStudio2012Dark";
     this.groupBox_VirtApplied.ResumeLayout(false);
     this.groupBox_VirtApplied.PerformLayout();
     this.groupBox_VirtEnv.ResumeLayout(false);
     this.groupBox_VirtEnv.PerformLayout();
     this.contextMenuStrip_SpeakerAngle.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.singleButton_OK)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.singleButton_Cancel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }