Beispiel #1
0
 /// <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();
     this.comboBoxChannels      = new MediaPortal.UserInterface.Controls.MPComboBox();
     this.comboBoxBitsPerSample = new MediaPortal.UserInterface.Controls.MPComboBox();
     this.label3            = new MediaPortal.UserInterface.Controls.MPLabel();
     this.label2            = new MediaPortal.UserInterface.Controls.MPLabel();
     this.textBoxSampleRate = new MediaPortal.UserInterface.Controls.MPNumericTextBox();
     this.label1            = new MediaPortal.UserInterface.Controls.MPLabel();
     this.toolTip1          = new System.Windows.Forms.ToolTip(this.components);
     this.errorProvider1    = new System.Windows.Forms.ErrorProvider();
     this.SuspendLayout();
     //
     // comboBoxChannels
     //
     this.comboBoxChannels.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxChannels.Items.AddRange(new object[]
     {
         "MONO",
         "STEREO"
     });
     this.comboBoxChannels.Location              = new System.Drawing.Point(96, 56);
     this.comboBoxChannels.Name                  = "comboBoxChannels";
     this.comboBoxChannels.Size                  = new System.Drawing.Size(112, 21);
     this.comboBoxChannels.TabIndex              = 13;
     this.comboBoxChannels.SelectedIndexChanged += new System.EventHandler(this.comboBoxChannels_SelectedIndexChanged);
     //
     // comboBoxBitsPerSample
     //
     this.comboBoxBitsPerSample.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxBitsPerSample.Items.AddRange(new object[]
     {
         "8 bits per sample",
         "16 bits per sample"
     });
     this.comboBoxBitsPerSample.Location              = new System.Drawing.Point(96, 96);
     this.comboBoxBitsPerSample.Name                  = "comboBoxBitsPerSample";
     this.comboBoxBitsPerSample.Size                  = new System.Drawing.Size(112, 21);
     this.comboBoxBitsPerSample.TabIndex              = 12;
     this.comboBoxBitsPerSample.SelectedIndexChanged +=
         new System.EventHandler(this.comboBoxBitsPerSample_SelectedIndexChanged);
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(16, 96);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(88, 23);
     this.label3.TabIndex = 11;
     this.label3.Text     = "Bits per sample:";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(16, 56);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(72, 16);
     this.label2.TabIndex = 10;
     this.label2.Text     = "Audio mode:";
     //
     // textBoxSampleRate
     //
     this.textBoxSampleRate.Location = new System.Drawing.Point(96, 16);
     this.textBoxSampleRate.Name     = "textBoxSampleRate";
     this.textBoxSampleRate.Size     = new System.Drawing.Size(112, 20);
     this.textBoxSampleRate.TabIndex = 8;
     this.textBoxSampleRate.Text     = "44100";
     this.toolTip1.SetToolTip(this.textBoxSampleRate, "Sample rate, in samples per second. ");
     this.textBoxSampleRate.Value        = 44100;
     this.textBoxSampleRate.FormatValid += new System.EventHandler(this.textBoxSampleRate_FormatValid);
     this.textBoxSampleRate.FormatError += new System.EventHandler(this.textBoxSampleRate_FormatError);
     this.textBoxSampleRate.TextChanged += new System.EventHandler(this.textBoxSampleRate_TextChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(16, 16);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(72, 16);
     this.label1.TabIndex = 9;
     this.label1.Text     = "Sample rate:";
     //
     // errorProvider1
     //
     this.errorProvider1.ContainerControl = this;
     //
     // EditFormat
     //
     this.Controls.Add(this.comboBoxChannels);
     this.Controls.Add(this.comboBoxBitsPerSample);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.textBoxSampleRate);
     this.Controls.Add(this.label1);
     this.Name = "EditFormat";
     this.Size = new System.Drawing.Size(288, 200);
     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);
 }