private static void RemoveOldStuff(MPButton button)
        {
            var gameplay = button.transform.Find("Text, Gameplay");

            if (gameplay)
            {
                Object.Destroy(gameplay.gameObject);
            }
        }
Exemple #2
0
        private static void removoldbutton(MPButton button)
        {
            var gameplay = button.transform.Find("Text, Gameplay");

            if (gameplay)
            {
                Destroy(gameplay.gameObject);
            }
        }
 private void InitializeComponent()
 {
     this.groupBox1      = new MPGroupBox();
     this.btnMiniDisplay = new MPButton();
     this.btnLCDHype     = new MPButton();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((AnchorStyles)((((AnchorStyles.Top | AnchorStyles.Bottom)
                                               | AnchorStyles.Left)
                                              | AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.btnMiniDisplay);
     this.groupBox1.Controls.Add(this.btnLCDHype);
     this.groupBox1.FlatStyle = FlatStyle.Popup;
     this.groupBox1.Location  = new Point(12, 6);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new Size(372, 72);
     this.groupBox1.TabIndex  = 4;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = " Select the Advanced Configuration you wish to use ";
     //
     // btnMiniDisplay
     //
     this.btnMiniDisplay.Location = new Point(190, 19);
     this.btnMiniDisplay.Name     = "btnMiniDisplay";
     this.btnMiniDisplay.Size     = new Size(176, 47);
     this.btnMiniDisplay.TabIndex = 110;
     this.btnMiniDisplay.Text     = "MiniDisplay Plugin";
     this.btnMiniDisplay.UseVisualStyleBackColor = true;
     this.btnMiniDisplay.Click += new EventHandler(this.btnMiniDisplay_Click);
     //
     // btnLCDHype
     //
     this.btnLCDHype.Location = new Point(6, 19);
     this.btnLCDHype.Name     = "btnLCDHype";
     this.btnLCDHype.Size     = new Size(176, 47);
     this.btnLCDHype.TabIndex = 111;
     this.btnLCDHype.Text     = "LCDHype Driver";
     this.btnLCDHype.UseVisualStyleBackColor = true;
     this.btnLCDHype.Click += new EventHandler(this.btnLCDHype_Click);
     //
     // LCDHypeWrapper_SetupPickerForm
     //
     this.AutoScaleDimensions = new SizeF(6F, 13F);
     this.AutoScaleMode       = AutoScaleMode.Font;
     this.ClientSize          = new Size(396, 90);
     this.Controls.Add(this.groupBox1);
     this.Name          = "LCDHypeWrapper_SetupPickerForm";
     this.StartPosition = FormStartPosition.CenterParent;
     this.Tag           = "";
     this.Text          = "MiniDisplay - Setup - Configuration Type Select";
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
        private static void CreateModButton(HeaderNavigationController self, out MPButton button, out TMPro.TextMeshProUGUI text, out GameObject root)
        {
            button = Object.Instantiate(self.headers[0].headerButton, self.headers[0].headerButton.transform.parent); //copy button

            text      = Object.Instantiate(self.headers[0].tmpHeaderText, button.transform);                          //copy textmesh field
            text.name = "Text, Custom";                                                                               //button internal name
            text.GetComponent <LanguageTextMeshController>().token = "Mods";                                          //button text

            root = Object.Instantiate(self.headers[0].headerRoot, self.headers[0].headerRoot.transform.parent);       //copy headerRoot
        }
Exemple #5
0
        private void CreateButton()
        {
            GameObject FanPanel = WindowManager.FindElementPath("MainPanel/Holder/FanPanel").gameObject;

            MPButton = WindowManager.SpawnButton();
            MPButton.onClick.AddListener(CreateBaseMultiplayerWindow);
            MPButton.SetText("MultiplayerButton".LocDef("Multiplayer"));
            WindowManager.AddElementToElement(MPButton.gameObject, FanPanel, new Rect(274, 0, 100, 32), Rect.zero);
            Logging.Info("Initalized multiplayer button in MainScene");
        }
Exemple #6
0
 private void InitializeComponent()
 {
     this.groupBox1 = new MPGroupBox();
     this.btnOK     = new MPButton();
     this.btnReset  = new MPButton();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((AnchorStyles)((((AnchorStyles.Top | AnchorStyles.Bottom)
                                               | AnchorStyles.Left)
                                              | AnchorStyles.Right)));
     this.groupBox1.FlatStyle = FlatStyle.Popup;
     this.groupBox1.Location  = new Point(9, 6);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new Size(357, 124);
     this.groupBox1.TabIndex  = 4;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = " xPL_Connector Configuration ";
     //
     // btnOK
     //
     this.btnOK.Anchor   = ((AnchorStyles)((AnchorStyles.Bottom | AnchorStyles.Right)));
     this.btnOK.Location = new Point(286, 136);
     this.btnOK.Name     = "btnOK";
     this.btnOK.Size     = new Size(80, 23);
     this.btnOK.TabIndex = 108;
     this.btnOK.Text     = "&OK";
     this.btnOK.UseVisualStyleBackColor = true;
     this.btnOK.Click += new EventHandler(this.btnOK_Click);
     //
     // btnReset
     //
     this.btnReset.Anchor   = ((AnchorStyles)((AnchorStyles.Bottom | AnchorStyles.Right)));
     this.btnReset.Location = new Point(200, 136);
     this.btnReset.Name     = "btnReset";
     this.btnReset.Size     = new Size(80, 23);
     this.btnReset.TabIndex = 109;
     this.btnReset.Text     = "&RESET";
     this.btnReset.UseVisualStyleBackColor = true;
     this.btnReset.Click += new EventHandler(this.btnReset_Click);
     //
     // xPL_Connector_AdvancedSetupForm
     //
     this.AutoScaleDimensions = new SizeF(6F, 13F);
     this.ClientSize          = new Size(378, 165);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.btnReset);
     this.Controls.Add(this.groupBox1);
     this.Name          = "xPL_Connector_AdvancedSetupForm";
     this.StartPosition = FormStartPosition.CenterParent;
     this.Text          = "MiniDisplay - Setup - Advanced Settings";
     this.ResumeLayout(false);
 }
Exemple #7
0
 private void InitializeComponent()
 {
     this.groupBox1                   = new MPGroupBox();
     this.label3                      = new Label();
     this.cmbDeviceType               = new ComboBox();
     this.groupBox7                   = new GroupBox();
     this.groupEQstyle                = new GroupBox();
     this.cbUseVUmeter2               = new RadioButton();
     this.cbVUindicators              = new CheckBox();
     this.cbUseVUmeter                = new RadioButton();
     this.cbStereoEQ                  = new RadioButton();
     this.cbNormalEQ                  = new RadioButton();
     this.cmbDelayEqTime              = new MPComboBox();
     this.lblRestrictEQ               = new MPLabel();
     this.cmbEQTitleDisplayTime       = new MPComboBox();
     this.cmbEQTitleShowTime          = new MPComboBox();
     this.mpEQTitleDisplay            = new CheckBox();
     this.mpSmoothEQ                  = new CheckBox();
     this.mpEqDisplay                 = new CheckBox();
     this.mpRestrictEQ                = new CheckBox();
     this.cmbEqRate                   = new MPComboBox();
     this.mpDelayEQ                   = new CheckBox();
     this.lblEQTitleDisplay           = new MPLabel();
     this.groupBox5                   = new GroupBox();
     this.mpEnableDisplayActionTime   = new MPComboBox();
     this.cmbBlankIdleTime            = new MPComboBox();
     this.mpEnableDisplayAction       = new CheckBox();
     this.mpBlankDisplayWithVideo     = new CheckBox();
     this.mpBlankDisplayWhenIdle      = new CheckBox();
     this.groupBox4                   = new GroupBox();
     this.btnRemoteSetup              = new MPButton();
     this.cbEnableCustomKeypadMapping = new CheckBox();
     this.cbDisableRepeat             = new CheckBox();
     this.cbEnableKeypad              = new CheckBox();
     this.btnOK    = new MPButton();
     this.btnReset = new MPButton();
     this.groupBox1.SuspendLayout();
     this.groupBox7.SuspendLayout();
     this.groupEQstyle.SuspendLayout();
     this.groupBox5.SuspendLayout();
     this.groupBox4.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((AnchorStyles)((((AnchorStyles.Top | AnchorStyles.Bottom)
                                               | AnchorStyles.Left)
                                              | AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.cmbDeviceType);
     this.groupBox1.Controls.Add(this.groupBox7);
     this.groupBox1.Controls.Add(this.groupBox5);
     this.groupBox1.Controls.Add(this.groupBox4);
     this.groupBox1.FlatStyle = FlatStyle.Popup;
     this.groupBox1.Location  = new Point(9, 6);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new Size(357, 472);
     this.groupBox1.TabIndex  = 4;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = " CrystalFontz Display Configuration ";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new Point(12, 21);
     this.label3.Name     = "label3";
     this.label3.Size     = new Size(68, 13);
     this.label3.TabIndex = 105;
     this.label3.Text     = "Device Type";
     //
     // cmbDeviceType
     //
     this.cmbDeviceType.Anchor = ((AnchorStyles)(((AnchorStyles.Top | AnchorStyles.Left)
                                                  | AnchorStyles.Right)));
     this.cmbDeviceType.FormattingEnabled = true;
     this.cmbDeviceType.Items.AddRange(new object[]
     {
         "CFA631 - 2 x 20 LCD with KeyPad",
         "CFA632 - 2 x 16 LCD",
         "CFA633 - 2 x 16 LCD with KeyPad",
         "CFA634 - 4 x 20 LCD",
         "CFA635 - 4 x 20 LCD with KeyPad"
     });
     this.cmbDeviceType.Location              = new Point(86, 18);
     this.cmbDeviceType.Name                  = "cmbDeviceType";
     this.cmbDeviceType.Size                  = new Size(197, 21);
     this.cmbDeviceType.TabIndex              = 104;
     this.cmbDeviceType.SelectedValueChanged += new EventHandler(this.cmbDeviceType_Changed);
     //
     // groupBox7
     //
     this.groupBox7.Anchor = ((AnchorStyles)((((AnchorStyles.Top | AnchorStyles.Bottom)
                                               | AnchorStyles.Left)
                                              | AnchorStyles.Right)));
     this.groupBox7.Controls.Add(this.groupEQstyle);
     this.groupBox7.Controls.Add(this.cmbDelayEqTime);
     this.groupBox7.Controls.Add(this.lblRestrictEQ);
     this.groupBox7.Controls.Add(this.cmbEQTitleDisplayTime);
     this.groupBox7.Controls.Add(this.cmbEQTitleShowTime);
     this.groupBox7.Controls.Add(this.mpEQTitleDisplay);
     this.groupBox7.Controls.Add(this.mpSmoothEQ);
     this.groupBox7.Controls.Add(this.mpEqDisplay);
     this.groupBox7.Controls.Add(this.mpRestrictEQ);
     this.groupBox7.Controls.Add(this.cmbEqRate);
     this.groupBox7.Controls.Add(this.mpDelayEQ);
     this.groupBox7.Controls.Add(this.lblEQTitleDisplay);
     this.groupBox7.Location = new Point(10, 233);
     this.groupBox7.Name     = "groupBox7";
     this.groupBox7.Size     = new Size(338, 233);
     this.groupBox7.TabIndex = 103;
     this.groupBox7.TabStop  = false;
     this.groupBox7.Text     = " Equalizer Options";
     //
     // groupEQstyle
     //
     this.groupEQstyle.Anchor = ((AnchorStyles)(((AnchorStyles.Top | AnchorStyles.Left)
                                                 | AnchorStyles.Right)));
     this.groupEQstyle.Controls.Add(this.cbUseVUmeter2);
     this.groupEQstyle.Controls.Add(this.cbVUindicators);
     this.groupEQstyle.Controls.Add(this.cbUseVUmeter);
     this.groupEQstyle.Controls.Add(this.cbStereoEQ);
     this.groupEQstyle.Controls.Add(this.cbNormalEQ);
     this.groupEQstyle.Location = new Point(32, 38);
     this.groupEQstyle.Name     = "groupEQstyle";
     this.groupEQstyle.Size     = new Size(300, 60);
     this.groupEQstyle.TabIndex = 118;
     this.groupEQstyle.TabStop  = false;
     this.groupEQstyle.Text     = " Equalizer Style ";
     //
     // cbUseVUmeter2
     //
     this.cbUseVUmeter2.AutoSize = true;
     this.cbUseVUmeter2.Location = new Point(211, 17);
     this.cbUseVUmeter2.Name     = "cbUseVUmeter2";
     this.cbUseVUmeter2.Size     = new Size(79, 17);
     this.cbUseVUmeter2.TabIndex = 122;
     this.cbUseVUmeter2.Text     = "VU Meter 2";
     this.cbUseVUmeter2.UseVisualStyleBackColor = true;
     //
     // cbVUindicators
     //
     this.cbVUindicators.AutoSize = true;
     this.cbVUindicators.Location = new Point(9, 39);
     this.cbVUindicators.Name     = "cbVUindicators";
     this.cbVUindicators.Size     = new Size(213, 17);
     this.cbVUindicators.TabIndex = 121;
     this.cbVUindicators.Text     = "Show Channel indicators for VU Display";
     this.cbVUindicators.UseVisualStyleBackColor = true;
     //
     // cbUseVUmeter
     //
     this.cbUseVUmeter.AutoSize = true;
     this.cbUseVUmeter.Location = new Point(135, 17);
     this.cbUseVUmeter.Name     = "cbUseVUmeter";
     this.cbUseVUmeter.Size     = new Size(70, 17);
     this.cbUseVUmeter.TabIndex = 2;
     this.cbUseVUmeter.Text     = "VU Meter";
     this.cbUseVUmeter.UseVisualStyleBackColor = true;
     this.cbUseVUmeter.CheckedChanged         += new EventHandler(this.cbUseVUmeter_CheckedChanged);
     //
     // cbStereoEQ
     //
     this.cbStereoEQ.AutoSize = true;
     this.cbStereoEQ.Location = new Point(77, 17);
     this.cbStereoEQ.Name     = "cbStereoEQ";
     this.cbStereoEQ.Size     = new Size(56, 17);
     this.cbStereoEQ.TabIndex = 1;
     this.cbStereoEQ.Text     = "Stereo";
     this.cbStereoEQ.UseVisualStyleBackColor = true;
     this.cbStereoEQ.CheckedChanged         += new EventHandler(this.cbStereoEQ_CheckedChanged);
     //
     // cbNormalEQ
     //
     this.cbNormalEQ.AutoSize = true;
     this.cbNormalEQ.Checked  = true;
     this.cbNormalEQ.Location = new Point(13, 17);
     this.cbNormalEQ.Name     = "cbNormalEQ";
     this.cbNormalEQ.Size     = new Size(58, 17);
     this.cbNormalEQ.TabIndex = 0;
     this.cbNormalEQ.TabStop  = true;
     this.cbNormalEQ.Text     = "Normal";
     this.cbNormalEQ.UseVisualStyleBackColor = true;
     this.cbNormalEQ.CheckedChanged         += new EventHandler(this.cbNormalEQ_CheckedChanged);
     //
     // cmbDelayEqTime
     //
     this.cmbDelayEqTime.BorderColor   = Color.Empty;
     this.cmbDelayEqTime.DropDownStyle = ComboBoxStyle.DropDownList;
     this.cmbDelayEqTime.Items.AddRange(new object[]
     {
         "0",
         "1",
         "2",
         "3",
         "4",
         "5",
         "6",
         "7",
         "8",
         "9",
         "10",
         "11",
         "12",
         "13",
         "14",
         "15",
         "16",
         "17",
         "18",
         "19",
         "20",
         "21",
         "22",
         "23",
         "24",
         "25",
         "26",
         "27",
         "28",
         "29",
         "30"
     });
     this.cmbDelayEqTime.Location = new Point(160, 143);
     this.cmbDelayEqTime.Name     = "cmbDelayEqTime";
     this.cmbDelayEqTime.Size     = new Size(52, 21);
     this.cmbDelayEqTime.TabIndex = 104;
     //
     // lblRestrictEQ
     //
     this.lblRestrictEQ.Anchor    = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
     this.lblRestrictEQ.Location  = new Point(100, 124);
     this.lblRestrictEQ.Name      = "lblRestrictEQ";
     this.lblRestrictEQ.Size      = new Size(116, 17);
     this.lblRestrictEQ.TabIndex  = 115;
     this.lblRestrictEQ.Text      = "updates per Seconds";
     this.lblRestrictEQ.TextAlign = ContentAlignment.MiddleLeft;
     //
     // cmbEQTitleDisplayTime
     //
     this.cmbEQTitleDisplayTime.BorderColor   = Color.Empty;
     this.cmbEQTitleDisplayTime.DropDownStyle = ComboBoxStyle.DropDownList;
     this.cmbEQTitleDisplayTime.Items.AddRange(new object[]
     {
         "0",
         "1",
         "2",
         "3",
         "4",
         "5",
         "6",
         "7",
         "8",
         "9",
         "10",
         "11",
         "12",
         "13",
         "14",
         "15",
         "16",
         "17",
         "18",
         "19",
         "20",
         "21",
         "22",
         "23",
         "24",
         "25",
         "26",
         "27",
         "28",
         "29",
         "30"
     });
     this.cmbEQTitleDisplayTime.Location = new Point(165, 207);
     this.cmbEQTitleDisplayTime.Name     = "cmbEQTitleDisplayTime";
     this.cmbEQTitleDisplayTime.Size     = new Size(52, 21);
     this.cmbEQTitleDisplayTime.TabIndex = 110;
     //
     // cmbEQTitleShowTime
     //
     this.cmbEQTitleShowTime.BorderColor   = Color.Empty;
     this.cmbEQTitleShowTime.DropDownStyle = ComboBoxStyle.DropDownList;
     this.cmbEQTitleShowTime.Items.AddRange(new object[]
     {
         "0",
         "1",
         "2",
         "3",
         "4",
         "5",
         "6",
         "7",
         "8",
         "9",
         "10",
         "11",
         "12",
         "13",
         "14",
         "15",
         "16",
         "17",
         "18",
         "19",
         "20",
         "21",
         "22",
         "23",
         "24",
         "25",
         "26",
         "27",
         "28",
         "29",
         "30"
     });
     this.cmbEQTitleShowTime.Location = new Point(32, 207);
     this.cmbEQTitleShowTime.Name     = "cmbEQTitleShowTime";
     this.cmbEQTitleShowTime.Size     = new Size(52, 21);
     this.cmbEQTitleShowTime.TabIndex = 113;
     //
     // mpEQTitleDisplay
     //
     this.mpEQTitleDisplay.AutoSize = true;
     this.mpEQTitleDisplay.Location = new Point(21, 187);
     this.mpEQTitleDisplay.Name     = "mpEQTitleDisplay";
     this.mpEQTitleDisplay.Size     = new Size(120, 17);
     this.mpEQTitleDisplay.TabIndex = 112;
     this.mpEQTitleDisplay.Text     = "Show Track Info for";
     this.mpEQTitleDisplay.UseVisualStyleBackColor = true;
     this.mpEQTitleDisplay.CheckedChanged         += new EventHandler(this.mpEQTitleDisplay_CheckedChanged);
     //
     // mpSmoothEQ
     //
     this.mpSmoothEQ.AutoSize = true;
     this.mpSmoothEQ.Location = new Point(21, 166);
     this.mpSmoothEQ.Name     = "mpSmoothEQ";
     this.mpSmoothEQ.Size     = new Size(224, 17);
     this.mpSmoothEQ.TabIndex = 109;
     this.mpSmoothEQ.Text     = "Use Equalizer Smoothing (Delayed decay)";
     this.mpSmoothEQ.UseVisualStyleBackColor = true;
     //
     // mpEqDisplay
     //
     this.mpEqDisplay.AutoSize = true;
     this.mpEqDisplay.Location = new Point(5, 21);
     this.mpEqDisplay.Name     = "mpEqDisplay";
     this.mpEqDisplay.Size     = new Size(126, 17);
     this.mpEqDisplay.TabIndex = 106;
     this.mpEqDisplay.Text     = "Use Equalizer display";
     this.mpEqDisplay.UseVisualStyleBackColor = true;
     this.mpEqDisplay.CheckedChanged         += new EventHandler(this.mpEqDisplay_CheckedChanged);
     //
     // mpRestrictEQ
     //
     this.mpRestrictEQ.AutoSize = true;
     this.mpRestrictEQ.Location = new Point(21, 103);
     this.mpRestrictEQ.Name     = "mpRestrictEQ";
     this.mpRestrictEQ.Size     = new Size(185, 17);
     this.mpRestrictEQ.TabIndex = 107;
     this.mpRestrictEQ.Text     = "Limit Equalizer display update rate";
     this.mpRestrictEQ.UseVisualStyleBackColor = true;
     this.mpRestrictEQ.CheckedChanged         += new EventHandler(this.mpRestrictEQ_CheckedChanged);
     //
     // cmbEqRate
     //
     this.cmbEqRate.Anchor = ((AnchorStyles)(((AnchorStyles.Top | AnchorStyles.Left)
                                              | AnchorStyles.Right)));
     this.cmbEqRate.BorderColor   = Color.Empty;
     this.cmbEqRate.DropDownStyle = ComboBoxStyle.DropDownList;
     this.cmbEqRate.Items.AddRange(new object[]
     {
         "MAX",
         "1",
         "2",
         "3",
         "4",
         "5",
         "6",
         "7",
         "8",
         "9",
         "10",
         "11",
         "12",
         "13",
         "14",
         "15",
         "16",
         "17",
         "18",
         "19",
         "20",
         "21",
         "22",
         "23",
         "24",
         "25",
         "26",
         "27",
         "28",
         "29",
         "30",
         "31",
         "32",
         "33",
         "34",
         "35",
         "36",
         "37",
         "38",
         "39",
         "40",
         "41",
         "42",
         "43",
         "44",
         "45",
         "46",
         "47",
         "48",
         "49",
         "50",
         "51",
         "52",
         "53",
         "54",
         "55",
         "56",
         "57",
         "58",
         "59",
         "60"
     });
     this.cmbEqRate.Location              = new Point(32, 122);
     this.cmbEqRate.Name                  = "cmbEqRate";
     this.cmbEqRate.Size                  = new Size(69, 21);
     this.cmbEqRate.TabIndex              = 103;
     this.cmbEqRate.SelectedIndexChanged += new EventHandler(this.cmbEqRate_SelectedIndexChanged);
     //
     // mpDelayEQ
     //
     this.mpDelayEQ.AutoSize = true;
     this.mpDelayEQ.Location = new Point(21, 144);
     this.mpDelayEQ.Name     = "mpDelayEQ";
     this.mpDelayEQ.Size     = new Size(246, 17);
     this.mpDelayEQ.TabIndex = 108;
     this.mpDelayEQ.Text     = "Delay Equalizer Start by                      Seconds";
     this.mpDelayEQ.UseVisualStyleBackColor = true;
     this.mpDelayEQ.CheckedChanged         += new EventHandler(this.mpDelayEQ_CheckedChanged);
     //
     // lblEQTitleDisplay
     //
     this.lblEQTitleDisplay.Location  = new Point(86, 208);
     this.lblEQTitleDisplay.Name      = "lblEQTitleDisplay";
     this.lblEQTitleDisplay.Size      = new Size(201, 17);
     this.lblEQTitleDisplay.TabIndex  = 114;
     this.lblEQTitleDisplay.Text      = "Seconds every                     Seconds";
     this.lblEQTitleDisplay.TextAlign = ContentAlignment.MiddleLeft;
     //
     // groupBox5
     //
     this.groupBox5.Anchor = ((AnchorStyles)(((AnchorStyles.Top | AnchorStyles.Left)
                                              | AnchorStyles.Right)));
     this.groupBox5.Controls.Add(this.mpEnableDisplayActionTime);
     this.groupBox5.Controls.Add(this.cmbBlankIdleTime);
     this.groupBox5.Controls.Add(this.mpEnableDisplayAction);
     this.groupBox5.Controls.Add(this.mpBlankDisplayWithVideo);
     this.groupBox5.Controls.Add(this.mpBlankDisplayWhenIdle);
     this.groupBox5.Location = new Point(10, 134);
     this.groupBox5.Name     = "groupBox5";
     this.groupBox5.Size     = new Size(338, 97);
     this.groupBox5.TabIndex = 23;
     this.groupBox5.TabStop  = false;
     this.groupBox5.Text     = " Display Control Options ";
     //
     // mpEnableDisplayActionTime
     //
     this.mpEnableDisplayActionTime.BorderColor   = Color.Empty;
     this.mpEnableDisplayActionTime.DropDownStyle = ComboBoxStyle.DropDownList;
     this.mpEnableDisplayActionTime.Items.AddRange(new object[]
     {
         "0",
         "1",
         "2",
         "3",
         "4",
         "5",
         "6",
         "7",
         "8",
         "9",
         "10",
         "11",
         "12",
         "13",
         "14",
         "15",
         "16",
         "17",
         "18",
         "19",
         "20"
     });
     this.mpEnableDisplayActionTime.Location = new Point(181, 36);
     this.mpEnableDisplayActionTime.Name     = "mpEnableDisplayActionTime";
     this.mpEnableDisplayActionTime.Size     = new Size(42, 21);
     this.mpEnableDisplayActionTime.TabIndex = 96;
     //
     // cmbBlankIdleTime
     //
     this.cmbBlankIdleTime.BorderColor   = Color.Empty;
     this.cmbBlankIdleTime.DropDownStyle = ComboBoxStyle.DropDownList;
     this.cmbBlankIdleTime.Items.AddRange(new object[]
     {
         "0",
         "1",
         "2",
         "3",
         "4",
         "5",
         "6",
         "7",
         "8",
         "9",
         "10",
         "11",
         "12",
         "13",
         "14",
         "15",
         "16",
         "17",
         "18",
         "19",
         "20",
         "21",
         "22",
         "23",
         "24",
         "25",
         "26",
         "27",
         "28",
         "29",
         "30"
     });
     this.cmbBlankIdleTime.Location = new Point(167, 58);
     this.cmbBlankIdleTime.Name     = "cmbBlankIdleTime";
     this.cmbBlankIdleTime.Size     = new Size(42, 21);
     this.cmbBlankIdleTime.TabIndex = 98;
     //
     // mpEnableDisplayAction
     //
     this.mpEnableDisplayAction.AutoSize = true;
     this.mpEnableDisplayAction.Location = new Point(23, 38);
     this.mpEnableDisplayAction.Name     = "mpEnableDisplayAction";
     this.mpEnableDisplayAction.Size     = new Size(258, 17);
     this.mpEnableDisplayAction.TabIndex = 97;
     this.mpEnableDisplayAction.Text     = "Enable Display on Action for                   Seconds";
     this.mpEnableDisplayAction.UseVisualStyleBackColor = true;
     this.mpEnableDisplayAction.CheckedChanged         += new EventHandler(this.mpEnableDisplayAction_CheckedChanged);
     //
     // mpBlankDisplayWithVideo
     //
     this.mpBlankDisplayWithVideo.AutoSize = true;
     this.mpBlankDisplayWithVideo.Location = new Point(7, 17);
     this.mpBlankDisplayWithVideo.Name     = "mpBlankDisplayWithVideo";
     this.mpBlankDisplayWithVideo.Size     = new Size(207, 17);
     this.mpBlankDisplayWithVideo.TabIndex = 95;
     this.mpBlankDisplayWithVideo.Text     = "Turn off display during Video Playback";
     this.mpBlankDisplayWithVideo.UseVisualStyleBackColor = true;
     this.mpBlankDisplayWithVideo.CheckedChanged         += new EventHandler(this.mpBlankDisplayWithVideo_CheckedChanged);
     //
     // mpBlankDisplayWhenIdle
     //
     this.mpBlankDisplayWhenIdle.AutoSize = true;
     this.mpBlankDisplayWhenIdle.Location = new Point(7, 60);
     this.mpBlankDisplayWhenIdle.Name     = "mpBlankDisplayWhenIdle";
     this.mpBlankDisplayWhenIdle.Size     = new Size(261, 17);
     this.mpBlankDisplayWhenIdle.TabIndex = 99;
     this.mpBlankDisplayWhenIdle.Text     = "Turn off display when idle for                    seconds";
     this.mpBlankDisplayWhenIdle.UseVisualStyleBackColor = true;
     this.mpBlankDisplayWhenIdle.CheckedChanged         += new EventHandler(this.mpBlankDisplayWhenIdle_CheckedChanged);
     //
     // groupBox4
     //
     this.groupBox4.Anchor = ((AnchorStyles)(((AnchorStyles.Top | AnchorStyles.Left)
                                              | AnchorStyles.Right)));
     this.groupBox4.Controls.Add(this.btnRemoteSetup);
     this.groupBox4.Controls.Add(this.cbEnableCustomKeypadMapping);
     this.groupBox4.Controls.Add(this.cbDisableRepeat);
     this.groupBox4.Controls.Add(this.cbEnableKeypad);
     this.groupBox4.Location = new Point(10, 42);
     this.groupBox4.Name     = "groupBox4";
     this.groupBox4.Size     = new Size(338, 90);
     this.groupBox4.TabIndex = 7;
     this.groupBox4.TabStop  = false;
     this.groupBox4.Text     = " Keypad Options ";
     //
     // btnRemoteSetup
     //
     this.btnRemoteSetup.Location = new Point(214, 34);
     this.btnRemoteSetup.Name     = "btnRemoteSetup";
     this.btnRemoteSetup.Size     = new Size(100, 23);
     this.btnRemoteSetup.TabIndex = 111;
     this.btnRemoteSetup.Text     = "K&EYPAD SETUP";
     this.btnRemoteSetup.UseVisualStyleBackColor = true;
     //
     // cbEnableCustomKeypadMapping
     //
     this.cbEnableCustomKeypadMapping.AutoSize = true;
     this.cbEnableCustomKeypadMapping.Location = new Point(25, 37);
     this.cbEnableCustomKeypadMapping.Name     = "cbEnableCustomKeypadMapping";
     this.cbEnableCustomKeypadMapping.Size     = new Size(180, 17);
     this.cbEnableCustomKeypadMapping.TabIndex = 25;
     this.cbEnableCustomKeypadMapping.Text     = "Enable Custom Keypad Mapping";
     this.cbEnableCustomKeypadMapping.UseVisualStyleBackColor = true;
     //
     // cbDisableRepeat
     //
     this.cbDisableRepeat.AutoSize = true;
     this.cbDisableRepeat.Location = new Point(25, 58);
     this.cbDisableRepeat.Name     = "cbDisableRepeat";
     this.cbDisableRepeat.Size     = new Size(120, 17);
     this.cbDisableRepeat.TabIndex = 6;
     this.cbDisableRepeat.Text     = "Disable Key Repeat";
     this.cbDisableRepeat.UseVisualStyleBackColor = true;
     this.cbDisableRepeat.Visible         = false;
     this.cbDisableRepeat.CheckedChanged += new EventHandler(this.cbDisableRepeat_CheckedChanged);
     //
     // cbEnableKeypad
     //
     this.cbEnableKeypad.AutoSize = true;
     this.cbEnableKeypad.Location = new Point(5, 19);
     this.cbEnableKeypad.Name     = "cbEnableKeypad";
     this.cbEnableKeypad.Size     = new Size(98, 17);
     this.cbEnableKeypad.TabIndex = 5;
     this.cbEnableKeypad.Text     = "Enable Keypad";
     this.cbEnableKeypad.UseVisualStyleBackColor = true;
     this.cbEnableKeypad.CheckedChanged         += new EventHandler(this.cbNoRemote_CheckedChanged);
     //
     // btnOK
     //
     this.btnOK.Anchor   = ((AnchorStyles)((AnchorStyles.Bottom | AnchorStyles.Right)));
     this.btnOK.Location = new Point(286, 484);
     this.btnOK.Name     = "btnOK";
     this.btnOK.Size     = new Size(80, 23);
     this.btnOK.TabIndex = 108;
     this.btnOK.Text     = "&OK";
     this.btnOK.UseVisualStyleBackColor = true;
     this.btnOK.Click += new EventHandler(this.btnOK_Click);
     //
     // btnReset
     //
     this.btnReset.Anchor   = ((AnchorStyles)((AnchorStyles.Bottom | AnchorStyles.Right)));
     this.btnReset.Location = new Point(200, 484);
     this.btnReset.Name     = "btnReset";
     this.btnReset.Size     = new Size(80, 23);
     this.btnReset.TabIndex = 109;
     this.btnReset.Text     = "&RESET";
     this.btnReset.UseVisualStyleBackColor = true;
     this.btnReset.Click += new EventHandler(this.btnReset_Click);
     //
     // CFontz_AdvancedSetupForm
     //
     this.AutoScaleDimensions = new SizeF(6F, 13F);
     this.ClientSize          = new Size(378, 512);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.btnReset);
     this.Controls.Add(this.groupBox1);
     this.Name          = "CFontz_AdvancedSetupForm";
     this.StartPosition = FormStartPosition.CenterParent;
     this.Text          = "MiniDisplay - Setup - Advanced Settings";
     this.Load         += new EventHandler(this.CFontz_AdvancedSetupForm_Load);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBox7.ResumeLayout(false);
     this.groupBox7.PerformLayout();
     this.groupEQstyle.ResumeLayout(false);
     this.groupEQstyle.PerformLayout();
     this.groupBox5.ResumeLayout(false);
     this.groupBox5.PerformLayout();
     this.groupBox4.ResumeLayout(false);
     this.groupBox4.PerformLayout();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox1 = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this.checkBoxSwitchRemovableDrive = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.checkBoxAddOpticalDiskDrives = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.checkBoxRemember             = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.deleteButton   = new MediaPortal.UserInterface.Controls.MPButton();
     this.editButton     = new MediaPortal.UserInterface.Controls.MPButton();
     this.addButton      = new MediaPortal.UserInterface.Controls.MPButton();
     this.sharesListView = new MediaPortal.UserInterface.Controls.MPListView();
     this.columnHeader1  = new System.Windows.Forms.ColumnHeader();
     this.columnHeader3  = new System.Windows.Forms.ColumnHeader();
     this.columnHeader2  = new System.Windows.Forms.ColumnHeader();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.checkBoxSwitchRemovableDrive);
     this.groupBox1.Controls.Add(this.checkBoxAddOpticalDiskDrives);
     this.groupBox1.Controls.Add(this.checkBoxRemember);
     this.groupBox1.Controls.Add(this.deleteButton);
     this.groupBox1.Controls.Add(this.editButton);
     this.groupBox1.Controls.Add(this.addButton);
     this.groupBox1.Controls.Add(this.sharesListView);
     this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.groupBox1.Location  = new System.Drawing.Point(6, 0);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(462, 408);
     this.groupBox1.TabIndex  = 0;
     this.groupBox1.TabStop   = false;
     //
     // checkBoxSwitchRemovableDrive
     //
     this.checkBoxSwitchRemovableDrive.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.checkBoxSwitchRemovableDrive.AutoSize   = true;
     this.checkBoxSwitchRemovableDrive.Checked    = true;
     this.checkBoxSwitchRemovableDrive.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBoxSwitchRemovableDrive.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.checkBoxSwitchRemovableDrive.Location   = new System.Drawing.Point(16, 380);
     this.checkBoxSwitchRemovableDrive.Name       = "checkBoxSwitchRemovableDrive";
     this.checkBoxSwitchRemovableDrive.Size       = new System.Drawing.Size(254, 17);
     this.checkBoxSwitchRemovableDrive.TabIndex   = 6;
     this.checkBoxSwitchRemovableDrive.Text       = "Automatically switch to inserted removable drives";
     this.checkBoxSwitchRemovableDrive.UseVisualStyleBackColor = true;
     //
     // checkBoxAddOpticalDiskDrives
     //
     this.checkBoxAddOpticalDiskDrives.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.checkBoxAddOpticalDiskDrives.AutoSize   = true;
     this.checkBoxAddOpticalDiskDrives.Checked    = true;
     this.checkBoxAddOpticalDiskDrives.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBoxAddOpticalDiskDrives.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.checkBoxAddOpticalDiskDrives.Location   = new System.Drawing.Point(16, 357);
     this.checkBoxAddOpticalDiskDrives.Name       = "checkBoxAddOpticalDiskDrives";
     this.checkBoxAddOpticalDiskDrives.Size       = new System.Drawing.Size(194, 17);
     this.checkBoxAddOpticalDiskDrives.TabIndex   = 5;
     this.checkBoxAddOpticalDiskDrives.Text       = "Automatically add optical disk drives";
     this.checkBoxAddOpticalDiskDrives.UseVisualStyleBackColor = true;
     //
     // checkBoxRemember
     //
     this.checkBoxRemember.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.checkBoxRemember.AutoSize  = true;
     this.checkBoxRemember.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.checkBoxRemember.Location  = new System.Drawing.Point(16, 334);
     this.checkBoxRemember.Name      = "checkBoxRemember";
     this.checkBoxRemember.Size      = new System.Drawing.Size(149, 17);
     this.checkBoxRemember.TabIndex  = 1;
     this.checkBoxRemember.Text      = "Remember last used folder";
     this.checkBoxRemember.UseVisualStyleBackColor = true;
     //
     // deleteButton
     //
     this.deleteButton.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.deleteButton.Enabled  = false;
     this.deleteButton.Location = new System.Drawing.Point(374, 331);
     this.deleteButton.Name     = "deleteButton";
     this.deleteButton.Size     = new System.Drawing.Size(72, 22);
     this.deleteButton.TabIndex = 4;
     this.deleteButton.Text     = "Delete";
     this.deleteButton.UseVisualStyleBackColor = true;
     this.deleteButton.Click += new System.EventHandler(this.deleteButton_Click);
     //
     // editButton
     //
     this.editButton.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.editButton.Enabled  = false;
     this.editButton.Location = new System.Drawing.Point(294, 331);
     this.editButton.Name     = "editButton";
     this.editButton.Size     = new System.Drawing.Size(72, 22);
     this.editButton.TabIndex = 3;
     this.editButton.Text     = "Edit";
     this.editButton.UseVisualStyleBackColor = true;
     this.editButton.Click += new System.EventHandler(this.editButton_Click);
     //
     // addButton
     //
     this.addButton.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.addButton.Location = new System.Drawing.Point(214, 331);
     this.addButton.Name     = "addButton";
     this.addButton.Size     = new System.Drawing.Size(72, 22);
     this.addButton.TabIndex = 2;
     this.addButton.Text     = "Add";
     this.addButton.UseVisualStyleBackColor = true;
     this.addButton.Click += new System.EventHandler(this.addButton_Click);
     //
     // sharesListView
     //
     this.sharesListView.AllowDrop       = true;
     this.sharesListView.AllowRowReorder = true;
     this.sharesListView.Anchor          =
         ((System.Windows.Forms.AnchorStyles)
              ((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.sharesListView.CheckBoxes = true;
     this.sharesListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[]
     {
         this.columnHeader1,
         this.columnHeader3,
         this.columnHeader2
     });
     this.sharesListView.FullRowSelect = true;
     this.sharesListView.Location      = new System.Drawing.Point(16, 24);
     this.sharesListView.Name          = "sharesListView";
     this.sharesListView.Size          = new System.Drawing.Size(430, 301);
     this.sharesListView.TabIndex      = 0;
     this.sharesListView.UseCompatibleStateImageBehavior = false;
     this.sharesListView.View = System.Windows.Forms.View.Details;
     this.sharesListView.SelectedIndexChanged += new System.EventHandler(this.sharesListView_SelectedIndexChanged);
     this.sharesListView.ItemCheck            += new System.Windows.Forms.ItemCheckEventHandler(this.sharesListView_ItemCheck);
     //
     // columnHeader1
     //
     this.columnHeader1.Text  = "Name";
     this.columnHeader1.Width = 106;
     //
     // columnHeader3
     //
     this.columnHeader3.Text  = "Pin";
     this.columnHeader3.Width = 57;
     //
     // columnHeader2
     //
     this.columnHeader2.Text  = "Folder";
     this.columnHeader2.Width = 273;
     //
     // BaseShares
     //
     this.Controls.Add(this.groupBox1);
     this.Name = "BaseShares";
     this.Size = new System.Drawing.Size(472, 408);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox1                     = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this.comboBoxDateAdded             = new MediaPortal.UserInterface.Controls.MPComboBox();
     this.lblDate                       = new MediaPortal.UserInterface.Controls.MPLabel();
     this.groupBoxUseAlbumThumbs        = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this.checkBoxCreateGenre           = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.checkBoxCreateFolderThumb     = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.checkBoxCreateArtist          = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.groupBoxUseForThumbs          = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this.checkBoxAllImages             = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.checkBoxUseFolderThumb        = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.buildThumbsCheckBox           = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.tbPrefixes                    = new MediaPortal.UserInterface.Controls.MPTextBox();
     this.checkBoxStripArtistPrefix     = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.checkBoxUpdateSinceLastImport = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.monitorSharesCheckBox         = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.folderAsAlbumCheckBox         = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.startButton                   = new MediaPortal.UserInterface.Controls.MPButton();
     this.sharesListBox                 = new System.Windows.Forms.CheckedListBox();
     this.groupBox2                     = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this.fileLabel                     = new MediaPortal.UserInterface.Controls.MPLabel();
     this.groupBox1.SuspendLayout();
     this.groupBoxUseAlbumThumbs.SuspendLayout();
     this.groupBoxUseForThumbs.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.comboBoxDateAdded);
     this.groupBox1.Controls.Add(this.lblDate);
     this.groupBox1.Controls.Add(this.groupBoxUseAlbumThumbs);
     this.groupBox1.Controls.Add(this.groupBoxUseForThumbs);
     this.groupBox1.Controls.Add(this.tbPrefixes);
     this.groupBox1.Controls.Add(this.checkBoxStripArtistPrefix);
     this.groupBox1.Controls.Add(this.checkBoxUpdateSinceLastImport);
     this.groupBox1.Controls.Add(this.monitorSharesCheckBox);
     this.groupBox1.Controls.Add(this.folderAsAlbumCheckBox);
     this.groupBox1.Controls.Add(this.startButton);
     this.groupBox1.Controls.Add(this.sharesListBox);
     this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.groupBox1.Location  = new System.Drawing.Point(6, 0);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(462, 339);
     this.groupBox1.TabIndex  = 0;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = "Scan music folders";
     //
     // comboBoxDateAdded
     //
     this.comboBoxDateAdded.BorderColor       = System.Drawing.Color.Empty;
     this.comboBoxDateAdded.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxDateAdded.FormattingEnabled = true;
     this.comboBoxDateAdded.Items.AddRange(new object[]
     {
         "Current Date",
         "Creation Date",
         "Last Write Date"
     });
     this.comboBoxDateAdded.Location = new System.Drawing.Point(246, 257);
     this.comboBoxDateAdded.Name     = "comboBoxDateAdded";
     this.comboBoxDateAdded.Size     = new System.Drawing.Size(210, 21);
     this.comboBoxDateAdded.TabIndex = 16;
     //
     // lblDate
     //
     this.lblDate.AutoSize = true;
     this.lblDate.Location = new System.Drawing.Point(16, 261);
     this.lblDate.Name     = "lblDate";
     this.lblDate.Size     = new System.Drawing.Size(226, 13);
     this.lblDate.TabIndex = 15;
     this.lblDate.Text     = "Set date in database for new/changed files to:";
     //
     // groupBoxUseAlbumThumbs
     //
     this.groupBoxUseAlbumThumbs.Controls.Add(this.checkBoxCreateGenre);
     this.groupBoxUseAlbumThumbs.Controls.Add(this.checkBoxCreateFolderThumb);
     this.groupBoxUseAlbumThumbs.Controls.Add(this.checkBoxCreateArtist);
     this.groupBoxUseAlbumThumbs.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.groupBoxUseAlbumThumbs.Location  = new System.Drawing.Point(246, 156);
     this.groupBoxUseAlbumThumbs.Name      = "groupBoxUseAlbumThumbs";
     this.groupBoxUseAlbumThumbs.Size      = new System.Drawing.Size(210, 96);
     this.groupBoxUseAlbumThumbs.TabIndex  = 14;
     this.groupBoxUseAlbumThumbs.TabStop   = false;
     this.groupBoxUseAlbumThumbs.Text      = "Use existing album thumbs to:";
     //
     // checkBoxCreateGenre
     //
     this.checkBoxCreateGenre.AutoSize   = true;
     this.checkBoxCreateGenre.Checked    = true;
     this.checkBoxCreateGenre.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBoxCreateGenre.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.checkBoxCreateGenre.Location   = new System.Drawing.Point(15, 22);
     this.checkBoxCreateGenre.Name       = "checkBoxCreateGenre";
     this.checkBoxCreateGenre.Size       = new System.Drawing.Size(161, 17);
     this.checkBoxCreateGenre.TabIndex   = 7;
     this.checkBoxCreateGenre.Text       = "create genre preview thumbs";
     this.checkBoxCreateGenre.UseVisualStyleBackColor = true;
     //
     // checkBoxCreateFolderThumb
     //
     this.checkBoxCreateFolderThumb.AutoSize  = true;
     this.checkBoxCreateFolderThumb.Enabled   = false;
     this.checkBoxCreateFolderThumb.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.checkBoxCreateFolderThumb.Location  = new System.Drawing.Point(15, 68);
     this.checkBoxCreateFolderThumb.Name      = "checkBoxCreateFolderThumb";
     this.checkBoxCreateFolderThumb.Size      = new System.Drawing.Size(137, 17);
     this.checkBoxCreateFolderThumb.TabIndex  = 9;
     this.checkBoxCreateFolderThumb.Text      = "create missing folder.jpg";
     this.checkBoxCreateFolderThumb.UseVisualStyleBackColor = true;
     //
     // checkBoxCreateArtist
     //
     this.checkBoxCreateArtist.AutoSize  = true;
     this.checkBoxCreateArtist.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.checkBoxCreateArtist.Location  = new System.Drawing.Point(15, 45);
     this.checkBoxCreateArtist.Name      = "checkBoxCreateArtist";
     this.checkBoxCreateArtist.Size      = new System.Drawing.Size(156, 17);
     this.checkBoxCreateArtist.TabIndex  = 8;
     this.checkBoxCreateArtist.Text      = "create artist preview thumbs";
     this.checkBoxCreateArtist.UseVisualStyleBackColor = true;
     //
     // groupBoxUseForThumbs
     //
     this.groupBoxUseForThumbs.Controls.Add(this.checkBoxAllImages);
     this.groupBoxUseForThumbs.Controls.Add(this.checkBoxUseFolderThumb);
     this.groupBoxUseForThumbs.Controls.Add(this.buildThumbsCheckBox);
     this.groupBoxUseForThumbs.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.groupBoxUseForThumbs.Location  = new System.Drawing.Point(16, 156);
     this.groupBoxUseForThumbs.Name      = "groupBoxUseForThumbs";
     this.groupBoxUseForThumbs.Size      = new System.Drawing.Size(210, 96);
     this.groupBoxUseForThumbs.TabIndex  = 13;
     this.groupBoxUseForThumbs.TabStop   = false;
     this.groupBoxUseForThumbs.Text      = "Use for thumb creation:";
     //
     // checkBoxAllImages
     //
     this.checkBoxAllImages.AutoSize   = true;
     this.checkBoxAllImages.Checked    = true;
     this.checkBoxAllImages.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBoxAllImages.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.checkBoxAllImages.Location   = new System.Drawing.Point(15, 45);
     this.checkBoxAllImages.Name       = "checkBoxAllImages";
     this.checkBoxAllImages.Size       = new System.Drawing.Size(181, 17);
     this.checkBoxAllImages.TabIndex   = 5;
     this.checkBoxAllImages.Text       = "*.png, *.jpg (prefers \"front\" cover)";
     this.checkBoxAllImages.UseVisualStyleBackColor = true;
     //
     // checkBoxUseFolderThumb
     //
     this.checkBoxUseFolderThumb.AutoSize   = true;
     this.checkBoxUseFolderThumb.Checked    = true;
     this.checkBoxUseFolderThumb.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBoxUseFolderThumb.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.checkBoxUseFolderThumb.Location   = new System.Drawing.Point(15, 22);
     this.checkBoxUseFolderThumb.Name       = "checkBoxUseFolderThumb";
     this.checkBoxUseFolderThumb.Size       = new System.Drawing.Size(143, 17);
     this.checkBoxUseFolderThumb.TabIndex   = 4;
     this.checkBoxUseFolderThumb.Text       = "folder.jpg (recommended)";
     this.checkBoxUseFolderThumb.UseVisualStyleBackColor = true;
     this.checkBoxUseFolderThumb.CheckedChanged         += new System.EventHandler(this.checkBoxUseFolderThumb_CheckedChanged);
     //
     // buildThumbsCheckBox
     //
     this.buildThumbsCheckBox.AutoSize  = true;
     this.buildThumbsCheckBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.buildThumbsCheckBox.Location  = new System.Drawing.Point(15, 68);
     this.buildThumbsCheckBox.Name      = "buildThumbsCheckBox";
     this.buildThumbsCheckBox.Size      = new System.Drawing.Size(177, 17);
     this.buildThumbsCheckBox.TabIndex  = 6;
     this.buildThumbsCheckBox.Text      = "cover art embedded in ID3-Tags";
     this.buildThumbsCheckBox.UseVisualStyleBackColor = true;
     //
     // tbPrefixes
     //
     this.tbPrefixes.BorderColor = System.Drawing.Color.Empty;
     this.tbPrefixes.Location    = new System.Drawing.Point(301, 109);
     this.tbPrefixes.Name        = "tbPrefixes";
     this.tbPrefixes.Size        = new System.Drawing.Size(155, 20);
     this.tbPrefixes.TabIndex    = 2;
     //
     // checkBoxStripArtistPrefix
     //
     this.checkBoxStripArtistPrefix.AutoSize  = true;
     this.checkBoxStripArtistPrefix.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.checkBoxStripArtistPrefix.Location  = new System.Drawing.Point(16, 110);
     this.checkBoxStripArtistPrefix.Name      = "checkBoxStripArtistPrefix";
     this.checkBoxStripArtistPrefix.Size      = new System.Drawing.Size(279, 17);
     this.checkBoxStripArtistPrefix.TabIndex  = 1;
     this.checkBoxStripArtistPrefix.Text      = "Strip artist prefix (i.e. \"The Beatles\" ->  \"Beatles, The\")";
     this.checkBoxStripArtistPrefix.UseVisualStyleBackColor = true;
     //
     // checkBoxUpdateSinceLastImport
     //
     this.checkBoxUpdateSinceLastImport.AutoSize   = true;
     this.checkBoxUpdateSinceLastImport.Checked    = true;
     this.checkBoxUpdateSinceLastImport.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBoxUpdateSinceLastImport.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.checkBoxUpdateSinceLastImport.Location   = new System.Drawing.Point(19, 287);
     this.checkBoxUpdateSinceLastImport.Name       = "checkBoxUpdateSinceLastImport";
     this.checkBoxUpdateSinceLastImport.Size       = new System.Drawing.Size(178, 17);
     this.checkBoxUpdateSinceLastImport.TabIndex   = 10;
     this.checkBoxUpdateSinceLastImport.Text       = "Only update new / changed files";
     this.checkBoxUpdateSinceLastImport.UseVisualStyleBackColor = true;
     //
     // monitorSharesCheckBox
     //
     this.monitorSharesCheckBox.AutoSize  = true;
     this.monitorSharesCheckBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.monitorSharesCheckBox.Location  = new System.Drawing.Point(19, 311);
     this.monitorSharesCheckBox.Name      = "monitorSharesCheckBox";
     this.monitorSharesCheckBox.Size      = new System.Drawing.Size(199, 17);
     this.monitorSharesCheckBox.TabIndex  = 11;
     this.monitorSharesCheckBox.Text      = "Auto-update DB on changes in share";
     this.monitorSharesCheckBox.UseVisualStyleBackColor = true;
     this.monitorSharesCheckBox.CheckedChanged         += new System.EventHandler(this.monitorSharesCheckBox_CheckedChanged);
     //
     // folderAsAlbumCheckBox
     //
     this.folderAsAlbumCheckBox.AutoSize  = true;
     this.folderAsAlbumCheckBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.folderAsAlbumCheckBox.Location  = new System.Drawing.Point(16, 133);
     this.folderAsAlbumCheckBox.Name      = "folderAsAlbumCheckBox";
     this.folderAsAlbumCheckBox.Size      = new System.Drawing.Size(243, 17);
     this.folderAsAlbumCheckBox.TabIndex  = 3;
     this.folderAsAlbumCheckBox.Text      = "Treat tracks in an individual folder as an album";
     this.folderAsAlbumCheckBox.UseVisualStyleBackColor = true;
     this.folderAsAlbumCheckBox.CheckedChanged         += new System.EventHandler(this.folderAsAlbumCheckBox_CheckedChanged);
     //
     // startButton
     //
     this.startButton.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.startButton.Location = new System.Drawing.Point(236, 307);
     this.startButton.Name     = "startButton";
     this.startButton.Size     = new System.Drawing.Size(210, 22);
     this.startButton.TabIndex = 12;
     this.startButton.Text     = "Update database from selected shares";
     this.startButton.UseVisualStyleBackColor = true;
     this.startButton.Click += new System.EventHandler(this.startButton_Click);
     //
     // sharesListBox
     //
     this.sharesListBox.CheckOnClick          = true;
     this.sharesListBox.Location              = new System.Drawing.Point(16, 24);
     this.sharesListBox.Name                  = "sharesListBox";
     this.sharesListBox.Size                  = new System.Drawing.Size(440, 79);
     this.sharesListBox.TabIndex              = 0;
     this.sharesListBox.SelectedIndexChanged += new System.EventHandler(this.sharesListBox_SelectedIndexChanged);
     this.sharesListBox.ItemCheck            += new System.Windows.Forms.ItemCheckEventHandler(this.sharesListBox_ItemCheck);
     this.sharesListBox.DoubleClick          += new System.EventHandler(this.sharesListBox_DoubleClick);
     //
     // groupBox2
     //
     this.groupBox2.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              (((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox2.Controls.Add(this.fileLabel);
     this.groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.groupBox2.Location  = new System.Drawing.Point(0, 345);
     this.groupBox2.Name      = "groupBox2";
     this.groupBox2.Size      = new System.Drawing.Size(472, 51);
     this.groupBox2.TabIndex  = 1;
     this.groupBox2.TabStop   = false;
     this.groupBox2.Text      = "Progress";
     //
     // fileLabel
     //
     this.fileLabel.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              (((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.fileLabel.Location = new System.Drawing.Point(16, 23);
     this.fileLabel.Name     = "fileLabel";
     this.fileLabel.Size     = new System.Drawing.Size(440, 16);
     this.fileLabel.TabIndex = 0;
     //
     // MusicDatabase
     //
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Name = "MusicDatabase";
     this.Size = new System.Drawing.Size(472, 408);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBoxUseAlbumThumbs.ResumeLayout(false);
     this.groupBoxUseAlbumThumbs.PerformLayout();
     this.groupBoxUseForThumbs.ResumeLayout(false);
     this.groupBoxUseForThumbs.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.button2      = new MediaPortal.UserInterface.Controls.MPButton();
     this.label1       = new MediaPortal.UserInterface.Controls.MPLabel();
     this.label2       = new MediaPortal.UserInterface.Controls.MPLabel();
     this.mpLabel1     = new MediaPortal.UserInterface.Controls.MPLabel();
     this.mpButton1    = new MediaPortal.UserInterface.Controls.MPButton();
     this.progressBar  = new MediaPortal.UserInterface.Controls.MPProgressBar();
     this.progressBar1 = new MediaPortal.UserInterface.Controls.MPProgressBar();
     this.SuspendLayout();
     //
     // button2
     //
     this.button2.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.button2.Location = new System.Drawing.Point(326, 114);
     this.button2.Name     = "button2";
     this.button2.Size     = new System.Drawing.Size(56, 23);
     this.button2.TabIndex = 2;
     this.button2.Text     = "Cancel";
     this.button2.UseVisualStyleBackColor = true;
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(9, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(391, 16);
     this.label1.TabIndex = 3;
     this.label1.Text     = "label1";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(9, 30);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(391, 16);
     this.label2.TabIndex = 5;
     this.label2.Text     = "label2";
     //
     // mpLabel1
     //
     this.mpLabel1.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.mpLabel1.Location = new System.Drawing.Point(12, 73);
     this.mpLabel1.Name     = "mpLabel1";
     this.mpLabel1.Size     = new System.Drawing.Size(351, 16);
     this.mpLabel1.TabIndex = 7;
     this.mpLabel1.Text     = "mpLabel1";
     //
     // mpButton1
     //
     this.mpButton1.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.mpButton1.Location = new System.Drawing.Point(239, 114);
     this.mpButton1.Name     = "mpButton1";
     this.mpButton1.Size     = new System.Drawing.Size(82, 23);
     this.mpButton1.TabIndex = 8;
     this.mpButton1.Text     = "Cancel Scan";
     this.mpButton1.UseVisualStyleBackColor = true;
     this.mpButton1.Click += new System.EventHandler(this.mpButton1_Click);
     //
     // progressBar
     //
     this.progressBar.Location = new System.Drawing.Point(12, 49);
     this.progressBar.Name     = "progressBar";
     this.progressBar.Size     = new System.Drawing.Size(368, 15);
     this.progressBar.TabIndex = 9;
     //
     // progressBar1
     //
     this.progressBar1.Location = new System.Drawing.Point(12, 92);
     this.progressBar1.Name     = "progressBar1";
     this.progressBar1.Size     = new System.Drawing.Size(368, 15);
     this.progressBar1.TabIndex = 10;
     //
     // DlgProgress
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.ClientSize          = new System.Drawing.Size(392, 145);
     this.Controls.Add(this.progressBar1);
     this.Controls.Add(this.progressBar);
     this.Controls.Add(this.mpButton1);
     this.Controls.Add(this.mpLabel1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.button2);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximumSize     = new System.Drawing.Size(417, 173);
     this.MinimumSize     = new System.Drawing.Size(250, 173);
     this.Name            = "DlgProgress";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Searching IMDB...";
     this.Load           += new System.EventHandler(this.DlgProgress_Load);
     this.ResumeLayout(false);
 }
Exemple #11
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox1 = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this.cmdTest   = new MediaPortal.UserInterface.Controls.MPButton();
     this.label2    = new MediaPortal.UserInterface.Controls.MPLabel();
     this.testRedeyeChannelsTextBox = new MediaPortal.UserInterface.Controls.MPTextBox();
     this.buttonIRDA        = new MediaPortal.UserInterface.Controls.MPButton();
     this.buttonRC5         = new MediaPortal.UserInterface.Controls.MPButton();
     this.buttonSKY         = new MediaPortal.UserInterface.Controls.MPButton();
     this.label7            = new MediaPortal.UserInterface.Controls.MPLabel();
     this.label6            = new MediaPortal.UserInterface.Controls.MPLabel();
     this.CommandDelayCombo = new MediaPortal.UserInterface.Controls.MPComboBox();
     this.label1            = new MediaPortal.UserInterface.Controls.MPLabel();
     this.CommPortCombo     = new MediaPortal.UserInterface.Controls.MPComboBox();
     this.inputCheckBox     = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.infoTextBox       = new MediaPortal.UserInterface.Controls.MPTextBox();
     this.groupBox2         = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this.statusLabel       = new MediaPortal.UserInterface.Controls.MPLabel();
     this.groupBox3         = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.cmdTest);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.testRedeyeChannelsTextBox);
     this.groupBox1.Controls.Add(this.buttonIRDA);
     this.groupBox1.Controls.Add(this.buttonRC5);
     this.groupBox1.Controls.Add(this.buttonSKY);
     this.groupBox1.Controls.Add(this.label7);
     this.groupBox1.Controls.Add(this.label6);
     this.groupBox1.Controls.Add(this.CommandDelayCombo);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.CommPortCombo);
     this.groupBox1.Controls.Add(this.inputCheckBox);
     this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.groupBox1.Location  = new System.Drawing.Point(6, 0);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(462, 184);
     this.groupBox1.TabIndex  = 0;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = "General settings";
     //
     // cmdTest
     //
     this.cmdTest.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.cmdTest.Location = new System.Drawing.Point(374, 152);
     this.cmdTest.Name     = "cmdTest";
     this.cmdTest.Size     = new System.Drawing.Size(72, 22);
     this.cmdTest.TabIndex = 11;
     this.cmdTest.Text     = "Test";
     this.cmdTest.UseVisualStyleBackColor = true;
     this.cmdTest.Click += new System.EventHandler(this.cmdTest_Click);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(16, 128);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(48, 16);
     this.label2.TabIndex = 9;
     this.label2.Text     = "Channels:";
     //
     // testRedeyeChannelsTextBox
     //
     this.testRedeyeChannelsTextBox.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.testRedeyeChannelsTextBox.BorderColor = System.Drawing.Color.Empty;
     this.testRedeyeChannelsTextBox.Location    = new System.Drawing.Point(168, 124);
     this.testRedeyeChannelsTextBox.MaxLength   = 3;
     this.testRedeyeChannelsTextBox.Name        = "testRedeyeChannelsTextBox";
     this.testRedeyeChannelsTextBox.Size        = new System.Drawing.Size(278, 20);
     this.testRedeyeChannelsTextBox.TabIndex    = 10;
     //
     // buttonIRDA
     //
     this.buttonIRDA.Location = new System.Drawing.Point(167, 50);
     this.buttonIRDA.Name     = "buttonIRDA";
     this.buttonIRDA.Size     = new System.Drawing.Size(72, 23);
     this.buttonIRDA.TabIndex = 2;
     this.buttonIRDA.Text     = "IRDA";
     this.buttonIRDA.UseVisualStyleBackColor = true;
     this.buttonIRDA.Click += new System.EventHandler(this.buttonIRDA_Click);
     //
     // buttonRC5
     //
     this.buttonRC5.Location = new System.Drawing.Point(247, 50);
     this.buttonRC5.Name     = "buttonRC5";
     this.buttonRC5.Size     = new System.Drawing.Size(72, 23);
     this.buttonRC5.TabIndex = 3;
     this.buttonRC5.Text     = "RC5";
     this.buttonRC5.UseVisualStyleBackColor = true;
     this.buttonRC5.Click += new System.EventHandler(this.buttonRC5_Click);
     //
     // buttonSKY
     //
     this.buttonSKY.Location = new System.Drawing.Point(327, 50);
     this.buttonSKY.Name     = "buttonSKY";
     this.buttonSKY.Size     = new System.Drawing.Size(72, 23);
     this.buttonSKY.TabIndex = 4;
     this.buttonSKY.Text     = "SKY";
     this.buttonSKY.UseVisualStyleBackColor = true;
     this.buttonSKY.Click += new System.EventHandler(this.buttonSKY_Click);
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(16, 56);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(64, 16);
     this.label7.TabIndex = 1;
     this.label7.Text     = "Signal Type:";
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(16, 104);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(72, 16);
     this.label6.TabIndex = 7;
     this.label6.Text     = "Delay (msec.):";
     //
     // CommandDelayCombo
     //
     this.CommandDelayCombo.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.CommandDelayCombo.BorderColor   = System.Drawing.Color.Empty;
     this.CommandDelayCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.CommandDelayCombo.Items.AddRange(new object[]
     {
         "150",
         "200",
         "250",
         "300",
         "350",
         "400",
         "450",
         "500",
         "550",
         "600",
         "650",
         "700",
         "750",
         "800",
         "850",
         "900",
         "950",
         "1000",
         "1050",
         "1100",
         "1150",
         "1200"
     });
     this.CommandDelayCombo.Location              = new System.Drawing.Point(168, 100);
     this.CommandDelayCombo.Name                  = "CommandDelayCombo";
     this.CommandDelayCombo.Size                  = new System.Drawing.Size(278, 21);
     this.CommandDelayCombo.TabIndex              = 8;
     this.CommandDelayCombo.SelectedIndexChanged += new System.EventHandler(this.CommandDelayCombo_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(16, 80);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(24, 16);
     this.label1.TabIndex = 5;
     this.label1.Text     = "Port:";
     //
     // CommPortCombo
     //
     this.CommPortCombo.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.CommPortCombo.BorderColor   = System.Drawing.Color.Empty;
     this.CommPortCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.CommPortCombo.Items.AddRange(new object[]
     {
         "COM1:",
         "COM2:",
         "COM3:",
         "COM4:",
         "COM5:",
         "COM6:",
         "COM7:",
         "COM8:"
     });
     this.CommPortCombo.Location              = new System.Drawing.Point(168, 76);
     this.CommPortCombo.Name                  = "CommPortCombo";
     this.CommPortCombo.Size                  = new System.Drawing.Size(278, 21);
     this.CommPortCombo.TabIndex              = 6;
     this.CommPortCombo.SelectedIndexChanged += new System.EventHandler(this.CommPortCombo_SelectedIndexChanged);
     //
     // inputCheckBox
     //
     this.inputCheckBox.AutoSize  = true;
     this.inputCheckBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.inputCheckBox.Location  = new System.Drawing.Point(16, 24);
     this.inputCheckBox.Name      = "inputCheckBox";
     this.inputCheckBox.Size      = new System.Drawing.Size(127, 17);
     this.inputCheckBox.TabIndex  = 0;
     this.inputCheckBox.Text      = "Enable RedEye Serial";
     this.inputCheckBox.UseVisualStyleBackColor = true;
     this.inputCheckBox.CheckedChanged         += new System.EventHandler(this.inputCheckBox_CheckedChanged);
     //
     // infoTextBox
     //
     this.infoTextBox.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.infoTextBox.BackColor   = System.Drawing.SystemColors.Control;
     this.infoTextBox.BorderColor = System.Drawing.Color.Empty;
     this.infoTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.infoTextBox.Location    = new System.Drawing.Point(16, 24);
     this.infoTextBox.Multiline   = true;
     this.infoTextBox.Name        = "infoTextBox";
     this.infoTextBox.ReadOnly    = true;
     this.infoTextBox.ScrollBars  = System.Windows.Forms.ScrollBars.Vertical;
     this.infoTextBox.Size        = new System.Drawing.Size(430, 104);
     this.infoTextBox.TabIndex    = 0;
     this.infoTextBox.WordWrap    = false;
     //
     // groupBox2
     //
     this.groupBox2.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox2.Controls.Add(this.statusLabel);
     this.groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.groupBox2.Location  = new System.Drawing.Point(6, 192);
     this.groupBox2.Name      = "groupBox2";
     this.groupBox2.Size      = new System.Drawing.Size(462, 64);
     this.groupBox2.TabIndex  = 1;
     this.groupBox2.TabStop   = false;
     this.groupBox2.Text      = "Device status";
     //
     // statusLabel
     //
     this.statusLabel.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.statusLabel.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.statusLabel.Location  = new System.Drawing.Point(16, 24);
     this.statusLabel.Name      = "statusLabel";
     this.statusLabel.Size      = new System.Drawing.Size(430, 32);
     this.statusLabel.TabIndex  = 0;
     this.statusLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.statusLabel.Click    += new System.EventHandler(this.statusLabel_Click);
     //
     // groupBox3
     //
     this.groupBox3.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox3.Controls.Add(this.infoTextBox);
     this.groupBox3.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.groupBox3.Location  = new System.Drawing.Point(6, 264);
     this.groupBox3.Name      = "groupBox3";
     this.groupBox3.Size      = new System.Drawing.Size(462, 144);
     this.groupBox3.TabIndex  = 2;
     this.groupBox3.TabStop   = false;
     this.groupBox3.Text      = "Information";
     //
     // RemoteRedEye
     //
     this.Controls.Add(this.groupBox3);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Name = "RemoteRedEye";
     this.Size = new System.Drawing.Size(472, 408);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.groupBox3.ResumeLayout(false);
     this.groupBox3.PerformLayout();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this._buttonCancel     = new MediaPortal.UserInterface.Controls.MPButton();
     this._labelName        = new MediaPortal.UserInterface.Controls.MPLabel();
     this._textBoxGenreName = new MediaPortal.UserInterface.Controls.MPTextBox();
     this._buttonAdd        = new MediaPortal.UserInterface.Controls.MPButton();
     this.SuspendLayout();
     //
     // _buttonCancel
     //
     this._buttonCancel.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this._buttonCancel.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this._buttonCancel.Location                = new System.Drawing.Point(292, 46);
     this._buttonCancel.Name                    = "_buttonCancel";
     this._buttonCancel.Size                    = new System.Drawing.Size(56, 23);
     this._buttonCancel.TabIndex                = 2;
     this._buttonCancel.Text                    = "Cancel";
     this._buttonCancel.UseVisualStyleBackColor = true;
     this._buttonCancel.Click                  += new System.EventHandler(this.buttonCancel_Click);
     //
     // _labelName
     //
     this._labelName.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this._labelName.Location  = new System.Drawing.Point(28, 19);
     this._labelName.Name      = "_labelName";
     this._labelName.Size      = new System.Drawing.Size(38, 20);
     this._labelName.TabIndex  = 5;
     this._labelName.Text      = "Name:";
     this._labelName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // _textBoxGenreName
     //
     this._textBoxGenreName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                           | System.Windows.Forms.AnchorStyles.Right)));
     this._textBoxGenreName.BorderColor = System.Drawing.Color.Empty;
     this._textBoxGenreName.Location    = new System.Drawing.Point(72, 19);
     this._textBoxGenreName.Name        = "_textBoxGenreName";
     this._textBoxGenreName.Size        = new System.Drawing.Size(276, 20);
     this._textBoxGenreName.TabIndex    = 0;
     //
     // _buttonAdd
     //
     this._buttonAdd.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this._buttonAdd.Location = new System.Drawing.Point(230, 46);
     this._buttonAdd.Name     = "_buttonAdd";
     this._buttonAdd.Size     = new System.Drawing.Size(56, 23);
     this._buttonAdd.TabIndex = 7;
     this._buttonAdd.Text     = "Add";
     this._buttonAdd.UseVisualStyleBackColor = true;
     this._buttonAdd.Click += new System.EventHandler(this._buttonAdd_Click);
     //
     // DlgAddGenre
     //
     this.AcceptButton        = this._buttonAdd;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.CancelButton        = this._buttonCancel;
     this.ClientSize          = new System.Drawing.Size(382, 81);
     this.Controls.Add(this._buttonAdd);
     this.Controls.Add(this._textBoxGenreName);
     this.Controls.Add(this._labelName);
     this.Controls.Add(this._buttonCancel);
     this.MaximizeBox   = false;
     this.MaximumSize   = new System.Drawing.Size(390, 115);
     this.MinimizeBox   = false;
     this.MinimumSize   = new System.Drawing.Size(390, 115);
     this.Name          = "DlgAddGenre";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "Add New Genre";
     this.Load         += new System.EventHandler(this.DlgAddGenre_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox2                = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this.comboDriveType           = new MediaPortal.UserInterface.Controls.MPComboBox();
     this.mpLabel3                 = new MediaPortal.UserInterface.Controls.MPLabel();
     this.resetButton              = new MediaPortal.UserInterface.Controls.MPButton();
     this.mpLabel2                 = new MediaPortal.UserInterface.Controls.MPLabel();
     this.textBoxExtensions        = new MediaPortal.UserInterface.Controls.MPTextBox();
     this.mpLabel1                 = new MediaPortal.UserInterface.Controls.MPLabel();
     this.buttonSelectFolder       = new MediaPortal.UserInterface.Controls.MPButton();
     this.comboDriveNo             = new MediaPortal.UserInterface.Controls.MPComboBox();
     this.comboBoxDrive            = new MediaPortal.UserInterface.Controls.MPComboBox();
     this.textBoxDaemonTools       = new MediaPortal.UserInterface.Controls.MPTextBox();
     this.label4                   = new MediaPortal.UserInterface.Controls.MPLabel();
     this.label3                   = new MediaPortal.UserInterface.Controls.MPLabel();
     this.label1                   = new MediaPortal.UserInterface.Controls.MPLabel();
     this.checkBoxDaemonTools      = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.checkBoxAskBeforePlaying = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox2
     //
     this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox2.Controls.Add(this.comboDriveType);
     this.groupBox2.Controls.Add(this.mpLabel3);
     this.groupBox2.Controls.Add(this.resetButton);
     this.groupBox2.Controls.Add(this.mpLabel2);
     this.groupBox2.Controls.Add(this.textBoxExtensions);
     this.groupBox2.Controls.Add(this.mpLabel1);
     this.groupBox2.Controls.Add(this.buttonSelectFolder);
     this.groupBox2.Controls.Add(this.comboDriveNo);
     this.groupBox2.Controls.Add(this.comboBoxDrive);
     this.groupBox2.Controls.Add(this.textBoxDaemonTools);
     this.groupBox2.Controls.Add(this.label4);
     this.groupBox2.Controls.Add(this.label3);
     this.groupBox2.Controls.Add(this.label1);
     this.groupBox2.Controls.Add(this.checkBoxDaemonTools);
     this.groupBox2.Controls.Add(this.checkBoxAskBeforePlaying);
     this.groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.groupBox2.Location  = new System.Drawing.Point(0, 0);
     this.groupBox2.Name      = "groupBox2";
     this.groupBox2.Size      = new System.Drawing.Size(472, 233);
     this.groupBox2.TabIndex  = 0;
     this.groupBox2.TabStop   = false;
     this.groupBox2.Text      = "Settings";
     //
     // comboDriveType
     //
     this.comboDriveType.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.comboDriveType.BorderColor               = System.Drawing.Color.Empty;
     this.comboDriveType.DropDownStyle             = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboDriveType.Location                  = new System.Drawing.Point(168, 118);
     this.comboDriveType.Name                      = "comboDriveType";
     this.comboDriveType.Size                      = new System.Drawing.Size(288, 21);
     this.comboDriveType.TabIndex                  = 14;
     this.comboDriveType.SelectionChangeCommitted += new System.EventHandler(this.comboDriveType_SelectionChangeCommitted);
     //
     // mpLabel3
     //
     this.mpLabel3.AutoSize = true;
     this.mpLabel3.Location = new System.Drawing.Point(16, 121);
     this.mpLabel3.Name     = "mpLabel3";
     this.mpLabel3.Size     = new System.Drawing.Size(62, 13);
     this.mpLabel3.TabIndex = 13;
     this.mpLabel3.Text     = "Drive Type:";
     //
     // resetButton
     //
     this.resetButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.resetButton.Location = new System.Drawing.Point(384, 152);
     this.resetButton.Name     = "resetButton";
     this.resetButton.Size     = new System.Drawing.Size(72, 50);
     this.resetButton.TabIndex = 12;
     this.resetButton.Text     = "Default";
     this.resetButton.UseVisualStyleBackColor = true;
     this.resetButton.Click += new System.EventHandler(this.resetButton_Click);
     //
     // mpLabel2
     //
     this.mpLabel2.AutoSize = true;
     this.mpLabel2.Location = new System.Drawing.Point(16, 206);
     this.mpLabel2.Name     = "mpLabel2";
     this.mpLabel2.Size     = new System.Drawing.Size(367, 13);
     this.mpLabel2.TabIndex = 11;
     this.mpLabel2.Text     = "Supported tools: Windows native ISO, Virtual CloneDrive and Daemon Tools";
     //
     // textBoxExtensions
     //
     this.textBoxExtensions.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                           | System.Windows.Forms.AnchorStyles.Right)));
     this.textBoxExtensions.BorderColor = System.Drawing.Color.Empty;
     this.textBoxExtensions.Location    = new System.Drawing.Point(168, 151);
     this.textBoxExtensions.Name        = "textBoxExtensions";
     this.textBoxExtensions.Size        = new System.Drawing.Size(208, 20);
     this.textBoxExtensions.TabIndex    = 10;
     //
     // mpLabel1
     //
     this.mpLabel1.AutoSize = true;
     this.mpLabel1.Location = new System.Drawing.Point(16, 155);
     this.mpLabel1.Name     = "mpLabel1";
     this.mpLabel1.Size     = new System.Drawing.Size(96, 13);
     this.mpLabel1.TabIndex = 9;
     this.mpLabel1.Text     = "Supported Images:";
     //
     // buttonSelectFolder
     //
     this.buttonSelectFolder.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonSelectFolder.Location = new System.Drawing.Point(384, 43);
     this.buttonSelectFolder.Name     = "buttonSelectFolder";
     this.buttonSelectFolder.Size     = new System.Drawing.Size(72, 22);
     this.buttonSelectFolder.TabIndex = 3;
     this.buttonSelectFolder.Text     = "Browse";
     this.buttonSelectFolder.UseVisualStyleBackColor = true;
     this.buttonSelectFolder.Click += new System.EventHandler(this.buttonSelectFolder_Click);
     //
     // comboDriveNo
     //
     this.comboDriveNo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.comboDriveNo.BorderColor   = System.Drawing.Color.Empty;
     this.comboDriveNo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboDriveNo.Items.AddRange(new object[] {
         "0",
         "1",
         "2",
         "3"
     });
     this.comboDriveNo.Location = new System.Drawing.Point(168, 92);
     this.comboDriveNo.Name     = "comboDriveNo";
     this.comboDriveNo.Size     = new System.Drawing.Size(288, 21);
     this.comboDriveNo.TabIndex = 7;
     //
     // comboBoxDrive
     //
     this.comboBoxDrive.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.comboBoxDrive.BorderColor   = System.Drawing.Color.Empty;
     this.comboBoxDrive.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxDrive.Location      = new System.Drawing.Point(168, 68);
     this.comboBoxDrive.Name          = "comboBoxDrive";
     this.comboBoxDrive.Size          = new System.Drawing.Size(288, 21);
     this.comboBoxDrive.TabIndex      = 5;
     //
     // textBoxDaemonTools
     //
     this.textBoxDaemonTools.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                            | System.Windows.Forms.AnchorStyles.Right)));
     this.textBoxDaemonTools.BorderColor = System.Drawing.Color.Empty;
     this.textBoxDaemonTools.Location    = new System.Drawing.Point(168, 44);
     this.textBoxDaemonTools.Name        = "textBoxDaemonTools";
     this.textBoxDaemonTools.Size        = new System.Drawing.Size(208, 20);
     this.textBoxDaemonTools.TabIndex    = 2;
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(16, 96);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(75, 13);
     this.label4.TabIndex = 6;
     this.label4.Text     = "Drive Number:";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(16, 48);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(55, 13);
     this.label3.TabIndex = 1;
     this.label3.Text     = "Drive tool:";
     //
     // label1
     //
     this.label1.AutoSize    = true;
     this.label1.Location    = new System.Drawing.Point(16, 72);
     this.label1.Name        = "label1";
     this.label1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.label1.Size        = new System.Drawing.Size(65, 13);
     this.label1.TabIndex    = 4;
     this.label1.Text        = "Virtual drive:";
     //
     // checkBoxDaemonTools
     //
     this.checkBoxDaemonTools.AutoSize  = true;
     this.checkBoxDaemonTools.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.checkBoxDaemonTools.Location  = new System.Drawing.Point(168, 20);
     this.checkBoxDaemonTools.Name      = "checkBoxDaemonTools";
     this.checkBoxDaemonTools.Size      = new System.Drawing.Size(127, 17);
     this.checkBoxDaemonTools.TabIndex  = 0;
     this.checkBoxDaemonTools.Text      = "Automount image files";
     this.checkBoxDaemonTools.UseVisualStyleBackColor = true;
     this.checkBoxDaemonTools.CheckedChanged         += new System.EventHandler(this.checkBoxDaemonTools_CheckedChanged);
     //
     // checkBoxAskBeforePlaying
     //
     this.checkBoxAskBeforePlaying.AutoSize  = true;
     this.checkBoxAskBeforePlaying.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.checkBoxAskBeforePlaying.Location  = new System.Drawing.Point(168, 180);
     this.checkBoxAskBeforePlaying.Name      = "checkBoxAskBeforePlaying";
     this.checkBoxAskBeforePlaying.Size      = new System.Drawing.Size(163, 17);
     this.checkBoxAskBeforePlaying.TabIndex  = 8;
     this.checkBoxAskBeforePlaying.Text      = "Ask before playing image files";
     this.checkBoxAskBeforePlaying.UseVisualStyleBackColor = true;
     //
     // GeneralDaemonTools
     //
     this.BackColor = System.Drawing.SystemColors.Control;
     this.Controls.Add(this.groupBox2);
     this.Name = "GeneralDaemonTools";
     this.Size = new System.Drawing.Size(472, 408);
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.ResumeLayout(false);
 }
Exemple #14
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GeneralDynamicRefreshRate));
     System.Windows.Forms.DataGridViewCellStyle     dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     this.groupBoxRR         = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this.defaultHz          = new System.Windows.Forms.ComboBox();
     this.mpButtonDefault    = new MediaPortal.UserInterface.Controls.MPButton();
     this.buttonRemove       = new MediaPortal.UserInterface.Controls.MPButton();
     this.buttonAdd          = new MediaPortal.UserInterface.Controls.MPButton();
     this.lblDescription     = new MediaPortal.UserInterface.Controls.MPLabel();
     this.dataGridViewRR     = new System.Windows.Forms.DataGridView();
     this.chkUseDefaultRR    = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.chkForceRR         = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.chkUseDeviceReset  = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.chkNotifyOnRR      = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.chkEnableDynamicRR = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.linkLabelWiki      = new System.Windows.Forms.LinkLabel();
     this.gridColType        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.gridColFramerates  = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.gridColRR          = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.gridColAction      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.groupBoxRR.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridViewRR)).BeginInit();
     this.SuspendLayout();
     //
     // groupBoxRR
     //
     this.groupBoxRR.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                     | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBoxRR.Controls.Add(this.defaultHz);
     this.groupBoxRR.Controls.Add(this.mpButtonDefault);
     this.groupBoxRR.Controls.Add(this.buttonRemove);
     this.groupBoxRR.Controls.Add(this.buttonAdd);
     this.groupBoxRR.Controls.Add(this.lblDescription);
     this.groupBoxRR.Controls.Add(this.dataGridViewRR);
     this.groupBoxRR.Controls.Add(this.chkUseDefaultRR);
     this.groupBoxRR.Controls.Add(this.chkForceRR);
     this.groupBoxRR.Controls.Add(this.chkUseDeviceReset);
     this.groupBoxRR.Controls.Add(this.chkNotifyOnRR);
     this.groupBoxRR.Controls.Add(this.chkEnableDynamicRR);
     this.groupBoxRR.Controls.Add(this.linkLabelWiki);
     this.groupBoxRR.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.groupBoxRR.Location  = new System.Drawing.Point(6, 0);
     this.groupBoxRR.Name      = "groupBoxRR";
     this.groupBoxRR.Size      = new System.Drawing.Size(462, 402);
     this.groupBoxRR.TabIndex  = 7;
     this.groupBoxRR.TabStop   = false;
     this.groupBoxRR.Text      = "Dynamic Refresh Rate Setup";
     //
     // defaultHz
     //
     this.defaultHz.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.defaultHz.FormattingEnabled = true;
     this.defaultHz.Location          = new System.Drawing.Point(159, 370);
     this.defaultHz.Name                  = "defaultHz";
     this.defaultHz.Size                  = new System.Drawing.Size(97, 21);
     this.defaultHz.TabIndex              = 23;
     this.defaultHz.SelectedIndexChanged += new System.EventHandler(this.defaultHz_SelectedIndexChanged);
     //
     // mpButtonDefault
     //
     this.mpButtonDefault.Location = new System.Drawing.Point(147, 335);
     this.mpButtonDefault.Name     = "mpButtonDefault";
     this.mpButtonDefault.Size     = new System.Drawing.Size(58, 23);
     this.mpButtonDefault.TabIndex = 22;
     this.mpButtonDefault.Text     = "Default";
     this.mpButtonDefault.UseVisualStyleBackColor = true;
     this.mpButtonDefault.Click += new System.EventHandler(this.mpButtonDefault_Click);
     //
     // buttonRemove
     //
     this.buttonRemove.Location = new System.Drawing.Point(83, 335);
     this.buttonRemove.Name     = "buttonRemove";
     this.buttonRemove.Size     = new System.Drawing.Size(58, 23);
     this.buttonRemove.TabIndex = 21;
     this.buttonRemove.Text     = "Remove";
     this.buttonRemove.UseVisualStyleBackColor = true;
     this.buttonRemove.Click += new System.EventHandler(this.buttonRemove_Click);
     //
     // buttonAdd
     //
     this.buttonAdd.Location = new System.Drawing.Point(19, 335);
     this.buttonAdd.Name     = "buttonAdd";
     this.buttonAdd.Size     = new System.Drawing.Size(58, 23);
     this.buttonAdd.TabIndex = 20;
     this.buttonAdd.Text     = "Add";
     this.buttonAdd.UseVisualStyleBackColor = true;
     this.buttonAdd.Click += new System.EventHandler(this.buttonAdd_Click);
     //
     // lblDescription
     //
     this.lblDescription.AutoSize = true;
     this.lblDescription.Location = new System.Drawing.Point(16, 24);
     this.lblDescription.Name     = "lblDescription";
     this.lblDescription.Size     = new System.Drawing.Size(414, 130);
     this.lblDescription.TabIndex = 18;
     this.lblDescription.Text     = resources.GetString("lblDescription.Text");
     //
     // dataGridViewRR
     //
     this.dataGridViewRR.AllowUserToAddRows    = false;
     this.dataGridViewRR.AllowUserToDeleteRows = false;
     this.dataGridViewRR.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.dataGridViewRR.AutoSizeColumnsMode         = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.DisplayedCells;
     this.dataGridViewRR.AutoSizeRowsMode            = System.Windows.Forms.DataGridViewAutoSizeRowsMode.DisplayedCells;
     this.dataGridViewRR.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridViewRR.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.gridColType,
         this.gridColFramerates,
         this.gridColRR,
         this.gridColAction
     });
     dataGridViewCellStyle1.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.TopLeft;
     dataGridViewCellStyle1.BackColor          = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle1.Font               = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle1.ForeColor          = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle1.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.dataGridViewRR.DefaultCellStyle      = dataGridViewCellStyle1;
     this.dataGridViewRR.Location              = new System.Drawing.Point(19, 214);
     this.dataGridViewRR.Name = "dataGridViewRR";
     this.dataGridViewRR.RowHeadersVisible = false;
     this.dataGridViewRR.SelectionMode     = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
     this.dataGridViewRR.Size              = new System.Drawing.Size(434, 115);
     this.dataGridViewRR.TabIndex          = 17;
     this.dataGridViewRR.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewRR_CellValueChanged);
     //
     // chkUseDefaultRR
     //
     this.chkUseDefaultRR.AutoSize  = true;
     this.chkUseDefaultRR.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.chkUseDefaultRR.Location  = new System.Drawing.Point(19, 371);
     this.chkUseDefaultRR.Name      = "chkUseDefaultRR";
     this.chkUseDefaultRR.Size      = new System.Drawing.Size(137, 17);
     this.chkUseDefaultRR.TabIndex  = 15;
     this.chkUseDefaultRR.Text      = "Use default refresh rate:";
     this.chkUseDefaultRR.UseVisualStyleBackColor = true;
     this.chkUseDefaultRR.CheckedChanged         += new System.EventHandler(this.chkUseDefaultRR_CheckedChanged);
     //
     // chkForceRR
     //
     this.chkForceRR.AutoSize  = true;
     this.chkForceRR.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.chkForceRR.Location  = new System.Drawing.Point(237, 191);
     this.chkForceRR.Name      = "chkForceRR";
     this.chkForceRR.Size      = new System.Drawing.Size(149, 17);
     this.chkForceRR.TabIndex  = 14;
     this.chkForceRR.Text      = "Force refresh rate change.";
     this.chkForceRR.UseVisualStyleBackColor = true;
     //
     // chkUseDeviceReset
     //
     this.chkUseDeviceReset.AutoSize  = true;
     this.chkUseDeviceReset.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.chkUseDeviceReset.Location  = new System.Drawing.Point(237, 168);
     this.chkUseDeviceReset.Name      = "chkUseDeviceReset";
     this.chkUseDeviceReset.Size      = new System.Drawing.Size(107, 17);
     this.chkUseDeviceReset.TabIndex  = 13;
     this.chkUseDeviceReset.Text      = "Use device reset.";
     this.chkUseDeviceReset.UseVisualStyleBackColor = true;
     //
     // chkNotifyOnRR
     //
     this.chkNotifyOnRR.AutoSize  = true;
     this.chkNotifyOnRR.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.chkNotifyOnRR.Location  = new System.Drawing.Point(19, 191);
     this.chkNotifyOnRR.Name      = "chkNotifyOnRR";
     this.chkNotifyOnRR.Size      = new System.Drawing.Size(203, 17);
     this.chkNotifyOnRR.TabIndex  = 12;
     this.chkNotifyOnRR.Text      = "Notify (popup) on refresh rate change.";
     this.chkNotifyOnRR.UseVisualStyleBackColor = true;
     //
     // chkEnableDynamicRR
     //
     this.chkEnableDynamicRR.AutoSize  = true;
     this.chkEnableDynamicRR.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.chkEnableDynamicRR.Location  = new System.Drawing.Point(19, 168);
     this.chkEnableDynamicRR.Name      = "chkEnableDynamicRR";
     this.chkEnableDynamicRR.Size      = new System.Drawing.Size(206, 17);
     this.chkEnableDynamicRR.TabIndex  = 11;
     this.chkEnableDynamicRR.Text      = "Enable Dynamic Refresh Rate Control.";
     this.chkEnableDynamicRR.UseVisualStyleBackColor = true;
     this.chkEnableDynamicRR.CheckedChanged         += new System.EventHandler(this.chkEnableDynamicRR_CheckedChanged);
     //
     // linkLabelWiki
     //
     this.linkLabelWiki.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.linkLabelWiki.AutoSize     = true;
     this.linkLabelWiki.Location     = new System.Drawing.Point(341, 373);
     this.linkLabelWiki.Name         = "linkLabelWiki";
     this.linkLabelWiki.Size         = new System.Drawing.Size(112, 13);
     this.linkLabelWiki.TabIndex     = 10;
     this.linkLabelWiki.TabStop      = true;
     this.linkLabelWiki.Text         = "more info in the wiki ...";
     this.linkLabelWiki.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabelWiki_LinkClicked);
     //
     // gridColType
     //
     this.gridColType.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
     this.gridColType.Frozen       = true;
     this.gridColType.HeaderText   = "Name";
     this.gridColType.MinimumWidth = 80;
     this.gridColType.Name         = "gridColType";
     this.gridColType.SortMode     = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.gridColType.Width        = 80;
     //
     // gridColFramerates
     //
     this.gridColFramerates.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
     this.gridColFramerates.HeaderText   = "Frame rate(s)";
     this.gridColFramerates.MinimumWidth = 74;
     this.gridColFramerates.Name         = "gridColFramerates";
     this.gridColFramerates.SortMode     = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.gridColFramerates.Width        = 74;
     //
     // gridColRR
     //
     this.gridColRR.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
     this.gridColRR.HeaderText   = "Refresh rate";
     this.gridColRR.MinimumWidth = 71;
     this.gridColRR.Name         = "gridColRR";
     this.gridColRR.SortMode     = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.gridColRR.Width        = 71;
     //
     // gridColAction
     //
     this.gridColAction.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
     this.gridColAction.HeaderText   = "Action";
     this.gridColAction.MinimumWidth = 195;
     this.gridColAction.Name         = "gridColAction";
     this.gridColAction.SortMode     = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.gridColAction.Width        = 195;
     //
     // GeneralDynamicRefreshRate
     //
     this.BackColor = System.Drawing.SystemColors.Control;
     this.Controls.Add(this.groupBoxRR);
     this.Name = "GeneralDynamicRefreshRate";
     this.Size = new System.Drawing.Size(472, 408);
     this.groupBoxRR.ResumeLayout(false);
     this.groupBoxRR.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridViewRR)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this._listView1     = new System.Windows.Forms.ListView();
     this._columnHeader1 = new System.Windows.Forms.ColumnHeader();
     this._button2       = new MediaPortal.UserInterface.Controls.MPButton();
     this._label1        = new MediaPortal.UserInterface.Controls.MPLabel();
     this._label2        = new MediaPortal.UserInterface.Controls.MPLabel();
     this._textBoxTitle  = new MediaPortal.UserInterface.Controls.MPTextBox();
     this._buttonFind    = new MediaPortal.UserInterface.Controls.MPButton();
     this.SuspendLayout();
     //
     // listView1
     //
     this._listView1.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this._listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[]
     {
         this._columnHeader1
     });
     this._listView1.Location = new System.Drawing.Point(8, 34);
     this._listView1.Name     = "_listView1";
     this._listView1.Size     = new System.Drawing.Size(447, 281);
     this._listView1.TabIndex = 0;
     this._listView1.UseCompatibleStateImageBehavior = false;
     this._listView1.View = System.Windows.Forms.View.Details;
     this._listView1.SelectedIndexChanged += new System.EventHandler(this.listView1_SelectedIndexChanged);
     //
     // columnHeader1
     //
     this._columnHeader1.Text  = "Name";
     this._columnHeader1.Width = 440;
     //
     // button2
     //
     this._button2.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this._button2.Location = new System.Drawing.Point(399, 347);
     this._button2.Name     = "_button2";
     this._button2.Size     = new System.Drawing.Size(56, 23);
     this._button2.TabIndex = 2;
     this._button2.Text     = "Close";
     this._button2.UseVisualStyleBackColor = true;
     this._button2.Click += new System.EventHandler(this.button2_Click);
     //
     // label1
     //
     this._label1.Location = new System.Drawing.Point(16, 8);
     this._label1.Name     = "_label1";
     this._label1.Size     = new System.Drawing.Size(352, 23);
     this._label1.TabIndex = 3;
     this._label1.Text     = "There was a conflict with the following files/movies:";
     //
     // label2
     //
     this._label2.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this._label2.Location  = new System.Drawing.Point(7, 320);
     this._label2.Name      = "_label2";
     this._label2.Size      = new System.Drawing.Size(32, 20);
     this._label2.TabIndex  = 5;
     this._label2.Text      = "Title:";
     this._label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // textBoxTitle
     //
     this._textBoxTitle.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              (((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this._textBoxTitle.BorderColor = System.Drawing.Color.Empty;
     this._textBoxTitle.Location    = new System.Drawing.Point(36, 320);
     this._textBoxTitle.Name        = "_textBoxTitle";
     this._textBoxTitle.Size        = new System.Drawing.Size(358, 20);
     this._textBoxTitle.TabIndex    = 6;
     //
     // buttonFind
     //
     this._buttonFind.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this._buttonFind.Location = new System.Drawing.Point(399, 319);
     this._buttonFind.Name     = "_buttonFind";
     this._buttonFind.Size     = new System.Drawing.Size(56, 23);
     this._buttonFind.TabIndex = 7;
     this._buttonFind.Text     = "Find";
     this._buttonFind.UseVisualStyleBackColor = true;
     this._buttonFind.Click += new System.EventHandler(this.buttonFind_Click);
     //
     // DlgMovieConflicts
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.ClientSize          = new System.Drawing.Size(464, 376);
     this.Controls.Add(this._buttonFind);
     this.Controls.Add(this._textBoxTitle);
     this.Controls.Add(this._label2);
     this.Controls.Add(this._label1);
     this.Controls.Add(this._button2);
     this.Controls.Add(this._listView1);
     this.MinimumSize   = new System.Drawing.Size(393, 354);
     this.Name          = "DlgMovieConflicts";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "IMDB Movie conflicts";
     this.Load         += new System.EventHandler(this.DlgMovieConflicts_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemple #16
0
        public void PickupPickerPanel_OnCreateButton(On.RoR2.UI.PickupPickerPanel.orig_OnCreateButton orig, RoR2.UI.PickupPickerPanel self, int index, MPButton button)
        {
            orig(self, optionMap[0] >= 0 ? optionMap[index] : index, button);

            if (mod.config.CommandTooltipsShow.Value || mod.config.CommandCountersShow.Value)
            {
                CharacterMaster master    = LocalUserManager.GetFirstLocalUser().cachedMasterController.master;
                PickupDef       pickupDef = PickupCatalog.GetPickupDef(self.pickerController.options[optionMap[0] >= 0 ? optionMap[index] : index].pickupIndex);

                if (pickupDef.itemIndex != ItemIndex.None && mod.config.CommandCountersShow.Value)
                {
                    int count = master.inventory.itemStacks[(int)pickupDef.itemIndex];
                    if (!mod.config.CommandCountersHideOnZero.Value || count > 0)
                    {
                        GameObject textGameObject = new GameObject("StackText");
                        textGameObject.transform.SetParent(button.transform);
                        textGameObject.layer = 5;

                        RectTransform counterRect = textGameObject.AddComponent <RectTransform>();

                        HGTextMeshProUGUI counterText = textGameObject.AddComponent <HGTextMeshProUGUI>();
                        counterText.enableWordWrapping = false;
                        counterText.alignment          = mod.config.CommandCountersTextAlignmentOption;
                        counterText.fontSize           = mod.config.CommandCountersFontSize.Value;
                        counterText.faceColor          = Color.white;
                        counterText.outlineWidth       = 0.2f;
                        counterText.text = mod.config.CommandCountersPrefix.Value + count;

                        counterRect.localPosition    = Vector3.zero;
                        counterRect.anchorMin        = Vector2.zero;
                        counterRect.anchorMax        = Vector2.one;
                        counterRect.localScale       = Vector3.one;
                        counterRect.sizeDelta        = new Vector2(-10, -4);
                        counterRect.anchoredPosition = Vector2.zero;
                    }
                }

                if (mod.config.CommandTooltipsShow.Value)
                {
                    TooltipProvider tooltipProvider = button.gameObject.AddComponent <TooltipProvider>();

                    if (pickupDef.itemIndex != ItemIndex.None)
                    {
                        ItemDef itemDef = ItemCatalog.GetItemDef(pickupDef.itemIndex);

                        if (mod.ItemStatsModIntegration)
                        {
                            int    count    = master.inventory.itemStacks[(int)pickupDef.itemIndex];
                            string bodyText = Language.GetString(itemDef.descriptionToken);
                            if (self.pickerController.contextString == "ARTIFACT_COMMAND_CUBE_INTERACTION_PROMPT" && mod.config.CommandTooltipsItemStatsBeforeAfter.Value && count > 0)
                            {
                                bodyText += String.Format("\n\n<align=left>Before ({0} Stack" + (count > 1 ? "s" : "") + "):", count);
                                String[] descLines = ModCompat.statsFromItemStats(itemDef.itemIndex, count, master).Split(new String[] { "\n", "<br>" }, StringSplitOptions.None);
                                bodyText += String.Join("\n", descLines.Take(descLines.Length - 1).Skip(1));
                                bodyText += String.Format("\n\n<align=left>After ({0} Stacks):", count + 1);
                                descLines = ModCompat.statsFromItemStats(itemDef.itemIndex, count + 1, master).Split(new String[] { "\n", "<br>" }, StringSplitOptions.None);
                                bodyText += String.Join("\n", descLines.Take(descLines.Length - 1).Skip(1));
                            }
                            else
                            {
                                if (self.pickerController.contextString == "ARTIFACT_COMMAND_CUBE_INTERACTION_PROMPT")
                                {
                                    count += 1;
                                }
                                bodyText += ModCompat.statsFromItemStats(itemDef.itemIndex, count, master);
                            }

                            tooltipProvider.overrideBodyText = bodyText;
                        }
                        else
                        {
                            tooltipProvider.bodyToken = itemDef.descriptionToken;
                        }

                        tooltipProvider.titleToken = itemDef.nameToken;
                        tooltipProvider.titleColor = ColorCatalog.GetColor(itemDef.darkColorIndex);;
                        tooltipProvider.bodyColor  = new Color(0.6f, 0.6f, 0.6f, 1f);
                    }
                    else if (pickupDef.equipmentIndex != EquipmentIndex.None)
                    {
                        EquipmentDef equipmentDef = EquipmentCatalog.GetEquipmentDef(pickupDef.equipmentIndex);

                        tooltipProvider.titleToken = equipmentDef.nameToken;
                        tooltipProvider.bodyToken  = equipmentDef.descriptionToken;
                        tooltipProvider.titleColor = ColorCatalog.GetColor(equipmentDef.colorIndex);
                        tooltipProvider.bodyColor  = Color.gray;
                    }
                }
            }
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBoxSettings         = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this.checkBoxOutputInterlaced = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.buttonReset             = new MediaPortal.UserInterface.Controls.MPButton();
     this.buttonTvDefaults        = new MediaPortal.UserInterface.Controls.MPButton();
     this.labelNote               = new MediaPortal.UserInterface.Controls.MPLabel();
     this.labelSaturation         = new MediaPortal.UserInterface.Controls.MPLabel();
     this.labelHue                = new MediaPortal.UserInterface.Controls.MPLabel();
     this.labelContrast           = new MediaPortal.UserInterface.Controls.MPLabel();
     this.labelBrightness         = new MediaPortal.UserInterface.Controls.MPLabel();
     this.comboBoxDeinterlace     = new MediaPortal.UserInterface.Controls.MPComboBox();
     this.labelDeinterlaceMethod  = new MediaPortal.UserInterface.Controls.MPLabel();
     this.checkBoxForcedSubtitles = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.checkBoxPlanar          = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.trackBarSaturation      = new System.Windows.Forms.TrackBar();
     this.trackBarHue             = new System.Windows.Forms.TrackBar();
     this.trackBarContrast        = new System.Windows.Forms.TrackBar();
     this.trackBarBrightness      = new System.Windows.Forms.TrackBar();
     this.groupBoxSettings.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.trackBarSaturation)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.trackBarHue)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.trackBarContrast)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.trackBarBrightness)).BeginInit();
     this.SuspendLayout();
     //
     // groupBoxSettings
     //
     this.groupBoxSettings.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBoxSettings.Controls.Add(this.checkBoxOutputInterlaced);
     this.groupBoxSettings.Controls.Add(this.buttonReset);
     this.groupBoxSettings.Controls.Add(this.buttonTvDefaults);
     this.groupBoxSettings.Controls.Add(this.labelNote);
     this.groupBoxSettings.Controls.Add(this.labelSaturation);
     this.groupBoxSettings.Controls.Add(this.labelHue);
     this.groupBoxSettings.Controls.Add(this.labelContrast);
     this.groupBoxSettings.Controls.Add(this.labelBrightness);
     this.groupBoxSettings.Controls.Add(this.comboBoxDeinterlace);
     this.groupBoxSettings.Controls.Add(this.labelDeinterlaceMethod);
     this.groupBoxSettings.Controls.Add(this.checkBoxForcedSubtitles);
     this.groupBoxSettings.Controls.Add(this.checkBoxPlanar);
     this.groupBoxSettings.Controls.Add(this.trackBarSaturation);
     this.groupBoxSettings.Controls.Add(this.trackBarHue);
     this.groupBoxSettings.Controls.Add(this.trackBarContrast);
     this.groupBoxSettings.Controls.Add(this.trackBarBrightness);
     this.groupBoxSettings.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.groupBoxSettings.Location  = new System.Drawing.Point(6, 0);
     this.groupBoxSettings.Name      = "groupBoxSettings";
     this.groupBoxSettings.Size      = new System.Drawing.Size(462, 405);
     this.groupBoxSettings.TabIndex  = 0;
     this.groupBoxSettings.TabStop   = false;
     this.groupBoxSettings.Text      = "Settings";
     //
     // checkBoxOutputInterlaced
     //
     this.checkBoxOutputInterlaced.AutoSize  = true;
     this.checkBoxOutputInterlaced.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.checkBoxOutputInterlaced.Location  = new System.Drawing.Point(16, 70);
     this.checkBoxOutputInterlaced.Name      = "checkBoxOutputInterlaced";
     this.checkBoxOutputInterlaced.Size      = new System.Drawing.Size(157, 17);
     this.checkBoxOutputInterlaced.TabIndex  = 15;
     this.checkBoxOutputInterlaced.Text      = "Set interlaced flag for output";
     this.checkBoxOutputInterlaced.UseVisualStyleBackColor = true;
     this.checkBoxOutputInterlaced.CheckedChanged         +=
         new System.EventHandler(this.checkBoxOutputInterlaced_CheckedChanged);
     //
     // buttonReset
     //
     this.buttonReset.Location = new System.Drawing.Point(272, 322);
     this.buttonReset.Name     = "buttonReset";
     this.buttonReset.Size     = new System.Drawing.Size(75, 23);
     this.buttonReset.TabIndex = 14;
     this.buttonReset.Text     = "Reset";
     this.buttonReset.UseVisualStyleBackColor = true;
     this.buttonReset.Click += new System.EventHandler(this.btnReset_Click);
     //
     // buttonTvDefaults
     //
     this.buttonTvDefaults.Location = new System.Drawing.Point(165, 322);
     this.buttonTvDefaults.Name     = "buttonTvDefaults";
     this.buttonTvDefaults.Size     = new System.Drawing.Size(75, 23);
     this.buttonTvDefaults.TabIndex = 13;
     this.buttonTvDefaults.Text     = "TV defaults";
     this.buttonTvDefaults.UseVisualStyleBackColor = true;
     this.buttonTvDefaults.Click += new System.EventHandler(this.buttonTvDefaults_Click);
     //
     // labelNote
     //
     this.labelNote.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.labelNote.Location = new System.Drawing.Point(13, 362);
     this.labelNote.Name     = "labelNote";
     this.labelNote.Size     = new System.Drawing.Size(430, 40);
     this.labelNote.TabIndex = 12;
     this.labelNote.Text     = "Note: Using a non-planar output format, bob deinterlacer, or adjusting color prop" +
                               "erties may degrade performance. \"Auto\" deinterlacer will switch to \"Blend\" if ne" +
                               "cessary.";
     //
     // labelSaturation
     //
     this.labelSaturation.Location = new System.Drawing.Point(13, 272);
     this.labelSaturation.Name     = "labelSaturation";
     this.labelSaturation.Size     = new System.Drawing.Size(64, 16);
     this.labelSaturation.TabIndex = 8;
     this.labelSaturation.Text     = "Saturation:";
     //
     // labelHue
     //
     this.labelHue.Location = new System.Drawing.Point(13, 232);
     this.labelHue.Name     = "labelHue";
     this.labelHue.Size     = new System.Drawing.Size(32, 16);
     this.labelHue.TabIndex = 6;
     this.labelHue.Text     = "Hue:";
     //
     // labelContrast
     //
     this.labelContrast.Location = new System.Drawing.Point(13, 192);
     this.labelContrast.Name     = "labelContrast";
     this.labelContrast.Size     = new System.Drawing.Size(56, 16);
     this.labelContrast.TabIndex = 4;
     this.labelContrast.Text     = "Contrast:";
     //
     // labelBrightness
     //
     this.labelBrightness.Location = new System.Drawing.Point(13, 152);
     this.labelBrightness.Name     = "labelBrightness";
     this.labelBrightness.Size     = new System.Drawing.Size(64, 16);
     this.labelBrightness.TabIndex = 2;
     this.labelBrightness.Text     = "Brightness:";
     //
     // comboBoxDeinterlace
     //
     this.comboBoxDeinterlace.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.comboBoxDeinterlace.BorderColor   = System.Drawing.Color.Empty;
     this.comboBoxDeinterlace.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxDeinterlace.Items.AddRange(new object[]
     {
         "Auto",
         "Weave",
         "Blend",
         "Bob",
         "Field Shift"
     });
     this.comboBoxDeinterlace.Location = new System.Drawing.Point(131, 103);
     this.comboBoxDeinterlace.Name     = "comboBoxDeinterlace";
     this.comboBoxDeinterlace.Size     = new System.Drawing.Size(312, 21);
     this.comboBoxDeinterlace.TabIndex = 11;
     //
     // labelDeinterlaceMethod
     //
     this.labelDeinterlaceMethod.Location = new System.Drawing.Point(13, 106);
     this.labelDeinterlaceMethod.Name     = "labelDeinterlaceMethod";
     this.labelDeinterlaceMethod.Size     = new System.Drawing.Size(112, 16);
     this.labelDeinterlaceMethod.TabIndex = 10;
     this.labelDeinterlaceMethod.Text     = "Deinterlace method:";
     //
     // checkBoxForcedSubtitles
     //
     this.checkBoxForcedSubtitles.AutoSize   = true;
     this.checkBoxForcedSubtitles.Checked    = true;
     this.checkBoxForcedSubtitles.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBoxForcedSubtitles.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.checkBoxForcedSubtitles.Location   = new System.Drawing.Point(16, 47);
     this.checkBoxForcedSubtitles.Name       = "checkBoxForcedSubtitles";
     this.checkBoxForcedSubtitles.Size       = new System.Drawing.Size(166, 17);
     this.checkBoxForcedSubtitles.TabIndex   = 1;
     this.checkBoxForcedSubtitles.Text       = "Always display forced subtitles";
     this.checkBoxForcedSubtitles.UseVisualStyleBackColor = true;
     //
     // checkBoxPlanar
     //
     this.checkBoxPlanar.AutoSize   = true;
     this.checkBoxPlanar.Checked    = true;
     this.checkBoxPlanar.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBoxPlanar.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.checkBoxPlanar.Location   = new System.Drawing.Point(16, 24);
     this.checkBoxPlanar.Name       = "checkBoxPlanar";
     this.checkBoxPlanar.Size       = new System.Drawing.Size(266, 17);
     this.checkBoxPlanar.TabIndex   = 0;
     this.checkBoxPlanar.Text       = "Enable planar YUV media types (YV12, I420, IYUV)";
     this.checkBoxPlanar.UseVisualStyleBackColor = true;
     //
     // trackBarSaturation
     //
     this.trackBarSaturation.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.trackBarSaturation.LargeChange   = 10;
     this.trackBarSaturation.Location      = new System.Drawing.Point(131, 268);
     this.trackBarSaturation.Maximum       = 200;
     this.trackBarSaturation.Name          = "trackBarSaturation";
     this.trackBarSaturation.Size          = new System.Drawing.Size(320, 45);
     this.trackBarSaturation.TabIndex      = 9;
     this.trackBarSaturation.TickFrequency = 25;
     this.trackBarSaturation.Value         = 100;
     //
     // trackBarHue
     //
     this.trackBarHue.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.trackBarHue.LargeChange   = 15;
     this.trackBarHue.Location      = new System.Drawing.Point(131, 228);
     this.trackBarHue.Maximum       = 360;
     this.trackBarHue.Name          = "trackBarHue";
     this.trackBarHue.Size          = new System.Drawing.Size(320, 45);
     this.trackBarHue.TabIndex      = 7;
     this.trackBarHue.TickFrequency = 45;
     this.trackBarHue.Value         = 180;
     //
     // trackBarContrast
     //
     this.trackBarContrast.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.trackBarContrast.LargeChange   = 10;
     this.trackBarContrast.Location      = new System.Drawing.Point(131, 188);
     this.trackBarContrast.Maximum       = 200;
     this.trackBarContrast.Name          = "trackBarContrast";
     this.trackBarContrast.Size          = new System.Drawing.Size(320, 45);
     this.trackBarContrast.TabIndex      = 5;
     this.trackBarContrast.TickFrequency = 25;
     this.trackBarContrast.Value         = 100;
     //
     // trackBarBrightness
     //
     this.trackBarBrightness.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.trackBarBrightness.LargeChange   = 16;
     this.trackBarBrightness.Location      = new System.Drawing.Point(131, 148);
     this.trackBarBrightness.Maximum       = 256;
     this.trackBarBrightness.Name          = "trackBarBrightness";
     this.trackBarBrightness.Size          = new System.Drawing.Size(320, 45);
     this.trackBarBrightness.TabIndex      = 3;
     this.trackBarBrightness.TickFrequency = 32;
     this.trackBarBrightness.Value         = 128;
     //
     // FiltersMPEG2DecVideo
     //
     this.Controls.Add(this.groupBoxSettings);
     this.Name = "FiltersMPEG2DecVideo";
     this.Size = new System.Drawing.Size(472, 408);
     this.groupBoxSettings.ResumeLayout(false);
     this.groupBoxSettings.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.trackBarSaturation)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.trackBarHue)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.trackBarContrast)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.trackBarBrightness)).EndInit();
     this.ResumeLayout(false);
 }
Exemple #18
0
 /// <summary>
 /// This method is required for Windows Forms designer support.
 /// Do not change the method contents inside the source code editor. The Forms designer might
 /// not be able to load this method if it was changed manually.
 /// </summary>
 private void InitializeComponent()
 {
     this.buttonDelete        = new MPButton();
     this.buttonEdit          = new MPButton();
     this.listBox             = new ListBox();
     this.buttonAdd           = new MPButton();
     this.button3             = new MPButton();
     this.checkAutoRefresh    = new MPCheckBox();
     this.labelRefresh        = new MPLabel();
     this.textRefreshInterval = new MPTextBox();
     this.mpGroupBox1         = new MPGroupBox();
     this.mpGroupBox2         = new MPGroupBox();
     this.mpGroupBox1.SuspendLayout();
     this.mpGroupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // buttonDelete
     //
     this.buttonDelete.Anchor   = ((AnchorStyles)((AnchorStyles.Bottom | AnchorStyles.Right)));
     this.buttonDelete.Location = new Point(368, 185);
     this.buttonDelete.Name     = "buttonDelete";
     this.buttonDelete.Size     = new Size(88, 23);
     this.buttonDelete.TabIndex = 3;
     this.buttonDelete.Text     = "Delete Site";
     this.buttonDelete.UseVisualStyleBackColor = true;
     this.buttonDelete.Click += new EventHandler(this.deleteSite);
     //
     // buttonEdit
     //
     this.buttonEdit.Anchor   = ((AnchorStyles)((AnchorStyles.Bottom | AnchorStyles.Right)));
     this.buttonEdit.Location = new Point(274, 185);
     this.buttonEdit.Name     = "buttonEdit";
     this.buttonEdit.Size     = new Size(88, 23);
     this.buttonEdit.TabIndex = 2;
     this.buttonEdit.Text     = "Edit Site";
     this.buttonEdit.UseVisualStyleBackColor = true;
     this.buttonEdit.Click += new EventHandler(this.editSite);
     //
     // listBox
     //
     this.listBox.Anchor = ((AnchorStyles)((((AnchorStyles.Top | AnchorStyles.Bottom)
                                             | AnchorStyles.Left)
                                            | AnchorStyles.Right)));
     this.listBox.Location = new Point(6, 19);
     this.listBox.Name     = "listBox";
     this.listBox.Size     = new Size(450, 147);
     this.listBox.TabIndex = 5;
     //
     // buttonAdd
     //
     this.buttonAdd.Anchor   = ((AnchorStyles)((AnchorStyles.Bottom | AnchorStyles.Right)));
     this.buttonAdd.Location = new Point(180, 185);
     this.buttonAdd.Name     = "buttonAdd";
     this.buttonAdd.Size     = new Size(88, 23);
     this.buttonAdd.TabIndex = 1;
     this.buttonAdd.Text     = "Add Site";
     this.buttonAdd.UseVisualStyleBackColor = true;
     this.buttonAdd.Click += new EventHandler(this.addSite);
     //
     // button3
     //
     this.button3.Anchor                  = ((AnchorStyles)((AnchorStyles.Bottom | AnchorStyles.Right)));
     this.button3.DialogResult            = DialogResult.Cancel;
     this.button3.Location                = new Point(402, 279);
     this.button3.Name                    = "button3";
     this.button3.Size                    = new Size(72, 22);
     this.button3.TabIndex                = 12;
     this.button3.Text                    = "&Done";
     this.button3.UseVisualStyleBackColor = true;
     this.button3.Click                  += new EventHandler(this.button3_Click);
     //
     // checkAutoRefresh
     //
     this.checkAutoRefresh.AutoSize  = true;
     this.checkAutoRefresh.FlatStyle = FlatStyle.Popup;
     this.checkAutoRefresh.Location  = new Point(6, 19);
     this.checkAutoRefresh.Name      = "checkAutoRefresh";
     this.checkAutoRefresh.Size      = new Size(122, 17);
     this.checkAutoRefresh.TabIndex  = 4;
     this.checkAutoRefresh.Text      = "Auto refresh enabled";
     this.checkAutoRefresh.UseVisualStyleBackColor = true;
     //
     // labelRefresh
     //
     this.labelRefresh.AutoSize  = true;
     this.labelRefresh.Location  = new Point(21, 43);
     this.labelRefresh.Name      = "labelRefresh";
     this.labelRefresh.Size      = new Size(109, 13);
     this.labelRefresh.TabIndex  = 13;
     this.labelRefresh.Text      = "Refresh interval (min):";
     this.labelRefresh.TextAlign = ContentAlignment.MiddleLeft;
     //
     // textRefreshInterval
     //
     this.textRefreshInterval.BorderColor = Color.Empty;
     this.textRefreshInterval.Location    = new Point(142, 40);
     this.textRefreshInterval.Name        = "textRefreshInterval";
     this.textRefreshInterval.Size        = new Size(53, 20);
     this.textRefreshInterval.TabIndex    = 14;
     this.textRefreshInterval.Text        = "15";
     this.textRefreshInterval.TextAlign   = HorizontalAlignment.Center;
     //
     // mpGroupBox1
     //
     this.mpGroupBox1.Anchor = ((AnchorStyles)((((AnchorStyles.Top | AnchorStyles.Bottom)
                                                 | AnchorStyles.Left)
                                                | AnchorStyles.Right)));
     this.mpGroupBox1.Controls.Add(this.listBox);
     this.mpGroupBox1.Controls.Add(this.buttonAdd);
     this.mpGroupBox1.Controls.Add(this.buttonEdit);
     this.mpGroupBox1.Controls.Add(this.buttonDelete);
     this.mpGroupBox1.FlatStyle = FlatStyle.Popup;
     this.mpGroupBox1.Location  = new Point(12, 11);
     this.mpGroupBox1.Name      = "mpGroupBox1";
     this.mpGroupBox1.Size      = new Size(462, 213);
     this.mpGroupBox1.TabIndex  = 15;
     this.mpGroupBox1.TabStop   = false;
     this.mpGroupBox1.Text      = "Add news sites here and edit their options";
     //
     // mpGroupBox2
     //
     this.mpGroupBox2.Anchor = ((AnchorStyles)((AnchorStyles.Bottom | AnchorStyles.Left)));
     this.mpGroupBox2.Controls.Add(this.labelRefresh);
     this.mpGroupBox2.Controls.Add(this.checkAutoRefresh);
     this.mpGroupBox2.Controls.Add(this.textRefreshInterval);
     this.mpGroupBox2.FlatStyle = FlatStyle.Popup;
     this.mpGroupBox2.Location  = new Point(12, 230);
     this.mpGroupBox2.Name      = "mpGroupBox2";
     this.mpGroupBox2.Size      = new Size(215, 71);
     this.mpGroupBox2.TabIndex  = 16;
     this.mpGroupBox2.TabStop   = false;
     this.mpGroupBox2.Text      = "Auto refresh settings";
     //
     // SetupForm
     //
     this.AcceptButton        = this.button3;
     this.AutoScaleDimensions = new SizeF(6F, 13F);
     this.CancelButton        = this.button3;
     this.ClientSize          = new Size(486, 313);
     this.Controls.Add(this.mpGroupBox2);
     this.Controls.Add(this.mpGroupBox1);
     this.Controls.Add(this.button3);
     this.FormBorderStyle = FormBorderStyle.FixedDialog;
     this.Name            = "SetupForm";
     this.StartPosition   = FormStartPosition.CenterParent;
     this.Text            = "RSS News - Setup";
     this.Load           += new EventHandler(this.SetupForm_Load);
     this.mpGroupBox1.ResumeLayout(false);
     this.mpGroupBox2.ResumeLayout(false);
     this.mpGroupBox2.PerformLayout();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.treeView1   = new System.Windows.Forms.TreeView();
     this.gbSelection = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this.bClose      = new MediaPortal.UserInterface.Controls.MPButton();
     this.bSelect     = new MediaPortal.UserInterface.Controls.MPButton();
     this.gbSelection.SuspendLayout();
     this.SuspendLayout();
     //
     // treeView1
     //
     this.treeView1.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.treeView1.Location = new System.Drawing.Point(16, 27);
     this.treeView1.Name     = "treeView1";
     this.treeView1.Size     = new System.Drawing.Size(392, 293);
     this.treeView1.TabIndex = 0;
     //
     // gbSelection
     //
     this.gbSelection.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.gbSelection.Controls.Add(this.bClose);
     this.gbSelection.Controls.Add(this.bSelect);
     this.gbSelection.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.gbSelection.Location  = new System.Drawing.Point(0, 8);
     this.gbSelection.Name      = "gbSelection";
     this.gbSelection.Size      = new System.Drawing.Size(424, 352);
     this.gbSelection.TabIndex  = 6;
     this.gbSelection.TabStop   = false;
     this.gbSelection.Text      = "Channel Selection";
     //
     // bClose
     //
     this.bClose.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.bClose.Location = new System.Drawing.Point(336, 320);
     this.bClose.Name     = "bClose";
     this.bClose.Size     = new System.Drawing.Size(72, 24);
     this.bClose.TabIndex = 14;
     this.bClose.Text     = "Close";
     this.bClose.UseVisualStyleBackColor = true;
     //
     // bSelect
     //
     this.bSelect.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.bSelect.Location = new System.Drawing.Point(16, 320);
     this.bSelect.Name     = "bSelect";
     this.bSelect.Size     = new System.Drawing.Size(72, 24);
     this.bSelect.TabIndex = 13;
     this.bSelect.Text     = "Select";
     this.bSelect.UseVisualStyleBackColor = true;
     //
     // fSelection
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(424, 365);
     this.Controls.Add(this.treeView1);
     this.Controls.Add(this.gbSelection);
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name        = "fSelection";
     this.Text        = "Selection";
     this.gbSelection.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Exemple #20
0
 // designer generated code
 private void InitializeComponent()
 {
     this.groupBoxVideoThumbs        = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this.bttnClearBlacklistedThumbs = new MediaPortal.UserInterface.Controls.MPButton();
     this.mpLabel1  = new MediaPortal.UserInterface.Controls.MPLabel();
     this.labelRows = new MediaPortal.UserInterface.Controls.MPLabel();
     this.numericUpDownThumbRows = new MediaPortal.UserInterface.Controls.MPNumericUpDown();
     this.labelCol = new MediaPortal.UserInterface.Controls.MPLabel();
     this.numericUpDownThumbColumns   = new MediaPortal.UserInterface.Controls.MPNumericUpDown();
     this.checkBoxShareThumb          = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.buttonClearVideoThumbs      = new MediaPortal.UserInterface.Controls.MPButton();
     this.checkBoxVideoThumbs         = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.groupBoxPictureThumbs       = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this.buttonClearPictureThumbs    = new MediaPortal.UserInterface.Controls.MPButton();
     this.checkBoxPicThumbOnDemand    = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.groupBoxMusicThumbs         = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this.buttonClearMusicCache       = new MediaPortal.UserInterface.Controls.MPButton();
     this.checkBoxFolderThumbOnDemand = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.groupBoxThumbQuality        = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this.labelRecommendedCurrent     = new MediaPortal.UserInterface.Controls.MPLabel();
     this.labelRecommendedHint        = new MediaPortal.UserInterface.Controls.MPLabel();
     this.labelCurrentSmoothing       = new MediaPortal.UserInterface.Controls.MPLabel();
     this.labelCurrentInterpolation   = new MediaPortal.UserInterface.Controls.MPLabel();
     this.labelCurrentCompositing     = new MediaPortal.UserInterface.Controls.MPLabel();
     this.labelCurrentResolution      = new MediaPortal.UserInterface.Controls.MPLabel();
     this.labelSmoothing     = new MediaPortal.UserInterface.Controls.MPLabel();
     this.labelInterpolation = new MediaPortal.UserInterface.Controls.MPLabel();
     this.labelCompositing   = new MediaPortal.UserInterface.Controls.MPLabel();
     this.labelResolution    = new MediaPortal.UserInterface.Controls.MPLabel();
     this.labelHigh          = new MediaPortal.UserInterface.Controls.MPLabel();
     this.labelLow           = new MediaPortal.UserInterface.Controls.MPLabel();
     this.labelQualityHint   = new MediaPortal.UserInterface.Controls.MPLabel();
     this.trackBarQuality    = new System.Windows.Forms.TrackBar();
     this.groupBoxVideoThumbs.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDownThumbRows)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDownThumbColumns)).BeginInit();
     this.groupBoxPictureThumbs.SuspendLayout();
     this.groupBoxMusicThumbs.SuspendLayout();
     this.groupBoxThumbQuality.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.trackBarQuality)).BeginInit();
     this.SuspendLayout();
     //
     // groupBoxVideoThumbs
     //
     this.groupBoxVideoThumbs.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.groupBoxVideoThumbs.Controls.Add(this.bttnClearBlacklistedThumbs);
     this.groupBoxVideoThumbs.Controls.Add(this.mpLabel1);
     this.groupBoxVideoThumbs.Controls.Add(this.labelRows);
     this.groupBoxVideoThumbs.Controls.Add(this.numericUpDownThumbRows);
     this.groupBoxVideoThumbs.Controls.Add(this.labelCol);
     this.groupBoxVideoThumbs.Controls.Add(this.numericUpDownThumbColumns);
     this.groupBoxVideoThumbs.Controls.Add(this.checkBoxShareThumb);
     this.groupBoxVideoThumbs.Controls.Add(this.buttonClearVideoThumbs);
     this.groupBoxVideoThumbs.Controls.Add(this.checkBoxVideoThumbs);
     this.groupBoxVideoThumbs.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.groupBoxVideoThumbs.Location  = new System.Drawing.Point(6, 264);
     this.groupBoxVideoThumbs.Name      = "groupBoxVideoThumbs";
     this.groupBoxVideoThumbs.Size      = new System.Drawing.Size(462, 127);
     this.groupBoxVideoThumbs.TabIndex  = 7;
     this.groupBoxVideoThumbs.TabStop   = false;
     this.groupBoxVideoThumbs.Text      = "Videos thumbs";
     //
     // bttnClearBlacklistedThumbs
     //
     this.bttnClearBlacklistedThumbs.Location = new System.Drawing.Point(12, 92);
     this.bttnClearBlacklistedThumbs.Name     = "bttnClearBlacklistedThumbs";
     this.bttnClearBlacklistedThumbs.Size     = new System.Drawing.Size(178, 23);
     this.bttnClearBlacklistedThumbs.TabIndex = 14;
     this.bttnClearBlacklistedThumbs.Text     = "Clear Blacklisted thumbs";
     this.bttnClearBlacklistedThumbs.UseVisualStyleBackColor = true;
     this.bttnClearBlacklistedThumbs.Click += new System.EventHandler(this.bttnClearBlaclistedThumbs_Click);
     //
     // mpLabel1
     //
     this.mpLabel1.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.mpLabel1.AutoSize = true;
     this.mpLabel1.Location = new System.Drawing.Point(255, 21);
     this.mpLabel1.Name     = "mpLabel1";
     this.mpLabel1.Size     = new System.Drawing.Size(106, 13);
     this.mpLabel1.TabIndex = 13;
     this.mpLabel1.Text     = "Preview Appearance";
     //
     // labelRows
     //
     this.labelRows.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.labelRows.AutoSize = true;
     this.labelRows.Location = new System.Drawing.Point(255, 68);
     this.labelRows.Name     = "labelRows";
     this.labelRows.Size     = new System.Drawing.Size(81, 13);
     this.labelRows.TabIndex = 12;
     this.labelRows.Text     = "Number of rows";
     //
     // numericUpDownThumbRows
     //
     this.numericUpDownThumbRows.Location = new System.Drawing.Point(364, 66);
     this.numericUpDownThumbRows.Maximum  = new decimal(new int[]
     {
         3,
         0,
         0,
         0
     });
     this.numericUpDownThumbRows.Minimum = new decimal(new int[]
     {
         1,
         0,
         0,
         0
     });
     this.numericUpDownThumbRows.Name      = "numericUpDownThumbRows";
     this.numericUpDownThumbRows.Size      = new System.Drawing.Size(55, 20);
     this.numericUpDownThumbRows.TabIndex  = 11;
     this.numericUpDownThumbRows.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.numericUpDownThumbRows.Value     = new decimal(new int[]
     {
         1,
         0,
         0,
         0
     });
     //
     // labelCol
     //
     this.labelCol.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.labelCol.AutoSize = true;
     this.labelCol.Location = new System.Drawing.Point(255, 42);
     this.labelCol.Name     = "labelCol";
     this.labelCol.Size     = new System.Drawing.Size(98, 13);
     this.labelCol.TabIndex = 10;
     this.labelCol.Text     = "Number of columns";
     //
     // numericUpDownThumbColumns
     //
     this.numericUpDownThumbColumns.Location = new System.Drawing.Point(364, 40);
     this.numericUpDownThumbColumns.Maximum  = new decimal(new int[]
     {
         3,
         0,
         0,
         0
     });
     this.numericUpDownThumbColumns.Minimum = new decimal(new int[]
     {
         1,
         0,
         0,
         0
     });
     this.numericUpDownThumbColumns.Name      = "numericUpDownThumbColumns";
     this.numericUpDownThumbColumns.Size      = new System.Drawing.Size(55, 20);
     this.numericUpDownThumbColumns.TabIndex  = 3;
     this.numericUpDownThumbColumns.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.numericUpDownThumbColumns.Value     = new decimal(new int[]
     {
         1,
         0,
         0,
         0
     });
     //
     // checkBoxShareThumb
     //
     this.checkBoxShareThumb.AutoSize   = true;
     this.checkBoxShareThumb.Checked    = true;
     this.checkBoxShareThumb.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBoxShareThumb.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.checkBoxShareThumb.Location   = new System.Drawing.Point(13, 40);
     this.checkBoxShareThumb.Name       = "checkBoxShareThumb";
     this.checkBoxShareThumb.Size       = new System.Drawing.Size(182, 17);
     this.checkBoxShareThumb.TabIndex   = 2;
     this.checkBoxShareThumb.Text       = "Leave a thumb in video folder";
     this.checkBoxShareThumb.UseVisualStyleBackColor = true;
     //
     // buttonClearVideoThumbs
     //
     this.buttonClearVideoThumbs.Location = new System.Drawing.Point(13, 63);
     this.buttonClearVideoThumbs.Name     = "buttonClearVideoThumbs";
     this.buttonClearVideoThumbs.Size     = new System.Drawing.Size(178, 23);
     this.buttonClearVideoThumbs.TabIndex = 1;
     this.buttonClearVideoThumbs.Text     = "Clear Videos thumbs";
     this.buttonClearVideoThumbs.UseVisualStyleBackColor = true;
     this.buttonClearVideoThumbs.Click += new System.EventHandler(this.buttonClearVideoThumbs_Click);
     //
     // checkBoxVideoThumbs
     //
     this.checkBoxVideoThumbs.AutoSize   = true;
     this.checkBoxVideoThumbs.Checked    = true;
     this.checkBoxVideoThumbs.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBoxVideoThumbs.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.checkBoxVideoThumbs.Location   = new System.Drawing.Point(13, 19);
     this.checkBoxVideoThumbs.Name       = "checkBoxVideoThumbs";
     this.checkBoxVideoThumbs.Size       = new System.Drawing.Size(113, 17);
     this.checkBoxVideoThumbs.TabIndex   = 0;
     this.checkBoxVideoThumbs.Text       = "Autocreate thumbs";
     this.checkBoxVideoThumbs.UseVisualStyleBackColor = true;
     //
     // groupBoxPictureThumbs
     //
     this.groupBoxPictureThumbs.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBoxPictureThumbs.Controls.Add(this.buttonClearPictureThumbs);
     this.groupBoxPictureThumbs.Controls.Add(this.checkBoxPicThumbOnDemand);
     this.groupBoxPictureThumbs.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.groupBoxPictureThumbs.Location  = new System.Drawing.Point(241, 185);
     this.groupBoxPictureThumbs.Name      = "groupBoxPictureThumbs";
     this.groupBoxPictureThumbs.Size      = new System.Drawing.Size(227, 74);
     this.groupBoxPictureThumbs.TabIndex  = 6;
     this.groupBoxPictureThumbs.TabStop   = false;
     this.groupBoxPictureThumbs.Text      = "Picture thumbs";
     //
     // buttonClearPictureThumbs
     //
     this.buttonClearPictureThumbs.Location = new System.Drawing.Point(14, 42);
     this.buttonClearPictureThumbs.Name     = "buttonClearPictureThumbs";
     this.buttonClearPictureThumbs.Size     = new System.Drawing.Size(178, 23);
     this.buttonClearPictureThumbs.TabIndex = 1;
     this.buttonClearPictureThumbs.Text     = "Clear picture cache";
     this.buttonClearPictureThumbs.UseVisualStyleBackColor = true;
     this.buttonClearPictureThumbs.Click += new System.EventHandler(this.buttonClearPictureThumbs_Click);
     //
     // checkBoxPicThumbOnDemand
     //
     this.checkBoxPicThumbOnDemand.AutoSize  = true;
     this.checkBoxPicThumbOnDemand.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.checkBoxPicThumbOnDemand.Location  = new System.Drawing.Point(14, 19);
     this.checkBoxPicThumbOnDemand.Name      = "checkBoxPicThumbOnDemand";
     this.checkBoxPicThumbOnDemand.Size      = new System.Drawing.Size(164, 17);
     this.checkBoxPicThumbOnDemand.TabIndex  = 0;
     this.checkBoxPicThumbOnDemand.Text      = "Auto-create only small thumbs";
     this.checkBoxPicThumbOnDemand.UseVisualStyleBackColor = true;
     //
     // groupBoxMusicThumbs
     //
     this.groupBoxMusicThumbs.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.groupBoxMusicThumbs.Controls.Add(this.buttonClearMusicCache);
     this.groupBoxMusicThumbs.Controls.Add(this.checkBoxFolderThumbOnDemand);
     this.groupBoxMusicThumbs.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.groupBoxMusicThumbs.Location  = new System.Drawing.Point(6, 185);
     this.groupBoxMusicThumbs.Name      = "groupBoxMusicThumbs";
     this.groupBoxMusicThumbs.Size      = new System.Drawing.Size(227, 74);
     this.groupBoxMusicThumbs.TabIndex  = 5;
     this.groupBoxMusicThumbs.TabStop   = false;
     this.groupBoxMusicThumbs.Text      = "Music thumbs";
     //
     // buttonClearMusicCache
     //
     this.buttonClearMusicCache.Location = new System.Drawing.Point(13, 42);
     this.buttonClearMusicCache.Name     = "buttonClearMusicCache";
     this.buttonClearMusicCache.Size     = new System.Drawing.Size(178, 23);
     this.buttonClearMusicCache.TabIndex = 1;
     this.buttonClearMusicCache.Text     = "Delete all music thumbs";
     this.buttonClearMusicCache.UseVisualStyleBackColor = true;
     this.buttonClearMusicCache.Click += new System.EventHandler(this.buttonClearMusicCache_Click);
     //
     // checkBoxFolderThumbOnDemand
     //
     this.checkBoxFolderThumbOnDemand.AutoSize  = true;
     this.checkBoxFolderThumbOnDemand.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.checkBoxFolderThumbOnDemand.Location  = new System.Drawing.Point(13, 19);
     this.checkBoxFolderThumbOnDemand.Name      = "checkBoxFolderThumbOnDemand";
     this.checkBoxFolderThumbOnDemand.Size      = new System.Drawing.Size(173, 17);
     this.checkBoxFolderThumbOnDemand.TabIndex  = 0;
     this.checkBoxFolderThumbOnDemand.Text      = "Create folder cache on demand";
     this.checkBoxFolderThumbOnDemand.UseVisualStyleBackColor = true;
     //
     // groupBoxThumbQuality
     //
     this.groupBoxThumbQuality.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBoxThumbQuality.Controls.Add(this.labelRecommendedCurrent);
     this.groupBoxThumbQuality.Controls.Add(this.labelRecommendedHint);
     this.groupBoxThumbQuality.Controls.Add(this.labelCurrentSmoothing);
     this.groupBoxThumbQuality.Controls.Add(this.labelCurrentInterpolation);
     this.groupBoxThumbQuality.Controls.Add(this.labelCurrentCompositing);
     this.groupBoxThumbQuality.Controls.Add(this.labelCurrentResolution);
     this.groupBoxThumbQuality.Controls.Add(this.labelSmoothing);
     this.groupBoxThumbQuality.Controls.Add(this.labelInterpolation);
     this.groupBoxThumbQuality.Controls.Add(this.labelCompositing);
     this.groupBoxThumbQuality.Controls.Add(this.labelResolution);
     this.groupBoxThumbQuality.Controls.Add(this.labelHigh);
     this.groupBoxThumbQuality.Controls.Add(this.labelLow);
     this.groupBoxThumbQuality.Controls.Add(this.labelQualityHint);
     this.groupBoxThumbQuality.Controls.Add(this.trackBarQuality);
     this.groupBoxThumbQuality.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.groupBoxThumbQuality.Location  = new System.Drawing.Point(6, 0);
     this.groupBoxThumbQuality.Name      = "groupBoxThumbQuality";
     this.groupBoxThumbQuality.Size      = new System.Drawing.Size(462, 179);
     this.groupBoxThumbQuality.TabIndex  = 4;
     this.groupBoxThumbQuality.TabStop   = false;
     this.groupBoxThumbQuality.Text      = "Quality settings";
     //
     // labelRecommendedCurrent
     //
     this.labelRecommendedCurrent.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.labelRecommendedCurrent.AutoSize = true;
     this.labelRecommendedCurrent.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F,
                                                                     System.Drawing.FontStyle.Regular,
                                                                     System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelRecommendedCurrent.Location = new System.Drawing.Point(27, 155);
     this.labelRecommendedCurrent.Name     = "labelRecommendedCurrent";
     this.labelRecommendedCurrent.Size     = new System.Drawing.Size(78, 13);
     this.labelRecommendedCurrent.TabIndex = 2;
     this.labelRecommendedCurrent.Text     = "LCDs, Plasmas";
     //
     // labelRecommendedHint
     //
     this.labelRecommendedHint.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.labelRecommendedHint.AutoSize = true;
     this.labelRecommendedHint.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F,
                                                                  System.Drawing.FontStyle.Bold,
                                                                  System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelRecommendedHint.Location = new System.Drawing.Point(27, 133);
     this.labelRecommendedHint.Name     = "labelRecommendedHint";
     this.labelRecommendedHint.Size     = new System.Drawing.Size(113, 13);
     this.labelRecommendedHint.TabIndex = 1;
     this.labelRecommendedHint.Text     = "Recommended for:";
     //
     // labelCurrentSmoothing
     //
     this.labelCurrentSmoothing.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.labelCurrentSmoothing.AutoSize = true;
     this.labelCurrentSmoothing.Location = new System.Drawing.Point(334, 134);
     this.labelCurrentSmoothing.Name     = "labelCurrentSmoothing";
     this.labelCurrentSmoothing.Size     = new System.Drawing.Size(64, 13);
     this.labelCurrentSmoothing.TabIndex = 13;
     this.labelCurrentSmoothing.Text     = "High Quality";
     //
     // labelCurrentInterpolation
     //
     this.labelCurrentInterpolation.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.labelCurrentInterpolation.AutoSize = true;
     this.labelCurrentInterpolation.Location = new System.Drawing.Point(334, 102);
     this.labelCurrentInterpolation.Name     = "labelCurrentInterpolation";
     this.labelCurrentInterpolation.Size     = new System.Drawing.Size(64, 13);
     this.labelCurrentInterpolation.TabIndex = 11;
     this.labelCurrentInterpolation.Text     = "High Quality";
     //
     // labelCurrentCompositing
     //
     this.labelCurrentCompositing.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.labelCurrentCompositing.AutoSize = true;
     this.labelCurrentCompositing.Location = new System.Drawing.Point(334, 71);
     this.labelCurrentCompositing.Name     = "labelCurrentCompositing";
     this.labelCurrentCompositing.Size     = new System.Drawing.Size(76, 13);
     this.labelCurrentCompositing.TabIndex = 9;
     this.labelCurrentCompositing.Text     = "Assume Linear";
     //
     // labelCurrentResolution
     //
     this.labelCurrentResolution.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.labelCurrentResolution.AutoSize = true;
     this.labelCurrentResolution.Location = new System.Drawing.Point(334, 41);
     this.labelCurrentResolution.Name     = "labelCurrentResolution";
     this.labelCurrentResolution.Size     = new System.Drawing.Size(55, 13);
     this.labelCurrentResolution.TabIndex = 7;
     this.labelCurrentResolution.Text     = "120 + 500";
     //
     // labelSmoothing
     //
     this.labelSmoothing.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.labelSmoothing.AutoSize = true;
     this.labelSmoothing.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold,
                                                            System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelSmoothing.Location = new System.Drawing.Point(252, 133);
     this.labelSmoothing.Name     = "labelSmoothing";
     this.labelSmoothing.Size     = new System.Drawing.Size(66, 13);
     this.labelSmoothing.TabIndex = 12;
     this.labelSmoothing.Text     = "Smoothing";
     //
     // labelInterpolation
     //
     this.labelInterpolation.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.labelInterpolation.AutoSize = true;
     this.labelInterpolation.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F,
                                                                System.Drawing.FontStyle.Bold,
                                                                System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelInterpolation.Location = new System.Drawing.Point(252, 101);
     this.labelInterpolation.Name     = "labelInterpolation";
     this.labelInterpolation.Size     = new System.Drawing.Size(78, 13);
     this.labelInterpolation.TabIndex = 10;
     this.labelInterpolation.Text     = "Interpolation";
     //
     // labelCompositing
     //
     this.labelCompositing.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.labelCompositing.AutoSize = true;
     this.labelCompositing.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold,
                                                              System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelCompositing.Location = new System.Drawing.Point(252, 70);
     this.labelCompositing.Name     = "labelCompositing";
     this.labelCompositing.Size     = new System.Drawing.Size(75, 13);
     this.labelCompositing.TabIndex = 8;
     this.labelCompositing.Text     = "Compositing";
     //
     // labelResolution
     //
     this.labelResolution.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.labelResolution.AutoSize = true;
     this.labelResolution.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold,
                                                             System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelResolution.Location = new System.Drawing.Point(252, 40);
     this.labelResolution.Name     = "labelResolution";
     this.labelResolution.Size     = new System.Drawing.Size(67, 13);
     this.labelResolution.TabIndex = 6;
     this.labelResolution.Text     = "Resolution";
     //
     // labelHigh
     //
     this.labelHigh.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.labelHigh.AutoSize = true;
     this.labelHigh.Location = new System.Drawing.Point(194, 18);
     this.labelHigh.Name     = "labelHigh";
     this.labelHigh.Size     = new System.Drawing.Size(39, 13);
     this.labelHigh.TabIndex = 3;
     this.labelHigh.Text     = "Quality";
     //
     // labelLow
     //
     this.labelLow.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.labelLow.AutoSize = true;
     this.labelLow.Location = new System.Drawing.Point(194, 155);
     this.labelLow.Name     = "labelLow";
     this.labelLow.Size     = new System.Drawing.Size(38, 13);
     this.labelLow.TabIndex = 5;
     this.labelLow.Text     = "Speed";
     //
     // labelQualityHint
     //
     this.labelQualityHint.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.labelQualityHint.Location = new System.Drawing.Point(27, 28);
     this.labelQualityHint.Name     = "labelQualityHint";
     this.labelQualityHint.Size     = new System.Drawing.Size(163, 76);
     this.labelQualityHint.TabIndex = 0;
     this.labelQualityHint.Text     =
         "Depending on your display size \r\nyou might want to decrease \r\nthumbnail quality f" +
         "or faster \r\nthumbnail generation and \r\nbetter browsing / scrolling";
     //
     // trackBarQuality
     //
     this.trackBarQuality.Anchor        = System.Windows.Forms.AnchorStyles.None;
     this.trackBarQuality.LargeChange   = 2;
     this.trackBarQuality.Location      = new System.Drawing.Point(197, 35);
     this.trackBarQuality.Maximum       = 4;
     this.trackBarQuality.Name          = "trackBarQuality";
     this.trackBarQuality.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.trackBarQuality.Size          = new System.Drawing.Size(45, 116);
     this.trackBarQuality.TabIndex      = 4;
     this.trackBarQuality.Value         = 3;
     this.trackBarQuality.ValueChanged += new System.EventHandler(this.trackBarQuality_ValueChanged);
     //
     // GuiThumbs
     //
     this.Controls.Add(this.groupBoxVideoThumbs);
     this.Controls.Add(this.groupBoxPictureThumbs);
     this.Controls.Add(this.groupBoxMusicThumbs);
     this.Controls.Add(this.groupBoxThumbQuality);
     this.Name = "GuiThumbs";
     this.Size = new System.Drawing.Size(472, 408);
     this.groupBoxVideoThumbs.ResumeLayout(false);
     this.groupBoxVideoThumbs.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDownThumbRows)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDownThumbColumns)).EndInit();
     this.groupBoxPictureThumbs.ResumeLayout(false);
     this.groupBoxPictureThumbs.PerformLayout();
     this.groupBoxMusicThumbs.ResumeLayout(false);
     this.groupBoxMusicThumbs.PerformLayout();
     this.groupBoxThumbQuality.ResumeLayout(false);
     this.groupBoxThumbQuality.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.trackBarQuality)).EndInit();
     this.ResumeLayout(false);
 }
        private void listView1_ColumnClick(object sender, ColumnClickEventArgs e)
        {
            if (sender != null)
            {
                if (!_userConfirmedAutoReorder)
                {
                    if (MessageBox.Show("The current channel order will be overwritten after the sorting operation. Continue?",
                                        "Re-order channels?", MessageBoxButtons.YesNo)
                        == DialogResult.No)
                    {
                        return;
                    }
                    else
                    {
                        _userConfirmedAutoReorder = true;
                    }
                }
            }

            MPButton buttonSort  = null;
            MPButton buttonOther = null;

            switch (e.Column)
            {
            case 0:
                lvwColumnSorter.OrderType = MPListViewStringColumnSorter.OrderTypes.AsString;
                buttonSort  = mpButtonOrderByName;
                buttonOther = mpButtonOrderByNumber;
                break;

            case 1:
                lvwColumnSorter.OrderType = MPListViewStringColumnSorter.OrderTypes.AsValue;
                buttonSort  = mpButtonOrderByNumber;
                buttonOther = mpButtonOrderByName;
                break;
            }

            if (e.Column == lvwColumnSorter.SortColumn)
            {
                // Reverse the current sort direction for this column.
                lvwColumnSorter.Order = _lastSortOrder == SortOrder.Ascending ? SortOrder.Descending : SortOrder.Ascending;
            }
            else
            {
                // Set the column number that is to be sorted; default to ascending.
                lvwColumnSorter.SortColumn = e.Column;
                lvwColumnSorter.Order      = SortOrder.Ascending;
            }

            _lastSortOrder = lvwColumnSorter.Order;

            // Perform the sort with these new sort options.
            listView1.Sort();
            ReOrder();

            if (buttonSort != null)
            {
                switch (lvwColumnSorter.Order)
                {
                case SortOrder.Ascending:
                    buttonSort.Image = global::SetupTv.Properties.Resources.icon_sort_asc;
                    break;

                case SortOrder.Descending:
                    buttonSort.Image = global::SetupTv.Properties.Resources.icon_sort_dsc;
                    break;

                case SortOrder.None:
                    buttonSort.Image = global::SetupTv.Properties.Resources.icon_sort_none;
                    break;
                }
            }

            buttonOther.Image = global::SetupTv.Properties.Resources.icon_sort_none;

            //Reset the SortOrder again. Otherwise manual re-order won't be possible anymore
            lvwColumnSorter.Order = SortOrder.None;
        }
Exemple #22
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox1             = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this.configAudioRenderer   = new MediaPortal.UserInterface.Controls.MPButton();
     this.configDVDAudio        = new MediaPortal.UserInterface.Controls.MPButton();
     this.configDVDVideo        = new MediaPortal.UserInterface.Controls.MPButton();
     this.configDVDNav          = new MediaPortal.UserInterface.Controls.MPButton();
     this.mpLabel1              = new MediaPortal.UserInterface.Controls.MPLabel();
     this.checkBoxDXVA          = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.audioRendererLabel    = new MediaPortal.UserInterface.Controls.MPLabel();
     this.audioRendererComboBox = new MediaPortal.UserInterface.Controls.MPComboBox();
     this.videoCodecLabel       = new MediaPortal.UserInterface.Controls.MPLabel();
     this.videoCodecComboBox    = new MediaPortal.UserInterface.Controls.MPComboBox();
     this.checkBoxAC3           = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.dvdNavigatorComboBox  = new MediaPortal.UserInterface.Controls.MPComboBox();
     this.audioCodecComboBox    = new MediaPortal.UserInterface.Controls.MPComboBox();
     this.dvdNavigatorLabel     = new MediaPortal.UserInterface.Controls.MPLabel();
     this.audioCodecLabel       = new MediaPortal.UserInterface.Controls.MPLabel();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.configAudioRenderer);
     this.groupBox1.Controls.Add(this.configDVDAudio);
     this.groupBox1.Controls.Add(this.configDVDVideo);
     this.groupBox1.Controls.Add(this.configDVDNav);
     this.groupBox1.Controls.Add(this.mpLabel1);
     this.groupBox1.Controls.Add(this.checkBoxDXVA);
     this.groupBox1.Controls.Add(this.audioRendererLabel);
     this.groupBox1.Controls.Add(this.audioRendererComboBox);
     this.groupBox1.Controls.Add(this.videoCodecLabel);
     this.groupBox1.Controls.Add(this.videoCodecComboBox);
     this.groupBox1.Controls.Add(this.checkBoxAC3);
     this.groupBox1.Controls.Add(this.dvdNavigatorComboBox);
     this.groupBox1.Controls.Add(this.audioCodecComboBox);
     this.groupBox1.Controls.Add(this.dvdNavigatorLabel);
     this.groupBox1.Controls.Add(this.audioCodecLabel);
     this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.groupBox1.Location  = new System.Drawing.Point(6, 0);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(462, 226);
     this.groupBox1.TabIndex  = 0;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = "Settings Decoder";
     //
     // configAudioRenderer
     //
     this.configAudioRenderer.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.configAudioRenderer.Image    = global::MediaPortal.Configuration.Properties.Resources.codec_screwdriver;
     this.configAudioRenderer.Location = new System.Drawing.Point(422, 120);
     this.configAudioRenderer.Name     = "configAudioRenderer";
     this.configAudioRenderer.Size     = new System.Drawing.Size(35, 21);
     this.configAudioRenderer.TabIndex = 73;
     this.configAudioRenderer.UseVisualStyleBackColor = true;
     this.configAudioRenderer.Click += new System.EventHandler(this.configAudioRenderer_Click);
     //
     // configDVDAudio
     //
     this.configDVDAudio.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.configDVDAudio.Image    = global::MediaPortal.Configuration.Properties.Resources.codec_screwdriver;
     this.configDVDAudio.Location = new System.Drawing.Point(422, 96);
     this.configDVDAudio.Name     = "configDVDAudio";
     this.configDVDAudio.Size     = new System.Drawing.Size(35, 21);
     this.configDVDAudio.TabIndex = 72;
     this.configDVDAudio.UseVisualStyleBackColor = true;
     this.configDVDAudio.Click += new System.EventHandler(this.configDVDAudio_Click);
     //
     // configDVDVideo
     //
     this.configDVDVideo.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.configDVDVideo.Image    = global::MediaPortal.Configuration.Properties.Resources.codec_screwdriver;
     this.configDVDVideo.Location = new System.Drawing.Point(422, 72);
     this.configDVDVideo.Name     = "configDVDVideo";
     this.configDVDVideo.Size     = new System.Drawing.Size(35, 21);
     this.configDVDVideo.TabIndex = 71;
     this.configDVDVideo.UseVisualStyleBackColor = true;
     this.configDVDVideo.Click += new System.EventHandler(this.configDVDVideo_Click);
     //
     // configDVDNav
     //
     this.configDVDNav.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.configDVDNav.Image    = global::MediaPortal.Configuration.Properties.Resources.codec_screwdriver;
     this.configDVDNav.Location = new System.Drawing.Point(422, 24);
     this.configDVDNav.Name     = "configDVDNav";
     this.configDVDNav.Size     = new System.Drawing.Size(35, 21);
     this.configDVDNav.TabIndex = 70;
     this.configDVDNav.UseVisualStyleBackColor = true;
     this.configDVDNav.Click += new System.EventHandler(this.configDVDNav_Click);
     //
     // mpLabel1
     //
     this.mpLabel1.AutoSize = true;
     this.mpLabel1.Location = new System.Drawing.Point(119, 49);
     this.mpLabel1.Name     = "mpLabel1";
     this.mpLabel1.Size     = new System.Drawing.Size(281, 13);
     this.mpLabel1.TabIndex = 10;
     this.mpLabel1.Text     = "Note: Use corresponding decoders with chosen Navigator";
     //
     // checkBoxDXVA
     //
     this.checkBoxDXVA.AutoSize  = true;
     this.checkBoxDXVA.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.checkBoxDXVA.Location  = new System.Drawing.Point(19, 185);
     this.checkBoxDXVA.Name      = "checkBoxDXVA";
     this.checkBoxDXVA.Size      = new System.Drawing.Size(333, 17);
     this.checkBoxDXVA.TabIndex  = 6;
     this.checkBoxDXVA.Text      = "Turn off DxVA (use this option if you have DVD navigation issues)";
     this.checkBoxDXVA.UseVisualStyleBackColor = true;
     //
     // audioRendererLabel
     //
     this.audioRendererLabel.Location = new System.Drawing.Point(17, 124);
     this.audioRendererLabel.Name     = "audioRendererLabel";
     this.audioRendererLabel.Size     = new System.Drawing.Size(88, 18);
     this.audioRendererLabel.TabIndex = 4;
     this.audioRendererLabel.Text     = "Audio renderer:";
     //
     // audioRendererComboBox
     //
     this.audioRendererComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                               | System.Windows.Forms.AnchorStyles.Right)));
     this.audioRendererComboBox.BorderColor   = System.Drawing.Color.Empty;
     this.audioRendererComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.audioRendererComboBox.Location      = new System.Drawing.Point(122, 120);
     this.audioRendererComboBox.Name          = "audioRendererComboBox";
     this.audioRendererComboBox.Size          = new System.Drawing.Size(295, 21);
     this.audioRendererComboBox.Sorted        = true;
     this.audioRendererComboBox.TabIndex      = 4;
     //
     // videoCodecLabel
     //
     this.videoCodecLabel.Location = new System.Drawing.Point(17, 77);
     this.videoCodecLabel.Name     = "videoCodecLabel";
     this.videoCodecLabel.Size     = new System.Drawing.Size(99, 16);
     this.videoCodecLabel.TabIndex = 0;
     this.videoCodecLabel.Text     = "DVD video :";
     //
     // videoCodecComboBox
     //
     this.videoCodecComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                            | System.Windows.Forms.AnchorStyles.Right)));
     this.videoCodecComboBox.BorderColor   = System.Drawing.Color.Empty;
     this.videoCodecComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.videoCodecComboBox.Location      = new System.Drawing.Point(122, 72);
     this.videoCodecComboBox.Name          = "videoCodecComboBox";
     this.videoCodecComboBox.Size          = new System.Drawing.Size(295, 21);
     this.videoCodecComboBox.Sorted        = true;
     this.videoCodecComboBox.TabIndex      = 2;
     //
     // checkBoxAC3
     //
     this.checkBoxAC3.AutoSize  = true;
     this.checkBoxAC3.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.checkBoxAC3.Location  = new System.Drawing.Point(19, 156);
     this.checkBoxAC3.Name      = "checkBoxAC3";
     this.checkBoxAC3.Size      = new System.Drawing.Size(275, 17);
     this.checkBoxAC3.TabIndex  = 5;
     this.checkBoxAC3.Text      = "Use AC3 filter (for some soundcards using SPDIF out)";
     this.checkBoxAC3.UseVisualStyleBackColor = true;
     //
     // dvdNavigatorComboBox
     //
     this.dvdNavigatorComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                              | System.Windows.Forms.AnchorStyles.Right)));
     this.dvdNavigatorComboBox.BorderColor   = System.Drawing.Color.Empty;
     this.dvdNavigatorComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.dvdNavigatorComboBox.Location      = new System.Drawing.Point(122, 24);
     this.dvdNavigatorComboBox.Name          = "dvdNavigatorComboBox";
     this.dvdNavigatorComboBox.Size          = new System.Drawing.Size(295, 21);
     this.dvdNavigatorComboBox.Sorted        = true;
     this.dvdNavigatorComboBox.TabIndex      = 1;
     //
     // audioCodecComboBox
     //
     this.audioCodecComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                            | System.Windows.Forms.AnchorStyles.Right)));
     this.audioCodecComboBox.BorderColor   = System.Drawing.Color.Empty;
     this.audioCodecComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.audioCodecComboBox.Location      = new System.Drawing.Point(122, 96);
     this.audioCodecComboBox.Name          = "audioCodecComboBox";
     this.audioCodecComboBox.Size          = new System.Drawing.Size(295, 21);
     this.audioCodecComboBox.Sorted        = true;
     this.audioCodecComboBox.TabIndex      = 3;
     //
     // dvdNavigatorLabel
     //
     this.dvdNavigatorLabel.Location = new System.Drawing.Point(17, 28);
     this.dvdNavigatorLabel.Name     = "dvdNavigatorLabel";
     this.dvdNavigatorLabel.Size     = new System.Drawing.Size(88, 15);
     this.dvdNavigatorLabel.TabIndex = 2;
     this.dvdNavigatorLabel.Text     = "DVD Navigator:";
     //
     // audioCodecLabel
     //
     this.audioCodecLabel.Location = new System.Drawing.Point(17, 99);
     this.audioCodecLabel.Name     = "audioCodecLabel";
     this.audioCodecLabel.Size     = new System.Drawing.Size(117, 17);
     this.audioCodecLabel.TabIndex = 6;
     this.audioCodecLabel.Text     = "DVD audio :";
     //
     // DVDCodec
     //
     this.BackColor = System.Drawing.SystemColors.Window;
     this.Controls.Add(this.groupBox1);
     this.Name = "DVDCodec";
     this.Size = new System.Drawing.Size(472, 391);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EditShareForm));
     this.groupBox1           = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this.mpButtonLearnMacNow = new MediaPortal.UserInterface.Controls.MPButton();
     this.cbEnableWakeOnLan   = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.cbEachFolderIsMovie = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.cbCreateThumbs      = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.labelCreateThumbs   = new MediaPortal.UserInterface.Controls.MPLabel();
     this.checkBoxPASV        = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.comboBox1           = new MediaPortal.UserInterface.Controls.MPComboBox();
     this.label9 = new MediaPortal.UserInterface.Controls.MPLabel();
     this.textBoxRemoteFolder = new MediaPortal.UserInterface.Controls.MPTextBox();
     this.label3              = new MediaPortal.UserInterface.Controls.MPLabel();
     this.label8              = new MediaPortal.UserInterface.Controls.MPLabel();
     this.textBoxPort         = new MediaPortal.UserInterface.Controls.MPTextBox();
     this.textBoxPassword     = new MediaPortal.UserInterface.Controls.MPTextBox();
     this.label7              = new MediaPortal.UserInterface.Controls.MPLabel();
     this.textBoxLogin        = new MediaPortal.UserInterface.Controls.MPTextBox();
     this.label6              = new MediaPortal.UserInterface.Controls.MPLabel();
     this.textBoxServer       = new MediaPortal.UserInterface.Controls.MPTextBox();
     this.label5              = new MediaPortal.UserInterface.Controls.MPLabel();
     this.checkBoxRemote      = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.pinCodeTextBox      = new MediaPortal.UserInterface.Controls.MPTextBox();
     this.label4              = new MediaPortal.UserInterface.Controls.MPLabel();
     this.folderButton        = new MediaPortal.UserInterface.Controls.MPButton();
     this.folderTextBox       = new MediaPortal.UserInterface.Controls.MPTextBox();
     this.label2              = new MediaPortal.UserInterface.Controls.MPLabel();
     this.nameTextBox         = new MediaPortal.UserInterface.Controls.MPTextBox();
     this.label1              = new MediaPortal.UserInterface.Controls.MPLabel();
     this.cancelButton        = new MediaPortal.UserInterface.Controls.MPButton();
     this.okButton            = new MediaPortal.UserInterface.Controls.MPButton();
     this.folderBrowserDialog = new System.Windows.Forms.FolderBrowserDialog();
     this.toolTipEditShare    = new System.Windows.Forms.ToolTip(this.components);
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.mpButtonLearnMacNow);
     this.groupBox1.Controls.Add(this.cbEnableWakeOnLan);
     this.groupBox1.Controls.Add(this.cbEachFolderIsMovie);
     this.groupBox1.Controls.Add(this.cbCreateThumbs);
     this.groupBox1.Controls.Add(this.labelCreateThumbs);
     this.groupBox1.Controls.Add(this.checkBoxPASV);
     this.groupBox1.Controls.Add(this.comboBox1);
     this.groupBox1.Controls.Add(this.label9);
     this.groupBox1.Controls.Add(this.textBoxRemoteFolder);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.label8);
     this.groupBox1.Controls.Add(this.textBoxPort);
     this.groupBox1.Controls.Add(this.textBoxPassword);
     this.groupBox1.Controls.Add(this.label7);
     this.groupBox1.Controls.Add(this.textBoxLogin);
     this.groupBox1.Controls.Add(this.label6);
     this.groupBox1.Controls.Add(this.textBoxServer);
     this.groupBox1.Controls.Add(this.label5);
     this.groupBox1.Controls.Add(this.checkBoxRemote);
     this.groupBox1.Controls.Add(this.pinCodeTextBox);
     this.groupBox1.Controls.Add(this.label4);
     this.groupBox1.Controls.Add(this.folderButton);
     this.groupBox1.Controls.Add(this.folderTextBox);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.nameTextBox);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.groupBox1.Location  = new System.Drawing.Point(8, 8);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(408, 354);
     this.groupBox1.TabIndex  = 0;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = "Folder settings";
     this.groupBox1.Enter    += new System.EventHandler(this.groupBox1_Enter);
     //
     // mpButtonLearnMacNow
     //
     this.mpButtonLearnMacNow.Location = new System.Drawing.Point(251, 172);
     this.mpButtonLearnMacNow.Name     = "mpButtonLearnMacNow";
     this.mpButtonLearnMacNow.Size     = new System.Drawing.Size(141, 23);
     this.mpButtonLearnMacNow.TabIndex = 32;
     this.mpButtonLearnMacNow.Text     = "Learn MAC address now";
     this.mpButtonLearnMacNow.UseVisualStyleBackColor = true;
     this.mpButtonLearnMacNow.Click += new System.EventHandler(this.mpButton1_Click);
     //
     // cbEnableWakeOnLan
     //
     this.cbEnableWakeOnLan.AutoSize  = true;
     this.cbEnableWakeOnLan.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.cbEnableWakeOnLan.Location  = new System.Drawing.Point(16, 172);
     this.cbEnableWakeOnLan.Name      = "cbEnableWakeOnLan";
     this.cbEnableWakeOnLan.Size      = new System.Drawing.Size(127, 17);
     this.cbEnableWakeOnLan.TabIndex  = 31;
     this.cbEnableWakeOnLan.Text      = "Enable Wake On Lan";
     this.cbEnableWakeOnLan.UseVisualStyleBackColor = true;
     //
     // cbEachFolderIsMovie
     //
     this.cbEachFolderIsMovie.AutoSize  = true;
     this.cbEachFolderIsMovie.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.cbEachFolderIsMovie.Location  = new System.Drawing.Point(259, 140);
     this.cbEachFolderIsMovie.Name      = "cbEachFolderIsMovie";
     this.cbEachFolderIsMovie.Size      = new System.Drawing.Size(133, 17);
     this.cbEachFolderIsMovie.TabIndex  = 29;
     this.cbEachFolderIsMovie.Text      = "Dedicated movie folder";
     this.toolTipEditShare.SetToolTip(this.cbEachFolderIsMovie, resources.GetString("cbEachFolderIsMovie.ToolTip"));
     this.cbEachFolderIsMovie.UseVisualStyleBackColor = true;
     this.cbEachFolderIsMovie.Visible = false;
     //
     // cbCreateThumbs
     //
     this.cbCreateThumbs.AutoSize   = true;
     this.cbCreateThumbs.Checked    = true;
     this.cbCreateThumbs.CheckState = System.Windows.Forms.CheckState.Checked;
     this.cbCreateThumbs.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.cbCreateThumbs.Location   = new System.Drawing.Point(325, 43);
     this.cbCreateThumbs.Name       = "cbCreateThumbs";
     this.cbCreateThumbs.Size       = new System.Drawing.Size(13, 12);
     this.cbCreateThumbs.TabIndex   = 28;
     this.cbCreateThumbs.UseVisualStyleBackColor = true;
     this.cbCreateThumbs.Visible = false;
     //
     // labelCreateThumbs
     //
     this.labelCreateThumbs.Location = new System.Drawing.Point(293, 24);
     this.labelCreateThumbs.Name     = "labelCreateThumbs";
     this.labelCreateThumbs.Size     = new System.Drawing.Size(87, 16);
     this.labelCreateThumbs.TabIndex = 27;
     this.labelCreateThumbs.Text     = "Create Thumbs";
     this.labelCreateThumbs.Visible  = false;
     //
     // checkBoxPASV
     //
     this.checkBoxPASV.AutoSize  = true;
     this.checkBoxPASV.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.checkBoxPASV.Location  = new System.Drawing.Point(343, 241);
     this.checkBoxPASV.Name      = "checkBoxPASV";
     this.checkBoxPASV.Size      = new System.Drawing.Size(52, 17);
     this.checkBoxPASV.TabIndex  = 26;
     this.checkBoxPASV.Text      = "PASV";
     this.checkBoxPASV.UseVisualStyleBackColor = true;
     this.checkBoxPASV.Visible = false;
     //
     // comboBox1
     //
     this.comboBox1.BorderColor   = System.Drawing.Color.Empty;
     this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.Items.AddRange(new object[] {
         "List",
         "Icons",
         "Big Icons",
         "Album",
         "Filmstrip",
         "Cover Flow"
     });
     this.comboBox1.Location = new System.Drawing.Point(16, 136);
     this.comboBox1.Name     = "comboBox1";
     this.comboBox1.Size     = new System.Drawing.Size(184, 21);
     this.comboBox1.TabIndex = 25;
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Location = new System.Drawing.Point(16, 120);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(75, 13);
     this.label9.TabIndex = 24;
     this.label9.Text     = "Default layout:";
     //
     // textBoxRemoteFolder
     //
     this.textBoxRemoteFolder.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                             | System.Windows.Forms.AnchorStyles.Right)));
     this.textBoxRemoteFolder.BorderColor = System.Drawing.Color.Empty;
     this.textBoxRemoteFolder.Location    = new System.Drawing.Point(16, 320);
     this.textBoxRemoteFolder.Name        = "textBoxRemoteFolder";
     this.textBoxRemoteFolder.Size        = new System.Drawing.Size(381, 20);
     this.textBoxRemoteFolder.TabIndex    = 8;
     this.textBoxRemoteFolder.Text        = "/";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(16, 304);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(168, 23);
     this.label3.TabIndex = 23;
     this.label3.Text     = "Folder on the remote ftp server";
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.Location = new System.Drawing.Point(288, 222);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(68, 13);
     this.label8.TabIndex = 22;
     this.label8.Text     = "TCP/IP Port:";
     //
     // textBoxPort
     //
     this.textBoxPort.BorderColor = System.Drawing.Color.Empty;
     this.textBoxPort.Location    = new System.Drawing.Point(291, 240);
     this.textBoxPort.Name        = "textBoxPort";
     this.textBoxPort.Size        = new System.Drawing.Size(38, 20);
     this.textBoxPort.TabIndex    = 7;
     this.textBoxPort.Text        = "21";
     this.textBoxPort.TextAlign   = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // textBoxPassword
     //
     this.textBoxPassword.BorderColor  = System.Drawing.Color.Empty;
     this.textBoxPassword.Location     = new System.Drawing.Point(213, 280);
     this.textBoxPassword.Name         = "textBoxPassword";
     this.textBoxPassword.PasswordChar = '*';
     this.textBoxPassword.Size         = new System.Drawing.Size(184, 20);
     this.textBoxPassword.TabIndex     = 6;
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(213, 264);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(100, 16);
     this.label7.TabIndex = 19;
     this.label7.Text     = "Password:"******"textBoxLogin";
     this.textBoxLogin.Size        = new System.Drawing.Size(184, 20);
     this.textBoxLogin.TabIndex    = 5;
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(16, 264);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(100, 16);
     this.label6.TabIndex = 17;
     this.label6.Text     = "Login:"******"textBoxServer";
     this.textBoxServer.Size        = new System.Drawing.Size(263, 20);
     this.textBoxServer.TabIndex    = 4;
     this.textBoxServer.Text        = "127.0.0.1";
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(16, 222);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(135, 13);
     this.label5.TabIndex = 15;
     this.label5.Text     = "FTP Server (without ftp://):";
     //
     // checkBoxRemote
     //
     this.checkBoxRemote.AutoSize  = true;
     this.checkBoxRemote.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.checkBoxRemote.Location  = new System.Drawing.Point(16, 200);
     this.checkBoxRemote.Name      = "checkBoxRemote";
     this.checkBoxRemote.Size      = new System.Drawing.Size(153, 17);
     this.checkBoxRemote.TabIndex  = 3;
     this.checkBoxRemote.Text      = "This is a remote FTP Folder";
     this.checkBoxRemote.UseVisualStyleBackColor = true;
     this.checkBoxRemote.CheckedChanged         += new System.EventHandler(this.checkBoxRemote_CheckedChanged);
     //
     // pinCodeTextBox
     //
     this.pinCodeTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.pinCodeTextBox.BorderColor = System.Drawing.Color.Empty;
     this.pinCodeTextBox.Location    = new System.Drawing.Point(216, 40);
     this.pinCodeTextBox.MaxLength   = 4;
     this.pinCodeTextBox.Name        = "pinCodeTextBox";
     this.pinCodeTextBox.Size        = new System.Drawing.Size(63, 20);
     this.pinCodeTextBox.TabIndex    = 1;
     this.pinCodeTextBox.KeyPress   += new System.Windows.Forms.KeyPressEventHandler(this.pinCodeTextBox_KeyPress);
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(216, 24);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(63, 16);
     this.label4.TabIndex = 12;
     this.label4.Text     = "Pin Code";
     //
     // folderButton
     //
     this.folderButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.folderButton.Location = new System.Drawing.Point(368, 88);
     this.folderButton.Name     = "folderButton";
     this.folderButton.Size     = new System.Drawing.Size(24, 20);
     this.folderButton.TabIndex = 3;
     this.folderButton.Text     = "...";
     this.folderButton.UseVisualStyleBackColor = true;
     this.folderButton.Click += new System.EventHandler(this.folderButton_Click);
     //
     // folderTextBox
     //
     this.folderTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.folderTextBox.BorderColor  = System.Drawing.Color.Empty;
     this.folderTextBox.Location     = new System.Drawing.Point(16, 88);
     this.folderTextBox.Name         = "folderTextBox";
     this.folderTextBox.Size         = new System.Drawing.Size(344, 20);
     this.folderTextBox.TabIndex     = 2;
     this.folderTextBox.TextChanged += new System.EventHandler(this.folderTextBox_TextChanged);
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(16, 72);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(155, 13);
     this.label2.TabIndex = 8;
     this.label2.Text     = "Media folder / optical disk drive";
     //
     // nameTextBox
     //
     this.nameTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.nameTextBox.BorderColor = System.Drawing.Color.Empty;
     this.nameTextBox.Location    = new System.Drawing.Point(16, 40);
     this.nameTextBox.Name        = "nameTextBox";
     this.nameTextBox.Size        = new System.Drawing.Size(184, 20);
     this.nameTextBox.TabIndex    = 0;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(16, 24);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(64, 13);
     this.label1.TabIndex = 6;
     this.label1.Text     = "Visual name";
     //
     // cancelButton
     //
     this.cancelButton.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.cancelButton.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location                = new System.Drawing.Point(342, 369);
     this.cancelButton.Name                    = "cancelButton";
     this.cancelButton.Size                    = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex                = 1;
     this.cancelButton.Text                    = "Cancel";
     this.cancelButton.UseVisualStyleBackColor = true;
     this.cancelButton.Click                  += new System.EventHandler(this.cancelButton_Click);
     //
     // okButton
     //
     this.okButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.okButton.Location = new System.Drawing.Point(262, 369);
     this.okButton.Name     = "okButton";
     this.okButton.Size     = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex = 0;
     this.okButton.Text     = "OK";
     this.okButton.UseVisualStyleBackColor = true;
     this.okButton.Click += new System.EventHandler(this.okButton_Click);
     //
     // EditShareForm
     //
     this.AcceptButton        = this.okButton;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.CancelButton        = this.cancelButton;
     this.ClientSize          = new System.Drawing.Size(426, 402);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.MinimumSize     = new System.Drawing.Size(424, 248);
     this.Name            = "EditShareForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Edit Folder";
     this.Load           += new System.EventHandler(this.EditShareForm_Load);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.ResumeLayout(false);
 }
Exemple #24
0
 private static void instanciate(HeaderNavigationController self, out MPButton button, out TMPro.TextMeshProUGUI text, out GameObject root)
 {
     button = Instantiate(self.headers[0].headerButton, self.headers[0].headerButton.transform.parent);
     text   = Instantiate(self.headers[0].tmpHeaderText, button.transform);
     root   = Instantiate(self.headers[0].headerRoot, self.headers[0].headerRoot.transform.parent);
 }
Exemple #25
0
 private void InitializeComponent()
 {
     this.groupBox1 = new MPGroupBox();
     this.groupBox5 = new GroupBox();
     this.mpEnableDisplayActionTime = new MPComboBox();
     this.cmbBlankIdleTime          = new MPComboBox();
     this.mpEnableDisplayAction     = new CheckBox();
     this.mpBlankDisplayWithVideo   = new CheckBox();
     this.mpBlankDisplayWhenIdle    = new CheckBox();
     this.btnOK    = new MPButton();
     this.btnReset = new MPButton();
     this.groupBox1.SuspendLayout();
     this.groupBox5.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((AnchorStyles)((((AnchorStyles.Top | AnchorStyles.Bottom)
                                               | AnchorStyles.Left)
                                              | AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.groupBox5);
     this.groupBox1.FlatStyle = FlatStyle.Popup;
     this.groupBox1.Location  = new Point(9, 6);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new Size(357, 124);
     this.groupBox1.TabIndex  = 4;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = " MD8800 (Dritek) Display Configuration ";
     //
     // groupBox5
     //
     this.groupBox5.Anchor = ((AnchorStyles)((((AnchorStyles.Top | AnchorStyles.Bottom)
                                               | AnchorStyles.Left)
                                              | AnchorStyles.Right)));
     this.groupBox5.Controls.Add(this.mpEnableDisplayActionTime);
     this.groupBox5.Controls.Add(this.cmbBlankIdleTime);
     this.groupBox5.Controls.Add(this.mpEnableDisplayAction);
     this.groupBox5.Controls.Add(this.mpBlankDisplayWithVideo);
     this.groupBox5.Controls.Add(this.mpBlankDisplayWhenIdle);
     this.groupBox5.Location = new Point(10, 19);
     this.groupBox5.Name     = "groupBox5";
     this.groupBox5.Size     = new Size(338, 97);
     this.groupBox5.TabIndex = 23;
     this.groupBox5.TabStop  = false;
     this.groupBox5.Text     = " Display Control Options ";
     //
     // mpEnableDisplayActionTime
     //
     this.mpEnableDisplayActionTime.BorderColor   = Color.Empty;
     this.mpEnableDisplayActionTime.DropDownStyle = ComboBoxStyle.DropDownList;
     this.mpEnableDisplayActionTime.Items.AddRange(new object[]
     {
         "0",
         "1",
         "2",
         "3",
         "4",
         "5",
         "6",
         "7",
         "8",
         "9",
         "10",
         "11",
         "12",
         "13",
         "14",
         "15",
         "16",
         "17",
         "18",
         "19",
         "20"
     });
     this.mpEnableDisplayActionTime.Location = new Point(181, 36);
     this.mpEnableDisplayActionTime.Name     = "mpEnableDisplayActionTime";
     this.mpEnableDisplayActionTime.Size     = new Size(42, 21);
     this.mpEnableDisplayActionTime.TabIndex = 96;
     //
     // cmbBlankIdleTime
     //
     this.cmbBlankIdleTime.BorderColor   = Color.Empty;
     this.cmbBlankIdleTime.DropDownStyle = ComboBoxStyle.DropDownList;
     this.cmbBlankIdleTime.Items.AddRange(new object[]
     {
         "0",
         "1",
         "2",
         "3",
         "4",
         "5",
         "6",
         "7",
         "8",
         "9",
         "10",
         "11",
         "12",
         "13",
         "14",
         "15",
         "16",
         "17",
         "18",
         "19",
         "20",
         "21",
         "22",
         "23",
         "24",
         "25",
         "26",
         "27",
         "28",
         "29",
         "30"
     });
     this.cmbBlankIdleTime.Location = new Point(167, 58);
     this.cmbBlankIdleTime.Name     = "cmbBlankIdleTime";
     this.cmbBlankIdleTime.Size     = new Size(42, 21);
     this.cmbBlankIdleTime.TabIndex = 98;
     //
     // mpEnableDisplayAction
     //
     this.mpEnableDisplayAction.AutoSize = true;
     this.mpEnableDisplayAction.Location = new Point(23, 38);
     this.mpEnableDisplayAction.Name     = "mpEnableDisplayAction";
     this.mpEnableDisplayAction.Size     = new Size(258, 17);
     this.mpEnableDisplayAction.TabIndex = 97;
     this.mpEnableDisplayAction.Text     = "Enable Display on Action for                   Seconds";
     this.mpEnableDisplayAction.UseVisualStyleBackColor = true;
     this.mpEnableDisplayAction.CheckedChanged         += new EventHandler(this.mpEnableDisplayAction_CheckedChanged);
     //
     // mpBlankDisplayWithVideo
     //
     this.mpBlankDisplayWithVideo.AutoSize = true;
     this.mpBlankDisplayWithVideo.Location = new Point(7, 17);
     this.mpBlankDisplayWithVideo.Name     = "mpBlankDisplayWithVideo";
     this.mpBlankDisplayWithVideo.Size     = new Size(207, 17);
     this.mpBlankDisplayWithVideo.TabIndex = 95;
     this.mpBlankDisplayWithVideo.Text     = "Turn off display during Video Playback";
     this.mpBlankDisplayWithVideo.UseVisualStyleBackColor = true;
     this.mpBlankDisplayWithVideo.CheckedChanged         += new EventHandler(this.mpBlankDisplayWithVideo_CheckedChanged);
     //
     // mpBlankDisplayWhenIdle
     //
     this.mpBlankDisplayWhenIdle.AutoSize = true;
     this.mpBlankDisplayWhenIdle.Location = new Point(7, 60);
     this.mpBlankDisplayWhenIdle.Name     = "mpBlankDisplayWhenIdle";
     this.mpBlankDisplayWhenIdle.Size     = new Size(261, 17);
     this.mpBlankDisplayWhenIdle.TabIndex = 99;
     this.mpBlankDisplayWhenIdle.Text     = "Turn off display when idle for                    seconds";
     this.mpBlankDisplayWhenIdle.UseVisualStyleBackColor = true;
     this.mpBlankDisplayWhenIdle.CheckedChanged         += new EventHandler(this.mpBlankDisplayWhenIdle_CheckedChanged);
     //
     // btnOK
     //
     this.btnOK.Anchor   = ((AnchorStyles)((AnchorStyles.Bottom | AnchorStyles.Right)));
     this.btnOK.Location = new Point(286, 136);
     this.btnOK.Name     = "btnOK";
     this.btnOK.Size     = new Size(80, 23);
     this.btnOK.TabIndex = 108;
     this.btnOK.Text     = "&OK";
     this.btnOK.UseVisualStyleBackColor = true;
     this.btnOK.Click += new EventHandler(this.btnOK_Click);
     //
     // btnReset
     //
     this.btnReset.Anchor   = ((AnchorStyles)((AnchorStyles.Bottom | AnchorStyles.Right)));
     this.btnReset.Location = new Point(200, 136);
     this.btnReset.Name     = "btnReset";
     this.btnReset.Size     = new Size(80, 23);
     this.btnReset.TabIndex = 109;
     this.btnReset.Text     = "&RESET";
     this.btnReset.UseVisualStyleBackColor = true;
     this.btnReset.Click += new EventHandler(this.btnReset_Click);
     //
     // MD8800_AdvancedSetupForm
     //
     this.AutoScaleDimensions = new SizeF(6F, 13F);
     this.ClientSize          = new Size(378, 165);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.btnReset);
     this.Controls.Add(this.groupBox1);
     this.Name          = "MD8800_AdvancedSetupForm";
     this.StartPosition = FormStartPosition.CenterParent;
     this.Text          = "MiniDisplay - Setup - Advanced Settings";
     this.groupBox1.ResumeLayout(false);
     this.groupBox5.ResumeLayout(false);
     this.groupBox5.PerformLayout();
     this.ResumeLayout(false);
 }
Exemple #26
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.chkAutoHide             = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.buttonOk                = new MediaPortal.UserInterface.Controls.MPButton();
     this.label2                  = new MediaPortal.UserInterface.Controls.MPLabel();
     this.label1                  = new MediaPortal.UserInterface.Controls.MPLabel();
     this.textTimeOut             = new MediaPortal.UserInterface.Controls.MPTextBox();
     this.chkOverrideSkinAutoHide = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.buttonCancel            = new MediaPortal.UserInterface.Controls.MPButton();
     this.SuspendLayout();
     //
     // chkAutoHide
     //
     this.chkAutoHide.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.chkAutoHide.AutoSize  = true;
     this.chkAutoHide.Enabled   = false;
     this.chkAutoHide.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.chkAutoHide.Location  = new System.Drawing.Point(16, 40);
     this.chkAutoHide.Name      = "chkAutoHide";
     this.chkAutoHide.Size      = new System.Drawing.Size(66, 17);
     this.chkAutoHide.TabIndex  = 1;
     this.chkAutoHide.Text      = "Autohide";
     this.chkAutoHide.UseVisualStyleBackColor = true;
     //
     // buttonOk
     //
     this.buttonOk.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonOk.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.buttonOk.Location                = new System.Drawing.Point(73, 124);
     this.buttonOk.Name                    = "buttonOk";
     this.buttonOk.Size                    = new System.Drawing.Size(75, 23);
     this.buttonOk.TabIndex                = 3;
     this.buttonOk.Text                    = "&OK";
     this.buttonOk.UseVisualStyleBackColor = true;
     this.buttonOk.Click                  += new System.EventHandler(this.buttonOk_Click);
     //
     // label2
     //
     this.label2.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label2.Location = new System.Drawing.Point(137, 76);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(57, 24);
     this.label2.TabIndex = 3;
     this.label2.Text     = "sec.";
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(13, 76);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(48, 24);
     this.label1.TabIndex = 2;
     this.label1.Text     = "Timeout:";
     //
     // textTimeOut
     //
     this.textTimeOut.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.textTimeOut.BorderColor = System.Drawing.Color.Empty;
     this.textTimeOut.Location    = new System.Drawing.Point(83, 73);
     this.textTimeOut.Name        = "textTimeOut";
     this.textTimeOut.Size        = new System.Drawing.Size(48, 20);
     this.textTimeOut.TabIndex    = 2;
     this.textTimeOut.Text        = "15";
     //
     // chkOverrideSkinAutoHide
     //
     this.chkOverrideSkinAutoHide.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.chkOverrideSkinAutoHide.AutoSize  = true;
     this.chkOverrideSkinAutoHide.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.chkOverrideSkinAutoHide.Location  = new System.Drawing.Point(16, 16);
     this.chkOverrideSkinAutoHide.Name      = "chkOverrideSkinAutoHide";
     this.chkOverrideSkinAutoHide.Size      = new System.Drawing.Size(184, 17);
     this.chkOverrideSkinAutoHide.TabIndex  = 0;
     this.chkOverrideSkinAutoHide.Text      = "Override skin \"AutoHide\" setting";
     this.chkOverrideSkinAutoHide.UseVisualStyleBackColor = true;
     this.chkOverrideSkinAutoHide.CheckedChanged         += new System.EventHandler(this.chkOverrideSkinAutoHide_CheckedChanged);
     //
     // buttonCancel
     //
     this.buttonCancel.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonCancel.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.buttonCancel.Location                = new System.Drawing.Point(154, 124);
     this.buttonCancel.Name                    = "buttonCancel";
     this.buttonCancel.Size                    = new System.Drawing.Size(75, 23);
     this.buttonCancel.TabIndex                = 4;
     this.buttonCancel.Text                    = "&Cancel";
     this.buttonCancel.UseVisualStyleBackColor = true;
     this.buttonCancel.Click                  += new System.EventHandler(this.buttonCancel_Click);
     //
     // TopBarSetupForm
     //
     this.AcceptButton        = this.buttonOk;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.CancelButton        = this.buttonCancel;
     this.ClientSize          = new System.Drawing.Size(241, 159);
     this.Controls.Add(this.buttonCancel);
     this.Controls.Add(this.chkOverrideSkinAutoHide);
     this.Controls.Add(this.buttonOk);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.textTimeOut);
     this.Controls.Add(this.chkAutoHide);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Name            = "TopBarSetupForm";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Topbar - Setup";
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBoxExternalPlayer = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this.externalPlayerCheckBox = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.parametersButton       = new MediaPortal.UserInterface.Controls.MPButton();
     this.parametersTextBox      = new MediaPortal.UserInterface.Controls.MPTextBox();
     this.label2          = new MediaPortal.UserInterface.Controls.MPLabel();
     this.fileNameButton  = new MediaPortal.UserInterface.Controls.MPButton();
     this.fileNameTextBox = new MediaPortal.UserInterface.Controls.MPTextBox();
     this.label1          = new MediaPortal.UserInterface.Controls.MPLabel();
     this.openFileDialog  = new System.Windows.Forms.OpenFileDialog();
     this.wmvGroupBox     = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this.mpLabel2        = new MediaPortal.UserInterface.Controls.MPLabel();
     this.wmvCheckBox     = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.groupBoxExternalPlayer.SuspendLayout();
     this.wmvGroupBox.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBoxExternalPlayer
     //
     this.groupBoxExternalPlayer.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBoxExternalPlayer.Controls.Add(this.externalPlayerCheckBox);
     this.groupBoxExternalPlayer.Controls.Add(this.parametersButton);
     this.groupBoxExternalPlayer.Controls.Add(this.parametersTextBox);
     this.groupBoxExternalPlayer.Controls.Add(this.label2);
     this.groupBoxExternalPlayer.Controls.Add(this.fileNameButton);
     this.groupBoxExternalPlayer.Controls.Add(this.fileNameTextBox);
     this.groupBoxExternalPlayer.Controls.Add(this.label1);
     this.groupBoxExternalPlayer.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.groupBoxExternalPlayer.Location  = new System.Drawing.Point(3, 71);
     this.groupBoxExternalPlayer.Name      = "groupBoxExternalPlayer";
     this.groupBoxExternalPlayer.Size      = new System.Drawing.Size(472, 112);
     this.groupBoxExternalPlayer.TabIndex  = 1;
     this.groupBoxExternalPlayer.TabStop   = false;
     this.groupBoxExternalPlayer.Text      = "External player";
     //
     // externalPlayerCheckBox
     //
     this.externalPlayerCheckBox.AutoSize  = true;
     this.externalPlayerCheckBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.externalPlayerCheckBox.Location  = new System.Drawing.Point(19, 28);
     this.externalPlayerCheckBox.Name      = "externalPlayerCheckBox";
     this.externalPlayerCheckBox.Size      = new System.Drawing.Size(231, 17);
     this.externalPlayerCheckBox.TabIndex  = 0;
     this.externalPlayerCheckBox.Text      = "Use external player (replaces internal player)";
     this.externalPlayerCheckBox.UseVisualStyleBackColor = true;
     this.externalPlayerCheckBox.CheckedChanged         += new System.EventHandler(this.externalPlayerCheckBox_CheckedChanged);
     //
     // parametersButton
     //
     this.parametersButton.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.parametersButton.Location = new System.Drawing.Point(384, 84);
     this.parametersButton.Name     = "parametersButton";
     this.parametersButton.Size     = new System.Drawing.Size(72, 22);
     this.parametersButton.TabIndex = 6;
     this.parametersButton.Text     = "List";
     this.parametersButton.UseVisualStyleBackColor = true;
     this.parametersButton.Click += new System.EventHandler(this.parametersButton_Click);
     //
     // parametersTextBox
     //
     this.parametersTextBox.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.parametersTextBox.BorderColor = System.Drawing.Color.Empty;
     this.parametersTextBox.Location    = new System.Drawing.Point(168, 84);
     this.parametersTextBox.Name        = "parametersTextBox";
     this.parametersTextBox.Size        = new System.Drawing.Size(208, 20);
     this.parametersTextBox.TabIndex    = 5;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(16, 88);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(72, 15);
     this.label2.TabIndex = 4;
     this.label2.Text     = "Parameters:";
     //
     // fileNameButton
     //
     this.fileNameButton.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.fileNameButton.Location = new System.Drawing.Point(384, 60);
     this.fileNameButton.Name     = "fileNameButton";
     this.fileNameButton.Size     = new System.Drawing.Size(72, 22);
     this.fileNameButton.TabIndex = 3;
     this.fileNameButton.Text     = "Browse";
     this.fileNameButton.UseVisualStyleBackColor = true;
     this.fileNameButton.Click += new System.EventHandler(this.fileNameButton_Click);
     //
     // fileNameTextBox
     //
     this.fileNameTextBox.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.fileNameTextBox.BorderColor = System.Drawing.Color.Empty;
     this.fileNameTextBox.Location    = new System.Drawing.Point(168, 60);
     this.fileNameTextBox.Name        = "fileNameTextBox";
     this.fileNameTextBox.Size        = new System.Drawing.Size(208, 20);
     this.fileNameTextBox.TabIndex    = 2;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(16, 64);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(80, 16);
     this.label1.TabIndex = 1;
     this.label1.Text     = "Path/Filename:";
     //
     // wmvGroupBox
     //
     this.wmvGroupBox.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.wmvGroupBox.Controls.Add(this.mpLabel2);
     this.wmvGroupBox.Controls.Add(this.wmvCheckBox);
     this.wmvGroupBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.wmvGroupBox.Location  = new System.Drawing.Point(3, 3);
     this.wmvGroupBox.Name      = "wmvGroupBox";
     this.wmvGroupBox.Size      = new System.Drawing.Size(472, 62);
     this.wmvGroupBox.TabIndex  = 7;
     this.wmvGroupBox.TabStop   = false;
     this.wmvGroupBox.Text      = "WMV playback (internal player)";
     //
     // mpLabel2
     //
     this.mpLabel2.Location = new System.Drawing.Point(34, 39);
     this.mpLabel2.Name     = "mpLabel2";
     this.mpLabel2.Size     = new System.Drawing.Size(326, 16);
     this.mpLabel2.TabIndex = 10;
     this.mpLabel2.Text     = "Will not be applied if Automatic Decoder Settings enabled.";
     //
     // wmvCheckBox
     //
     this.wmvCheckBox.AutoSize  = true;
     this.wmvCheckBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.wmvCheckBox.Location  = new System.Drawing.Point(19, 19);
     this.wmvCheckBox.Name      = "wmvCheckBox";
     this.wmvCheckBox.Size      = new System.Drawing.Size(233, 17);
     this.wmvCheckBox.TabIndex  = 0;
     this.wmvCheckBox.Text      = "Use 5.1 audio playback for WMV movie files";
     this.wmvCheckBox.UseVisualStyleBackColor = true;
     //
     // MoviePlayer
     //
     this.Controls.Add(this.wmvGroupBox);
     this.Controls.Add(this.groupBoxExternalPlayer);
     this.Name = "MoviePlayer";
     this.Size = new System.Drawing.Size(472, 408);
     this.groupBoxExternalPlayer.ResumeLayout(false);
     this.groupBoxExternalPlayer.PerformLayout();
     this.wmvGroupBox.ResumeLayout(false);
     this.wmvGroupBox.PerformLayout();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.radioButton1           = new MediaPortal.UserInterface.Controls.MPRadioButton();
     this.mpGroupBox2            = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this.mpTextBoxHostname      = new MediaPortal.UserInterface.Controls.MPTextBox();
     this.mpButtonTestConnection = new MediaPortal.UserInterface.Controls.MPButton();
     this.mpLabel3                          = new MediaPortal.UserInterface.Controls.MPLabel();
     this.mpComboBoxHostname                = new MediaPortal.UserInterface.Controls.MPComboBox();
     this.mpGroupBox900                     = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this.mpNumericTextBoxWOLTimeOut        = new MediaPortal.UserInterface.Controls.MPNumericTextBox();
     this.mpLabelWOLTimeOut                 = new MediaPortal.UserInterface.Controls.MPLabel();
     this.mpTextBoxMacAddress               = new MediaPortal.UserInterface.Controls.MPTextBox();
     this.mpLabel400                        = new MediaPortal.UserInterface.Controls.MPLabel();
     this.mpCheckBoxIsAutoMacAddressEnabled = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.mpCheckBoxIsWakeOnLanEnabled      = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.mpGroupBox2.SuspendLayout();
     this.mpGroupBox900.SuspendLayout();
     this.SuspendLayout();
     //
     // radioButton1
     //
     this.radioButton1.AutoSize  = true;
     this.radioButton1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.radioButton1.Location  = new System.Drawing.Point(0, 0);
     this.radioButton1.Name      = "radioButton1";
     this.radioButton1.Size      = new System.Drawing.Size(104, 24);
     this.radioButton1.TabIndex  = 0;
     this.radioButton1.UseVisualStyleBackColor = true;
     //
     // mpGroupBox2
     //
     this.mpGroupBox2.Controls.Add(this.mpTextBoxHostname);
     this.mpGroupBox2.Controls.Add(this.mpButtonTestConnection);
     this.mpGroupBox2.Controls.Add(this.mpLabel3);
     this.mpGroupBox2.Controls.Add(this.mpComboBoxHostname);
     this.mpGroupBox2.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.mpGroupBox2.Location  = new System.Drawing.Point(6, 0);
     this.mpGroupBox2.Name      = "mpGroupBox2";
     this.mpGroupBox2.Size      = new System.Drawing.Size(462, 53);
     this.mpGroupBox2.TabIndex  = 17;
     this.mpGroupBox2.TabStop   = false;
     this.mpGroupBox2.Text      = "TV-Server";
     //
     // mpTextBoxHostname
     //
     this.mpTextBoxHostname.BorderColor  = System.Drawing.Color.Empty;
     this.mpTextBoxHostname.BorderStyle  = System.Windows.Forms.BorderStyle.None;
     this.mpTextBoxHostname.Location     = new System.Drawing.Point(129, 25);
     this.mpTextBoxHostname.Multiline    = true;
     this.mpTextBoxHostname.Name         = "mpTextBoxHostname";
     this.mpTextBoxHostname.Size         = new System.Drawing.Size(141, 15);
     this.mpTextBoxHostname.TabIndex     = 1;
     this.mpTextBoxHostname.TextChanged += new System.EventHandler(this.mpTextBoxHostname_TextChanged);
     //
     // mpButtonTestConnection
     //
     this.mpButtonTestConnection.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.mpButtonTestConnection.Location = new System.Drawing.Point(325, 21);
     this.mpButtonTestConnection.Name     = "mpButtonTestConnection";
     this.mpButtonTestConnection.Size     = new System.Drawing.Size(131, 23);
     this.mpButtonTestConnection.TabIndex = 3;
     this.mpButtonTestConnection.Text     = "Test connection";
     this.mpButtonTestConnection.UseVisualStyleBackColor = true;
     this.mpButtonTestConnection.Click += new System.EventHandler(this.mpButtonTestConnection_Click);
     //
     // mpLabel3
     //
     this.mpLabel3.AutoSize = true;
     this.mpLabel3.Location = new System.Drawing.Point(19, 25);
     this.mpLabel3.Name     = "mpLabel3";
     this.mpLabel3.Size     = new System.Drawing.Size(58, 13);
     this.mpLabel3.TabIndex = 5;
     this.mpLabel3.Text     = "Hostname:";
     //
     // mpComboBoxHostname
     //
     this.mpComboBoxHostname.BorderColor       = System.Drawing.Color.Empty;
     this.mpComboBoxHostname.FormattingEnabled = true;
     this.mpComboBoxHostname.Location          = new System.Drawing.Point(126, 22);
     this.mpComboBoxHostname.Name      = "mpComboBoxHostname";
     this.mpComboBoxHostname.Size      = new System.Drawing.Size(164, 21);
     this.mpComboBoxHostname.TabIndex  = 2;
     this.mpComboBoxHostname.DropDown += new System.EventHandler(this.mpComboBoxHostname_DropDown);
     this.mpComboBoxHostname.SelectionChangeCommitted += new System.EventHandler(this.mpComboBoxHostname_SelectionChangeCommitted);
     //
     // mpGroupBox900
     //
     this.mpGroupBox900.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.mpGroupBox900.Controls.Add(this.mpNumericTextBoxWOLTimeOut);
     this.mpGroupBox900.Controls.Add(this.mpLabelWOLTimeOut);
     this.mpGroupBox900.Controls.Add(this.mpTextBoxMacAddress);
     this.mpGroupBox900.Controls.Add(this.mpLabel400);
     this.mpGroupBox900.Controls.Add(this.mpCheckBoxIsAutoMacAddressEnabled);
     this.mpGroupBox900.Controls.Add(this.mpCheckBoxIsWakeOnLanEnabled);
     this.mpGroupBox900.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.mpGroupBox900.Location  = new System.Drawing.Point(6, 59);
     this.mpGroupBox900.Name      = "mpGroupBox900";
     this.mpGroupBox900.Size      = new System.Drawing.Size(462, 126);
     this.mpGroupBox900.TabIndex  = 18;
     this.mpGroupBox900.TabStop   = false;
     this.mpGroupBox900.Text      = "Wake-On-Lan";
     //
     // mpNumericTextBoxWOLTimeOut
     //
     this.mpNumericTextBoxWOLTimeOut.AutoCompleteCustomSource.AddRange(new string[] {
         "10",
         "20",
         "30",
         "40",
         "50",
         "60",
         "70",
         "80",
         "90"
     });
     this.mpNumericTextBoxWOLTimeOut.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
     this.mpNumericTextBoxWOLTimeOut.Enabled          = false;
     this.mpNumericTextBoxWOLTimeOut.Location         = new System.Drawing.Point(126, 42);
     this.mpNumericTextBoxWOLTimeOut.MaxLength        = 4;
     this.mpNumericTextBoxWOLTimeOut.Name             = "mpNumericTextBoxWOLTimeOut";
     this.mpNumericTextBoxWOLTimeOut.Size             = new System.Drawing.Size(45, 20);
     this.mpNumericTextBoxWOLTimeOut.TabIndex         = 1;
     this.mpNumericTextBoxWOLTimeOut.Tag      = "Default timeout is 10 seconds";
     this.mpNumericTextBoxWOLTimeOut.Text     = "10";
     this.mpNumericTextBoxWOLTimeOut.Value    = 10;
     this.mpNumericTextBoxWOLTimeOut.WordWrap = false;
     //
     // mpLabelWOLTimeOut
     //
     this.mpLabelWOLTimeOut.AutoSize = true;
     this.mpLabelWOLTimeOut.Location = new System.Drawing.Point(41, 45);
     this.mpLabelWOLTimeOut.Name     = "mpLabelWOLTimeOut";
     this.mpLabelWOLTimeOut.Size     = new System.Drawing.Size(72, 13);
     this.mpLabelWOLTimeOut.TabIndex = 8;
     this.mpLabelWOLTimeOut.Text     = "WOL timeout:";
     //
     // mpTextBoxMacAddress
     //
     this.mpTextBoxMacAddress.BorderColor = System.Drawing.Color.Empty;
     this.mpTextBoxMacAddress.Location    = new System.Drawing.Point(126, 91);
     this.mpTextBoxMacAddress.MaxLength   = 17;
     this.mpTextBoxMacAddress.Name        = "mpTextBoxMacAddress";
     this.mpTextBoxMacAddress.Size        = new System.Drawing.Size(97, 20);
     this.mpTextBoxMacAddress.TabIndex    = 3;
     this.mpTextBoxMacAddress.Text        = "00:00:00:00:00:00";
     //
     // mpLabel400
     //
     this.mpLabel400.AutoSize = true;
     this.mpLabel400.Location = new System.Drawing.Point(41, 94);
     this.mpLabel400.Name     = "mpLabel400";
     this.mpLabel400.Size     = new System.Drawing.Size(74, 13);
     this.mpLabel400.TabIndex = 6;
     this.mpLabel400.Text     = "MAC Address:";
     //
     // mpCheckBoxIsAutoMacAddressEnabled
     //
     this.mpCheckBoxIsAutoMacAddressEnabled.AutoSize  = true;
     this.mpCheckBoxIsAutoMacAddressEnabled.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.mpCheckBoxIsAutoMacAddressEnabled.Location  = new System.Drawing.Point(44, 68);
     this.mpCheckBoxIsAutoMacAddressEnabled.Name      = "mpCheckBoxIsAutoMacAddressEnabled";
     this.mpCheckBoxIsAutoMacAddressEnabled.Size      = new System.Drawing.Size(192, 17);
     this.mpCheckBoxIsAutoMacAddressEnabled.TabIndex  = 2;
     this.mpCheckBoxIsAutoMacAddressEnabled.Text      = "Auto-configure server MAC Address";
     this.mpCheckBoxIsAutoMacAddressEnabled.UseVisualStyleBackColor = true;
     this.mpCheckBoxIsAutoMacAddressEnabled.CheckedChanged         += new System.EventHandler(this.mpCheckBoxIsAutoMacAddressEnabled_CheckedChanged);
     //
     // mpCheckBoxIsWakeOnLanEnabled
     //
     this.mpCheckBoxIsWakeOnLanEnabled.AutoSize  = true;
     this.mpCheckBoxIsWakeOnLanEnabled.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.mpCheckBoxIsWakeOnLanEnabled.Location  = new System.Drawing.Point(22, 19);
     this.mpCheckBoxIsWakeOnLanEnabled.Name      = "mpCheckBoxIsWakeOnLanEnabled";
     this.mpCheckBoxIsWakeOnLanEnabled.Size      = new System.Drawing.Size(172, 17);
     this.mpCheckBoxIsWakeOnLanEnabled.TabIndex  = 0;
     this.mpCheckBoxIsWakeOnLanEnabled.Text      = "Wake up TV Server as needed";
     this.mpCheckBoxIsWakeOnLanEnabled.UseVisualStyleBackColor = true;
     this.mpCheckBoxIsWakeOnLanEnabled.CheckedChanged         += new System.EventHandler(this.mpCheckBoxIsWakeOnLanEnabled_CheckedChanged);
     //
     // TVRadio
     //
     this.Controls.Add(this.mpGroupBox900);
     this.Controls.Add(this.mpGroupBox2);
     this.Name = "TVRadio";
     this.Size = new System.Drawing.Size(472, 427);
     this.mpGroupBox2.ResumeLayout(false);
     this.mpGroupBox2.PerformLayout();
     this.mpGroupBox900.ResumeLayout(false);
     this.mpGroupBox900.PerformLayout();
     this.ResumeLayout(false);
 }
 private void InitializeComponent()
 {
     this.groupBox1                 = new MPGroupBox();
     this.groupBox5                 = new GroupBox();
     this.cbUseClockOnShutdown      = new CheckBox();
     this.mpEnableDisplayActionTime = new MPComboBox();
     this.cmbBlankIdleTime          = new MPComboBox();
     this.mpEnableDisplayAction     = new CheckBox();
     this.mpBlankDisplayWithVideo   = new CheckBox();
     this.mpBlankDisplayWhenIdle    = new CheckBox();
     this.groupEqualizerOptions     = new GroupBox();
     this.groupEQstyle              = new GroupBox();
     this.cbUseVUmeter2             = new RadioButton();
     this.cbVUindicators            = new CheckBox();
     this.cbUseVUmeter              = new RadioButton();
     this.cbStereoEQ                = new RadioButton();
     this.cbNormalEQ                = new RadioButton();
     this.cmbDelayEqTime            = new MPComboBox();
     this.lblRestrictEQ             = new MPLabel();
     this.cmbEQTitleDisplayTime     = new MPComboBox();
     this.cmbEQTitleShowTime        = new MPComboBox();
     this.mpEQTitleDisplay          = new CheckBox();
     this.mpSmoothEQ                = new CheckBox();
     this.mpEqDisplay               = new CheckBox();
     this.mpRestrictEQ              = new CheckBox();
     this.cmbEqRate                 = new MPComboBox();
     this.mpDelayEQ                 = new CheckBox();
     this.lblEQTitleDisplay         = new MPLabel();
     this.btnOK    = new MPButton();
     this.btnReset = new MPButton();
     this.groupBox1.SuspendLayout();
     this.groupBox5.SuspendLayout();
     this.groupEqualizerOptions.SuspendLayout();
     this.groupEQstyle.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((AnchorStyles)((((AnchorStyles.Top | AnchorStyles.Bottom)
                                               | AnchorStyles.Left)
                                              | AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.groupBox5);
     this.groupBox1.Controls.Add(this.groupEqualizerOptions);
     this.groupBox1.FlatStyle = FlatStyle.Popup;
     this.groupBox1.Location  = new Point(7, 6);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new Size(397, 368);
     this.groupBox1.TabIndex  = 4;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = " IO-Warrior Graphical LCD Advanced Configuration ";
     //
     // groupBox5
     //
     this.groupBox5.Anchor = ((AnchorStyles)(((AnchorStyles.Top | AnchorStyles.Left)
                                              | AnchorStyles.Right)));
     this.groupBox5.Controls.Add(this.cbUseClockOnShutdown);
     this.groupBox5.Controls.Add(this.mpEnableDisplayActionTime);
     this.groupBox5.Controls.Add(this.cmbBlankIdleTime);
     this.groupBox5.Controls.Add(this.mpEnableDisplayAction);
     this.groupBox5.Controls.Add(this.mpBlankDisplayWithVideo);
     this.groupBox5.Controls.Add(this.mpBlankDisplayWhenIdle);
     this.groupBox5.Location = new Point(6, 19);
     this.groupBox5.Name     = "groupBox5";
     this.groupBox5.Size     = new Size(383, 103);
     this.groupBox5.TabIndex = 105;
     this.groupBox5.TabStop  = false;
     this.groupBox5.Text     = " Display Control Options ";
     //
     // cbUseClockOnShutdown
     //
     this.cbUseClockOnShutdown.AutoSize = true;
     this.cbUseClockOnShutdown.Location = new Point(8, 81);
     this.cbUseClockOnShutdown.Name     = "cbUseClockOnShutdown";
     this.cbUseClockOnShutdown.Size     = new Size(204, 17);
     this.cbUseClockOnShutdown.TabIndex = 100;
     this.cbUseClockOnShutdown.Text     = "Use Clock on shutdown (If supported)";
     this.cbUseClockOnShutdown.UseVisualStyleBackColor = true;
     this.cbUseClockOnShutdown.Visible = false;
     //
     // mpEnableDisplayActionTime
     //
     this.mpEnableDisplayActionTime.BorderColor   = Color.Empty;
     this.mpEnableDisplayActionTime.DropDownStyle = ComboBoxStyle.DropDownList;
     this.mpEnableDisplayActionTime.Items.AddRange(new object[]
     {
         "0",
         "1",
         "2",
         "3",
         "4",
         "5",
         "6",
         "7",
         "8",
         "9",
         "10",
         "11",
         "12",
         "13",
         "14",
         "15",
         "16",
         "17",
         "18",
         "19",
         "20"
     });
     this.mpEnableDisplayActionTime.Location = new Point(180, 36);
     this.mpEnableDisplayActionTime.Name     = "mpEnableDisplayActionTime";
     this.mpEnableDisplayActionTime.Size     = new Size(49, 21);
     this.mpEnableDisplayActionTime.TabIndex = 96;
     //
     // cmbBlankIdleTime
     //
     this.cmbBlankIdleTime.BorderColor   = Color.Empty;
     this.cmbBlankIdleTime.DropDownStyle = ComboBoxStyle.DropDownList;
     this.cmbBlankIdleTime.Items.AddRange(new object[]
     {
         "0",
         "1",
         "2",
         "3",
         "4",
         "5",
         "6",
         "7",
         "8",
         "9",
         "10",
         "11",
         "12",
         "13",
         "14",
         "15",
         "16",
         "17",
         "18",
         "19",
         "20",
         "21",
         "22",
         "23",
         "24",
         "25",
         "26",
         "27",
         "28",
         "29",
         "30"
     });
     this.cmbBlankIdleTime.Location = new Point(166, 58);
     this.cmbBlankIdleTime.Name     = "cmbBlankIdleTime";
     this.cmbBlankIdleTime.Size     = new Size(51, 21);
     this.cmbBlankIdleTime.TabIndex = 98;
     //
     // mpEnableDisplayAction
     //
     this.mpEnableDisplayAction.AutoSize = true;
     this.mpEnableDisplayAction.Location = new Point(23, 38);
     this.mpEnableDisplayAction.Name     = "mpEnableDisplayAction";
     this.mpEnableDisplayAction.Size     = new Size(258, 17);
     this.mpEnableDisplayAction.TabIndex = 97;
     this.mpEnableDisplayAction.Text     = "Enable Display on Action for                   Seconds";
     this.mpEnableDisplayAction.UseVisualStyleBackColor = true;
     this.mpEnableDisplayAction.CheckedChanged         += new EventHandler(this.mpEnableDisplayAction_CheckedChanged);
     //
     // mpBlankDisplayWithVideo
     //
     this.mpBlankDisplayWithVideo.AutoSize = true;
     this.mpBlankDisplayWithVideo.Location = new Point(7, 17);
     this.mpBlankDisplayWithVideo.Name     = "mpBlankDisplayWithVideo";
     this.mpBlankDisplayWithVideo.Size     = new Size(207, 17);
     this.mpBlankDisplayWithVideo.TabIndex = 95;
     this.mpBlankDisplayWithVideo.Text     = "Turn off display during Video Playback";
     this.mpBlankDisplayWithVideo.UseVisualStyleBackColor = true;
     this.mpBlankDisplayWithVideo.CheckedChanged         += new EventHandler(this.mpBlankDisplayWithVideo_CheckedChanged);
     //
     // mpBlankDisplayWhenIdle
     //
     this.mpBlankDisplayWhenIdle.AutoSize = true;
     this.mpBlankDisplayWhenIdle.Location = new Point(7, 60);
     this.mpBlankDisplayWhenIdle.Name     = "mpBlankDisplayWhenIdle";
     this.mpBlankDisplayWhenIdle.Size     = new Size(261, 17);
     this.mpBlankDisplayWhenIdle.TabIndex = 99;
     this.mpBlankDisplayWhenIdle.Text     = "Turn off display when idle for                    seconds";
     this.mpBlankDisplayWhenIdle.UseVisualStyleBackColor = true;
     this.mpBlankDisplayWhenIdle.CheckedChanged         += new EventHandler(this.mpBlankDisplayWhenIdle_CheckedChanged);
     //
     // groupEqualizerOptions
     //
     this.groupEqualizerOptions.Anchor = ((AnchorStyles)((((AnchorStyles.Top | AnchorStyles.Bottom)
                                                           | AnchorStyles.Left)
                                                          | AnchorStyles.Right)));
     this.groupEqualizerOptions.Controls.Add(this.groupEQstyle);
     this.groupEqualizerOptions.Controls.Add(this.cmbDelayEqTime);
     this.groupEqualizerOptions.Controls.Add(this.lblRestrictEQ);
     this.groupEqualizerOptions.Controls.Add(this.cmbEQTitleDisplayTime);
     this.groupEqualizerOptions.Controls.Add(this.cmbEQTitleShowTime);
     this.groupEqualizerOptions.Controls.Add(this.mpEQTitleDisplay);
     this.groupEqualizerOptions.Controls.Add(this.mpSmoothEQ);
     this.groupEqualizerOptions.Controls.Add(this.mpEqDisplay);
     this.groupEqualizerOptions.Controls.Add(this.mpRestrictEQ);
     this.groupEqualizerOptions.Controls.Add(this.cmbEqRate);
     this.groupEqualizerOptions.Controls.Add(this.mpDelayEQ);
     this.groupEqualizerOptions.Controls.Add(this.lblEQTitleDisplay);
     this.groupEqualizerOptions.Location = new Point(6, 128);
     this.groupEqualizerOptions.Name     = "groupEqualizerOptions";
     this.groupEqualizerOptions.Size     = new Size(383, 233);
     this.groupEqualizerOptions.TabIndex = 104;
     this.groupEqualizerOptions.TabStop  = false;
     this.groupEqualizerOptions.Text     = " Equalizer Options";
     //
     // groupEQstyle
     //
     this.groupEQstyle.Anchor = ((AnchorStyles)(((AnchorStyles.Top | AnchorStyles.Left)
                                                 | AnchorStyles.Right)));
     this.groupEQstyle.Controls.Add(this.cbUseVUmeter2);
     this.groupEQstyle.Controls.Add(this.cbVUindicators);
     this.groupEQstyle.Controls.Add(this.cbUseVUmeter);
     this.groupEQstyle.Controls.Add(this.cbStereoEQ);
     this.groupEQstyle.Controls.Add(this.cbNormalEQ);
     this.groupEQstyle.Location = new Point(39, 38);
     this.groupEQstyle.Name     = "groupEQstyle";
     this.groupEQstyle.Size     = new Size(300, 60);
     this.groupEQstyle.TabIndex = 118;
     this.groupEQstyle.TabStop  = false;
     this.groupEQstyle.Text     = " Equalizer Style ";
     //
     // cbUseVUmeter2
     //
     this.cbUseVUmeter2.AutoSize = true;
     this.cbUseVUmeter2.Location = new Point(211, 17);
     this.cbUseVUmeter2.Name     = "cbUseVUmeter2";
     this.cbUseVUmeter2.Size     = new Size(79, 17);
     this.cbUseVUmeter2.TabIndex = 122;
     this.cbUseVUmeter2.Text     = "VU Meter 2";
     this.cbUseVUmeter2.UseVisualStyleBackColor = true;
     this.cbUseVUmeter2.CheckedChanged         += new EventHandler(this.cbUseVUmeter2_CheckedChanged);
     //
     // cbVUindicators
     //
     this.cbVUindicators.AutoSize = true;
     this.cbVUindicators.Location = new Point(9, 39);
     this.cbVUindicators.Name     = "cbVUindicators";
     this.cbVUindicators.Size     = new Size(213, 17);
     this.cbVUindicators.TabIndex = 121;
     this.cbVUindicators.Text     = "Show Channel indicators for VU Display";
     this.cbVUindicators.UseVisualStyleBackColor = true;
     //
     // cbUseVUmeter
     //
     this.cbUseVUmeter.AutoSize = true;
     this.cbUseVUmeter.Location = new Point(135, 17);
     this.cbUseVUmeter.Name     = "cbUseVUmeter";
     this.cbUseVUmeter.Size     = new Size(70, 17);
     this.cbUseVUmeter.TabIndex = 2;
     this.cbUseVUmeter.Text     = "VU Meter";
     this.cbUseVUmeter.UseVisualStyleBackColor = true;
     this.cbUseVUmeter.CheckedChanged         += new EventHandler(this.cbUseVUmeter_CheckedChanged);
     //
     // cbStereoEQ
     //
     this.cbStereoEQ.AutoSize = true;
     this.cbStereoEQ.Location = new Point(77, 17);
     this.cbStereoEQ.Name     = "cbStereoEQ";
     this.cbStereoEQ.Size     = new Size(56, 17);
     this.cbStereoEQ.TabIndex = 1;
     this.cbStereoEQ.Text     = "Stereo";
     this.cbStereoEQ.UseVisualStyleBackColor = true;
     this.cbStereoEQ.CheckedChanged         += new EventHandler(this.cbStereoEQ_CheckedChanged);
     //
     // cbNormalEQ
     //
     this.cbNormalEQ.AutoSize = true;
     this.cbNormalEQ.Checked  = true;
     this.cbNormalEQ.Location = new Point(13, 17);
     this.cbNormalEQ.Name     = "cbNormalEQ";
     this.cbNormalEQ.Size     = new Size(58, 17);
     this.cbNormalEQ.TabIndex = 0;
     this.cbNormalEQ.TabStop  = true;
     this.cbNormalEQ.Text     = "Normal";
     this.cbNormalEQ.UseVisualStyleBackColor = true;
     this.cbNormalEQ.CheckedChanged         += new EventHandler(this.cbNormalEQ_CheckedChanged);
     //
     // cmbDelayEqTime
     //
     this.cmbDelayEqTime.BorderColor   = Color.Empty;
     this.cmbDelayEqTime.DropDownStyle = ComboBoxStyle.DropDownList;
     this.cmbDelayEqTime.Items.AddRange(new object[]
     {
         "0",
         "1",
         "2",
         "3",
         "4",
         "5",
         "6",
         "7",
         "8",
         "9",
         "10",
         "11",
         "12",
         "13",
         "14",
         "15",
         "16",
         "17",
         "18",
         "19",
         "20",
         "21",
         "22",
         "23",
         "24",
         "25",
         "26",
         "27",
         "28",
         "29",
         "30"
     });
     this.cmbDelayEqTime.Location = new Point(160, 143);
     this.cmbDelayEqTime.Name     = "cmbDelayEqTime";
     this.cmbDelayEqTime.Size     = new Size(52, 21);
     this.cmbDelayEqTime.TabIndex = 104;
     //
     // lblRestrictEQ
     //
     this.lblRestrictEQ.Anchor    = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
     this.lblRestrictEQ.Location  = new Point(102, 124);
     this.lblRestrictEQ.Name      = "lblRestrictEQ";
     this.lblRestrictEQ.Size      = new Size(116, 17);
     this.lblRestrictEQ.TabIndex  = 115;
     this.lblRestrictEQ.Text      = "updates per Seconds";
     this.lblRestrictEQ.TextAlign = ContentAlignment.MiddleLeft;
     //
     // cmbEQTitleDisplayTime
     //
     this.cmbEQTitleDisplayTime.BorderColor   = Color.Empty;
     this.cmbEQTitleDisplayTime.DropDownStyle = ComboBoxStyle.DropDownList;
     this.cmbEQTitleDisplayTime.Items.AddRange(new object[]
     {
         "0",
         "1",
         "2",
         "3",
         "4",
         "5",
         "6",
         "7",
         "8",
         "9",
         "10",
         "11",
         "12",
         "13",
         "14",
         "15",
         "16",
         "17",
         "18",
         "19",
         "20",
         "21",
         "22",
         "23",
         "24",
         "25",
         "26",
         "27",
         "28",
         "29",
         "30"
     });
     this.cmbEQTitleDisplayTime.Location = new Point(165, 207);
     this.cmbEQTitleDisplayTime.Name     = "cmbEQTitleDisplayTime";
     this.cmbEQTitleDisplayTime.Size     = new Size(52, 21);
     this.cmbEQTitleDisplayTime.TabIndex = 110;
     //
     // cmbEQTitleShowTime
     //
     this.cmbEQTitleShowTime.BorderColor   = Color.Empty;
     this.cmbEQTitleShowTime.DropDownStyle = ComboBoxStyle.DropDownList;
     this.cmbEQTitleShowTime.Items.AddRange(new object[]
     {
         "0",
         "1",
         "2",
         "3",
         "4",
         "5",
         "6",
         "7",
         "8",
         "9",
         "10",
         "11",
         "12",
         "13",
         "14",
         "15",
         "16",
         "17",
         "18",
         "19",
         "20",
         "21",
         "22",
         "23",
         "24",
         "25",
         "26",
         "27",
         "28",
         "29",
         "30"
     });
     this.cmbEQTitleShowTime.Location = new Point(32, 207);
     this.cmbEQTitleShowTime.Name     = "cmbEQTitleShowTime";
     this.cmbEQTitleShowTime.Size     = new Size(52, 21);
     this.cmbEQTitleShowTime.TabIndex = 113;
     //
     // mpEQTitleDisplay
     //
     this.mpEQTitleDisplay.AutoSize = true;
     this.mpEQTitleDisplay.Location = new Point(21, 187);
     this.mpEQTitleDisplay.Name     = "mpEQTitleDisplay";
     this.mpEQTitleDisplay.Size     = new Size(120, 17);
     this.mpEQTitleDisplay.TabIndex = 112;
     this.mpEQTitleDisplay.Text     = "Show Track Info for";
     this.mpEQTitleDisplay.UseVisualStyleBackColor = true;
     this.mpEQTitleDisplay.CheckedChanged         += new EventHandler(this.mpEQTitleDisplay_CheckedChanged);
     //
     // mpSmoothEQ
     //
     this.mpSmoothEQ.AutoSize = true;
     this.mpSmoothEQ.Location = new Point(21, 166);
     this.mpSmoothEQ.Name     = "mpSmoothEQ";
     this.mpSmoothEQ.Size     = new Size(224, 17);
     this.mpSmoothEQ.TabIndex = 109;
     this.mpSmoothEQ.Text     = "Use Equalizer Smoothing (Delayed decay)";
     this.mpSmoothEQ.UseVisualStyleBackColor = true;
     //
     // mpEqDisplay
     //
     this.mpEqDisplay.AutoSize = true;
     this.mpEqDisplay.Location = new Point(5, 21);
     this.mpEqDisplay.Name     = "mpEqDisplay";
     this.mpEqDisplay.Size     = new Size(126, 17);
     this.mpEqDisplay.TabIndex = 106;
     this.mpEqDisplay.Text     = "Use Equalizer display";
     this.mpEqDisplay.UseVisualStyleBackColor = true;
     this.mpEqDisplay.CheckedChanged         += new EventHandler(this.mpEqDisplay_CheckedChanged);
     //
     // mpRestrictEQ
     //
     this.mpRestrictEQ.AutoSize = true;
     this.mpRestrictEQ.Location = new Point(21, 103);
     this.mpRestrictEQ.Name     = "mpRestrictEQ";
     this.mpRestrictEQ.Size     = new Size(185, 17);
     this.mpRestrictEQ.TabIndex = 107;
     this.mpRestrictEQ.Text     = "Limit Equalizer display update rate";
     this.mpRestrictEQ.UseVisualStyleBackColor = true;
     this.mpRestrictEQ.CheckedChanged         += new EventHandler(this.mpRestrictEQ_CheckedChanged);
     //
     // cmbEqRate
     //
     this.cmbEqRate.Anchor = ((AnchorStyles)(((AnchorStyles.Top | AnchorStyles.Left)
                                              | AnchorStyles.Right)));
     this.cmbEqRate.BorderColor   = Color.Empty;
     this.cmbEqRate.DropDownStyle = ComboBoxStyle.DropDownList;
     this.cmbEqRate.Items.AddRange(new object[]
     {
         "MAX",
         "1",
         "2",
         "3",
         "4",
         "5",
         "6",
         "7",
         "8",
         "9",
         "10",
         "11",
         "12",
         "13",
         "14",
         "15",
         "16",
         "17",
         "18",
         "19",
         "20",
         "21",
         "22",
         "23",
         "24",
         "25",
         "26",
         "27",
         "28",
         "29",
         "30",
         "31",
         "32",
         "33",
         "34",
         "35",
         "36",
         "37",
         "38",
         "39",
         "40",
         "41",
         "42",
         "43",
         "44",
         "45",
         "46",
         "47",
         "48",
         "49",
         "50",
         "51",
         "52",
         "53",
         "54",
         "55",
         "56",
         "57",
         "58",
         "59",
         "60"
     });
     this.cmbEqRate.Location = new Point(32, 122);
     this.cmbEqRate.Name     = "cmbEqRate";
     this.cmbEqRate.Size     = new Size(69, 21);
     this.cmbEqRate.TabIndex = 103;
     //
     // mpDelayEQ
     //
     this.mpDelayEQ.AutoSize = true;
     this.mpDelayEQ.Location = new Point(21, 144);
     this.mpDelayEQ.Name     = "mpDelayEQ";
     this.mpDelayEQ.Size     = new Size(246, 17);
     this.mpDelayEQ.TabIndex = 108;
     this.mpDelayEQ.Text     = "Delay Equalizer Start by                      Seconds";
     this.mpDelayEQ.UseVisualStyleBackColor = true;
     this.mpDelayEQ.CheckedChanged         += new EventHandler(this.mpDelayEQ_CheckedChanged);
     //
     // lblEQTitleDisplay
     //
     this.lblEQTitleDisplay.Location  = new Point(86, 208);
     this.lblEQTitleDisplay.Name      = "lblEQTitleDisplay";
     this.lblEQTitleDisplay.Size      = new Size(201, 17);
     this.lblEQTitleDisplay.TabIndex  = 114;
     this.lblEQTitleDisplay.Text      = "Seconds every                     Seconds";
     this.lblEQTitleDisplay.TextAlign = ContentAlignment.MiddleLeft;
     //
     // btnOK
     //
     this.btnOK.Anchor   = ((AnchorStyles)((AnchorStyles.Bottom | AnchorStyles.Right)));
     this.btnOK.Location = new Point(316, 380);
     this.btnOK.Name     = "btnOK";
     this.btnOK.Size     = new Size(88, 23);
     this.btnOK.TabIndex = 12;
     this.btnOK.Text     = "&OK";
     this.btnOK.UseVisualStyleBackColor = true;
     this.btnOK.Click += new EventHandler(this.btnOK_Click);
     //
     // btnReset
     //
     this.btnReset.Anchor   = ((AnchorStyles)((AnchorStyles.Bottom | AnchorStyles.Right)));
     this.btnReset.Location = new Point(222, 380);
     this.btnReset.Name     = "btnReset";
     this.btnReset.Size     = new Size(88, 23);
     this.btnReset.TabIndex = 13;
     this.btnReset.Text     = "&RESET";
     this.btnReset.UseVisualStyleBackColor = true;
     this.btnReset.Click += new EventHandler(this.btnReset_Click);
     //
     // IOWarrior_AdvancedSetupForm
     //
     this.AutoScaleDimensions = new SizeF(6F, 13F);
     this.ClientSize          = new Size(411, 409);
     this.Controls.Add(this.btnReset);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.groupBox1);
     this.Name          = "IOWarrior_AdvancedSetupForm";
     this.StartPosition = FormStartPosition.CenterParent;
     this.Text          = "MiniDisplay - Setup - Advanced Settings";
     this.groupBox1.ResumeLayout(false);
     this.groupBox5.ResumeLayout(false);
     this.groupBox5.PerformLayout();
     this.groupEqualizerOptions.ResumeLayout(false);
     this.groupEqualizerOptions.PerformLayout();
     this.groupEQstyle.ResumeLayout(false);
     this.groupEQstyle.PerformLayout();
     this.ResumeLayout(false);
 }
Exemple #30
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox1                 = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this.IRDelayTextBox            = new MediaPortal.UserInterface.Controls.MPTextBox();
     this.IRDelayLabel              = new MediaPortal.UserInterface.Controls.MPLabel();
     this.browsePathToWinlircButton = new MediaPortal.UserInterface.Controls.MPButton();
     this.pathToWinlircTextBox      = new MediaPortal.UserInterface.Controls.MPTextBox();
     this.PathToWinlircLabel        = new MediaPortal.UserInterface.Controls.MPLabel();
     this.inputCheckBox             = new MediaPortal.UserInterface.Controls.MPCheckBox();
     this.groupBox2                 = new MediaPortal.UserInterface.Controls.MPGroupBox();
     this.infoTextBox               = new MediaPortal.UserInterface.Controls.MPTextBox();
     this.openFileDialog1           = new System.Windows.Forms.OpenFileDialog();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.IRDelayTextBox);
     this.groupBox1.Controls.Add(this.IRDelayLabel);
     this.groupBox1.Controls.Add(this.browsePathToWinlircButton);
     this.groupBox1.Controls.Add(this.pathToWinlircTextBox);
     this.groupBox1.Controls.Add(this.PathToWinlircLabel);
     this.groupBox1.Controls.Add(this.inputCheckBox);
     this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.groupBox1.Location  = new System.Drawing.Point(6, 0);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(462, 112);
     this.groupBox1.TabIndex  = 0;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = "General settings";
     //
     // IRDelayTextBox
     //
     this.IRDelayTextBox.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.IRDelayTextBox.BorderColor = System.Drawing.Color.Empty;
     this.IRDelayTextBox.Location    = new System.Drawing.Point(168, 76);
     this.IRDelayTextBox.Name        = "IRDelayTextBox";
     this.IRDelayTextBox.Size        = new System.Drawing.Size(278, 20);
     this.IRDelayTextBox.TabIndex    = 5;
     this.IRDelayTextBox.Text        = "300";
     //
     // IRDelayLabel
     //
     this.IRDelayLabel.Location = new System.Drawing.Point(16, 80);
     this.IRDelayLabel.Name     = "IRDelayLabel";
     this.IRDelayLabel.Size     = new System.Drawing.Size(88, 16);
     this.IRDelayLabel.TabIndex = 4;
     this.IRDelayLabel.Text     = "IR delay (msec):";
     //
     // browsePathToWinlircButton
     //
     this.browsePathToWinlircButton.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.browsePathToWinlircButton.Location = new System.Drawing.Point(374, 51);
     this.browsePathToWinlircButton.Name     = "browsePathToWinlircButton";
     this.browsePathToWinlircButton.Size     = new System.Drawing.Size(72, 22);
     this.browsePathToWinlircButton.TabIndex = 3;
     this.browsePathToWinlircButton.Text     = "Browse";
     this.browsePathToWinlircButton.UseVisualStyleBackColor = true;
     this.browsePathToWinlircButton.Click += new System.EventHandler(this.browsePathToWinlircButton_Click);
     //
     // pathToWinlircTextBox
     //
     this.pathToWinlircTextBox.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.pathToWinlircTextBox.BorderColor = System.Drawing.Color.Empty;
     this.pathToWinlircTextBox.Location    = new System.Drawing.Point(168, 52);
     this.pathToWinlircTextBox.Name        = "pathToWinlircTextBox";
     this.pathToWinlircTextBox.Size        = new System.Drawing.Size(198, 20);
     this.pathToWinlircTextBox.TabIndex    = 2;
     //
     // PathToWinlircLabel
     //
     this.PathToWinlircLabel.Location = new System.Drawing.Point(16, 56);
     this.PathToWinlircLabel.Name     = "PathToWinlircLabel";
     this.PathToWinlircLabel.Size     = new System.Drawing.Size(96, 16);
     this.PathToWinlircLabel.TabIndex = 1;
     this.PathToWinlircLabel.Text     = "Path to WinLIRC:";
     //
     // inputCheckBox
     //
     this.inputCheckBox.AutoSize  = true;
     this.inputCheckBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.inputCheckBox.Location  = new System.Drawing.Point(16, 24);
     this.inputCheckBox.Name      = "inputCheckBox";
     this.inputCheckBox.Size      = new System.Drawing.Size(246, 17);
     this.inputCheckBox.TabIndex  = 0;
     this.inputCheckBox.Text      = "Enable WINLIRC for output to external devices";
     this.inputCheckBox.UseVisualStyleBackColor = true;
     this.inputCheckBox.CheckedChanged         += new System.EventHandler(this.inputCheckBox_CheckedChanged);
     //
     // groupBox2
     //
     this.groupBox2.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox2.Controls.Add(this.infoTextBox);
     this.groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.groupBox2.Location  = new System.Drawing.Point(6, 120);
     this.groupBox2.Name      = "groupBox2";
     this.groupBox2.Size      = new System.Drawing.Size(462, 288);
     this.groupBox2.TabIndex  = 1;
     this.groupBox2.TabStop   = false;
     this.groupBox2.Text      = "Information";
     //
     // infoTextBox
     //
     this.infoTextBox.Anchor =
         ((System.Windows.Forms.AnchorStyles)
              ((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                | System.Windows.Forms.AnchorStyles.Right)));
     this.infoTextBox.BackColor   = System.Drawing.SystemColors.Control;
     this.infoTextBox.BorderColor = System.Drawing.Color.Empty;
     this.infoTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.infoTextBox.Location    = new System.Drawing.Point(16, 24);
     this.infoTextBox.Multiline   = true;
     this.infoTextBox.Name        = "infoTextBox";
     this.infoTextBox.ReadOnly    = true;
     this.infoTextBox.Size        = new System.Drawing.Size(430, 248);
     this.infoTextBox.TabIndex    = 0;
     this.infoTextBox.WordWrap    = false;
     //
     // RemoteWinLirc
     //
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Name  = "RemoteWinLirc";
     this.Size  = new System.Drawing.Size(472, 408);
     this.Load += new System.EventHandler(this.WINLIRC_Load);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.ResumeLayout(false);
 }