代码拉取完成,页面将自动刷新
namespace LcAudioApp
{
partial class Form1
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要修改
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.talkBtn = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.listenSpeakBtn = new System.Windows.Forms.Button();
this.ipTb = new System.Windows.Forms.TextBox();
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.volumeInput = new System.Windows.Forms.NumericUpDown();
this.label2 = new System.Windows.Forms.Label();
this.playBtn = new System.Windows.Forms.Button();
this.fileTb = new System.Windows.Forms.TextBox();
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
this.label1 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.wsPortTb = new System.Windows.Forms.TextBox();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.relayBtn = new System.Windows.Forms.Button();
this.sampleFilePath = new System.Windows.Forms.TextBox();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.volumeInput)).BeginInit();
this.groupBox3.SuspendLayout();
this.SuspendLayout();
//
// talkBtn
//
this.talkBtn.Location = new System.Drawing.Point(8, 23);
this.talkBtn.Name = "talkBtn";
this.talkBtn.Size = new System.Drawing.Size(143, 23);
this.talkBtn.TabIndex = 0;
this.talkBtn.Text = "打开";
this.talkBtn.UseVisualStyleBackColor = true;
this.talkBtn.Click += new System.EventHandler(this.talkBtn_Click);
//
// groupBox1
//
this.groupBox1.Controls.Add(this.listenSpeakBtn);
this.groupBox1.Controls.Add(this.talkBtn);
this.groupBox1.Location = new System.Drawing.Point(27, 101);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(258, 65);
this.groupBox1.TabIndex = 1;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "对讲";
//
// listenSpeakBtn
//
this.listenSpeakBtn.Enabled = false;
this.listenSpeakBtn.Location = new System.Drawing.Point(166, 23);
this.listenSpeakBtn.Name = "listenSpeakBtn";
this.listenSpeakBtn.Size = new System.Drawing.Size(55, 23);
this.listenSpeakBtn.TabIndex = 1;
this.listenSpeakBtn.Text = "听/说";
this.listenSpeakBtn.UseVisualStyleBackColor = true;
this.listenSpeakBtn.Click += new System.EventHandler(this.listenSpeakBtn_Click);
//
// ipTb
//
this.ipTb.Location = new System.Drawing.Point(102, 60);
this.ipTb.Name = "ipTb";
this.ipTb.Size = new System.Drawing.Size(103, 21);
this.ipTb.TabIndex = 1;
this.ipTb.Text = "192.168.1.40";
//
// notifyIcon1
//
this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
this.notifyIcon1.Visible = true;
this.notifyIcon1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon1_MouseDoubleClick);
//
// groupBox2
//
this.groupBox2.Controls.Add(this.volumeInput);
this.groupBox2.Controls.Add(this.label2);
this.groupBox2.Controls.Add(this.playBtn);
this.groupBox2.Controls.Add(this.fileTb);
this.groupBox2.Location = new System.Drawing.Point(27, 183);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(258, 108);
this.groupBox2.TabIndex = 2;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "播放";
//
// volumeInput
//
this.volumeInput.Location = new System.Drawing.Point(106, 68);
this.volumeInput.Name = "volumeInput";
this.volumeInput.Size = new System.Drawing.Size(45, 21);
this.volumeInput.TabIndex = 7;
this.volumeInput.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.volumeInput.Value = new decimal(new int[] {
90,
0,
0,
0});
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(6, 70);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(71, 12);
this.label2.TabIndex = 6;
this.label2.Text = "音量(0-100)";
//
// playBtn
//
this.playBtn.Location = new System.Drawing.Point(166, 28);
this.playBtn.Name = "playBtn";
this.playBtn.Size = new System.Drawing.Size(75, 23);
this.playBtn.TabIndex = 4;
this.playBtn.Text = "播放";
this.playBtn.UseVisualStyleBackColor = true;
this.playBtn.Click += new System.EventHandler(this.playBtn_Click);
//
// fileTb
//
this.fileTb.Location = new System.Drawing.Point(6, 30);
this.fileTb.Name = "fileTb";
this.fileTb.Size = new System.Drawing.Size(145, 21);
this.fileTb.TabIndex = 3;
this.fileTb.Text = "巡检避让提醒-女.wav";
//
// openFileDialog1
//
this.openFileDialog1.DereferenceLinks = false;
this.openFileDialog1.FileName = "openFileDialog1";
this.openFileDialog1.Filter = "*.WAV|*.WAV";
this.openFileDialog1.RestoreDirectory = true;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(31, 63);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(41, 12);
this.label1.TabIndex = 3;
this.label1.Text = "设备IP";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(31, 24);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(65, 12);
this.label3.TabIndex = 4;
this.label3.Text = "WS监听端口";
//
// wsPortTb
//
this.wsPortTb.Location = new System.Drawing.Point(102, 21);
this.wsPortTb.Name = "wsPortTb";
this.wsPortTb.ReadOnly = true;
this.wsPortTb.Size = new System.Drawing.Size(59, 21);
this.wsPortTb.TabIndex = 5;
//
// groupBox3
//
this.groupBox3.Controls.Add(this.sampleFilePath);
this.groupBox3.Controls.Add(this.relayBtn);
this.groupBox3.Location = new System.Drawing.Point(27, 306);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(258, 60);
this.groupBox3.TabIndex = 6;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "中继";
//
// relayBtn
//
this.relayBtn.Location = new System.Drawing.Point(166, 21);
this.relayBtn.Name = "relayBtn";
this.relayBtn.Size = new System.Drawing.Size(75, 23);
this.relayBtn.TabIndex = 0;
this.relayBtn.Text = "打开";
this.relayBtn.UseVisualStyleBackColor = true;
this.relayBtn.Click += new System.EventHandler(this.relayBtn_Click);
//
// sampleFilePath
//
this.sampleFilePath.Location = new System.Drawing.Point(8, 21);
this.sampleFilePath.Name = "sampleFilePath";
this.sampleFilePath.Size = new System.Drawing.Size(145, 21);
this.sampleFilePath.TabIndex = 4;
this.sampleFilePath.Text = "D:\\声音样本.pcm";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(314, 378);
this.Controls.Add(this.groupBox3);
this.Controls.Add(this.wsPortTb);
this.Controls.Add(this.label3);
this.Controls.Add(this.label1);
this.Controls.Add(this.ipTb);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.Name = "Form1";
this.Text = "Lc音频应用程序";
this.WindowState = System.Windows.Forms.FormWindowState.Minimized;
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
this.Load += new System.EventHandler(this.Form1_Load);
this.Shown += new System.EventHandler(this.Form1_Shown);
this.groupBox1.ResumeLayout(false);
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.volumeInput)).EndInit();
this.groupBox3.ResumeLayout(false);
this.groupBox3.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button talkBtn;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.TextBox ipTb;
private System.Windows.Forms.NotifyIcon notifyIcon1;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.Button playBtn;
private System.Windows.Forms.TextBox fileTb;
private System.Windows.Forms.OpenFileDialog openFileDialog1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.NumericUpDown volumeInput;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox wsPortTb;
private System.Windows.Forms.Button listenSpeakBtn;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.Button relayBtn;
private System.Windows.Forms.TextBox sampleFilePath;
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。