📄 formavwizard.cs
字号:
this.pvideo.Controls.Add(this.btnadvance);
this.pvideo.Controls.Add(this.label1);
this.pvideo.Controls.Add(this.pnlpreview);
this.pvideo.Location = new System.Drawing.Point(4, 21);
this.pvideo.Name = "pvideo";
this.pvideo.Size = new System.Drawing.Size(352, 196);
this.pvideo.TabIndex = 0;
this.pvideo.Text = "视频设置";
//
// cmbvideoDevice
//
this.cmbvideoDevice.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbvideoDevice.Location = new System.Drawing.Point(192, 48);
this.cmbvideoDevice.Name = "cmbvideoDevice";
this.cmbvideoDevice.Size = new System.Drawing.Size(152, 20);
this.cmbvideoDevice.TabIndex = 4;
//
// btnadvance
//
this.btnadvance.Anchor = System.Windows.Forms.AnchorStyles.None;
this.btnadvance.Location = new System.Drawing.Point(192, 92);
this.btnadvance.Name = "btnadvance";
this.btnadvance.Size = new System.Drawing.Size(80, 23);
this.btnadvance.TabIndex = 3;
this.btnadvance.Text = "高级";
this.btnadvance.Click += new System.EventHandler(this.btnadvance_Click);
//
// label1
//
this.label1.Anchor = System.Windows.Forms.AnchorStyles.None;
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(191, 22);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(66, 17);
this.label1.TabIndex = 1;
this.label1.Text = "视频设备:";
//
// pnlpreview
//
this.pnlpreview.Anchor = System.Windows.Forms.AnchorStyles.None;
this.pnlpreview.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.pnlpreview.Location = new System.Drawing.Point(16, 23);
this.pnlpreview.Name = "pnlpreview";
this.pnlpreview.Size = new System.Drawing.Size(160, 120);
this.pnlpreview.TabIndex = 0;
//
// paudio
//
this.paudio.Controls.Add(this.cmboutput);
this.paudio.Controls.Add(this.cmbintput);
this.paudio.Controls.Add(this.pictureBox1);
this.paudio.Controls.Add(this.label4);
this.paudio.Controls.Add(this.label2);
this.paudio.Controls.Add(this.label3);
this.paudio.Controls.Add(this.label6);
this.paudio.Controls.Add(this.trackBarInVolume);
this.paudio.Controls.Add(this.trackBarOutVolume);
this.paudio.Controls.Add(this.label5);
this.paudio.Location = new System.Drawing.Point(4, 21);
this.paudio.Name = "paudio";
this.paudio.Size = new System.Drawing.Size(352, 196);
this.paudio.TabIndex = 1;
this.paudio.Text = "音频设置";
//
// cmboutput
//
this.cmboutput.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmboutput.Location = new System.Drawing.Point(87, 80);
this.cmboutput.Name = "cmboutput";
this.cmboutput.Size = new System.Drawing.Size(232, 20);
this.cmboutput.TabIndex = 16;
//
// cmbintput
//
this.cmbintput.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbintput.Location = new System.Drawing.Point(87, 18);
this.cmbintput.Name = "cmbintput";
this.cmbintput.Size = new System.Drawing.Size(232, 20);
this.cmbintput.TabIndex = 15;
//
// pictureBox1
//
this.pictureBox1.Anchor = System.Windows.Forms.AnchorStyles.None;
this.pictureBox1.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(224)), ((System.Byte)(192)));
this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.pictureBox1.Location = new System.Drawing.Point(87, 151);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(232, 24);
this.pictureBox1.TabIndex = 14;
this.pictureBox1.TabStop = false;
//
// label4
//
this.label4.Anchor = System.Windows.Forms.AnchorStyles.None;
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(22, 49);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(66, 17);
this.label4.TabIndex = 7;
this.label4.Text = "录音音量:";
//
// label2
//
this.label2.Anchor = System.Windows.Forms.AnchorStyles.None;
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(23, 20);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(66, 17);
this.label2.TabIndex = 5;
this.label2.Text = "录音设备:";
//
// label3
//
this.label3.Anchor = System.Windows.Forms.AnchorStyles.None;
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(23, 86);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(66, 17);
this.label3.TabIndex = 6;
this.label3.Text = "播放设备:";
//
// label6
//
this.label6.Anchor = System.Windows.Forms.AnchorStyles.None;
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(15, 159);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(79, 17);
this.label6.TabIndex = 17;
this.label6.Text = "音量波形图:";
//
// trackBarInVolume
//
this.trackBarInVolume.Location = new System.Drawing.Point(88, 40);
this.trackBarInVolume.Name = "trackBarInVolume";
this.trackBarInVolume.Size = new System.Drawing.Size(232, 42);
this.trackBarInVolume.TabIndex = 18;
this.trackBarInVolume.Scroll += new System.EventHandler(this.trackBarInVolume_Scroll);
//
// trackBarOutVolume
//
this.trackBarOutVolume.Location = new System.Drawing.Point(85, 109);
this.trackBarOutVolume.Name = "trackBarOutVolume";
this.trackBarOutVolume.Size = new System.Drawing.Size(232, 42);
this.trackBarOutVolume.TabIndex = 19;
this.trackBarOutVolume.Scroll += new System.EventHandler(this.trackBarOutVolume_Scroll);
//
// label5
//
this.label5.Anchor = System.Windows.Forms.AnchorStyles.None;
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(23, 114);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(66, 17);
this.label5.TabIndex = 8;
this.label5.Text = "播放音量:";
//
// btnsave
//
this.btnsave.Anchor = System.Windows.Forms.AnchorStyles.None;
this.btnsave.Location = new System.Drawing.Point(296, 224);
this.btnsave.Name = "btnsave";
this.btnsave.Size = new System.Drawing.Size(56, 24);
this.btnsave.TabIndex = 4;
this.btnsave.Text = "确定";
this.btnsave.Click += new System.EventHandler(this.btnsave_Click);
//
// btncancel
//
this.btncancel.Anchor = System.Windows.Forms.AnchorStyles.None;
this.btncancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btncancel.Location = new System.Drawing.Point(229, 225);
this.btncancel.Name = "btncancel";
this.btncancel.Size = new System.Drawing.Size(56, 23);
this.btncancel.TabIndex = 5;
this.btncancel.Text = "取消";
this.btncancel.Click += new System.EventHandler(this.btncancel_Click);
//
// FormAVWizard
//
this.AcceptButton = this.btnsave;
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.CancelButton = this.btncancel;
this.ClientSize = new System.Drawing.Size(360, 253);
this.Controls.Add(this.btncancel);
this.Controls.Add(this.ts);
this.Controls.Add(this.btnsave);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "FormAVWizard";
this.Text = "AV调节向导";
this.Load += new System.EventHandler(this.FormAVWizard_Load);
this.ts.ResumeLayout(false);
this.pvideo.ResumeLayout(false);
this.paudio.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.trackBarInVolume)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.trackBarOutVolume)).EndInit();
this.ResumeLayout(false);
}
#endregion
private void btnadvance_Click(object sender, System.EventArgs e)
{
this.vc.ShowVideoSource();
}
private void btncancel_Click(object sender, System.EventArgs e)
{
this.Close();
}
private void btnsave_Click(object sender, System.EventArgs e)
{
this.Close();
}
private void trackBarInVolume_Scroll(object sender, System.EventArgs e)
{
this.indtl.Volume=trackBarInVolume.Value;
}
private void trackBarOutVolume_Scroll(object sender, System.EventArgs e)
{
this.outdtl.Volume=trackBarOutVolume.Value;
}
private void FormAVWizard_Load(object sender, System.EventArgs e)
{
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -