示例#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 System.Windows.Forms.ComboBox();
      this.comboBoxBitsPerSample = new System.Windows.Forms.ComboBox();
      this.label3 = new System.Windows.Forms.Label();
      this.label2 = new System.Windows.Forms.Label();
      this.textBoxSampleRate = new Yeti.Controls.NumericTextBox();
      this.label1 = new System.Windows.Forms.Label();
      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);

    }
示例#2
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 System.Windows.Forms.ComboBox();
     this.comboBoxBitsPerSample = new System.Windows.Forms.ComboBox();
     this.label3            = new System.Windows.Forms.Label();
     this.label2            = new System.Windows.Forms.Label();
     this.textBoxSampleRate = new Yeti.Controls.NumericTextBox();
     this.label1            = new System.Windows.Forms.Label();
     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);
 }