234 lines
9.7 KiB
C#
234 lines
9.7 KiB
C#
namespace KaraokePlayer
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <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.tbFileName = new System.Windows.Forms.TextBox();
|
|
this.btBrowse = new System.Windows.Forms.Button();
|
|
this.OpenFileDialog1 = new System.Windows.Forms.OpenFileDialog();
|
|
this.Timer1 = new System.Windows.Forms.Timer(this.components);
|
|
this.Panel1 = new System.Windows.Forms.Panel();
|
|
this.Label2 = new System.Windows.Forms.Label();
|
|
this.nudKey = new System.Windows.Forms.NumericUpDown();
|
|
this.Label1 = new System.Windows.Forms.Label();
|
|
this.ToolStrip1 = new System.Windows.Forms.ToolStrip();
|
|
this.tsbPlay = new System.Windows.Forms.ToolStripButton();
|
|
this.tsbStop = new System.Windows.Forms.ToolStripButton();
|
|
this.tsbPause = new System.Windows.Forms.ToolStripButton();
|
|
this.trbVolume = new System.Windows.Forms.TrackBar();
|
|
this.Panel2 = new System.Windows.Forms.Panel();
|
|
this.Panel1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudKey)).BeginInit();
|
|
this.ToolStrip1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.trbVolume)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// tbFileName
|
|
//
|
|
this.tbFileName.Location = new System.Drawing.Point(3, 5);
|
|
this.tbFileName.Name = "tbFileName";
|
|
this.tbFileName.ReadOnly = true;
|
|
this.tbFileName.Size = new System.Drawing.Size(309, 20);
|
|
this.tbFileName.TabIndex = 0;
|
|
//
|
|
// btBrowse
|
|
//
|
|
this.btBrowse.Location = new System.Drawing.Point(318, 6);
|
|
this.btBrowse.Name = "btBrowse";
|
|
this.btBrowse.Size = new System.Drawing.Size(75, 23);
|
|
this.btBrowse.TabIndex = 1;
|
|
this.btBrowse.Text = "Browse...";
|
|
this.btBrowse.UseVisualStyleBackColor = true;
|
|
this.btBrowse.Click += new System.EventHandler(this.Button1_Click);
|
|
//
|
|
// OpenFileDialog1
|
|
//
|
|
this.OpenFileDialog1.FileName = "OpenFileDialog1";
|
|
//
|
|
// Timer1
|
|
//
|
|
this.Timer1.Interval = 50;
|
|
//
|
|
// Panel1
|
|
//
|
|
this.Panel1.Controls.Add(this.Label2);
|
|
this.Panel1.Controls.Add(this.nudKey);
|
|
this.Panel1.Controls.Add(this.Label1);
|
|
this.Panel1.Controls.Add(this.ToolStrip1);
|
|
this.Panel1.Controls.Add(this.tbFileName);
|
|
this.Panel1.Controls.Add(this.btBrowse);
|
|
this.Panel1.Controls.Add(this.trbVolume);
|
|
this.Panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.Panel1.Location = new System.Drawing.Point(0, 0);
|
|
this.Panel1.Name = "Panel1";
|
|
this.Panel1.Size = new System.Drawing.Size(397, 61);
|
|
this.Panel1.TabIndex = 3;
|
|
//
|
|
// Label2
|
|
//
|
|
this.Label2.AutoSize = true;
|
|
this.Label2.Location = new System.Drawing.Point(230, 37);
|
|
this.Label2.Name = "Label2";
|
|
this.Label2.Size = new System.Drawing.Size(25, 13);
|
|
this.Label2.TabIndex = 9;
|
|
this.Label2.Text = "Key";
|
|
//
|
|
// nudKey
|
|
//
|
|
this.nudKey.Location = new System.Drawing.Point(261, 35);
|
|
this.nudKey.Maximum = new decimal(new int[] {
|
|
12,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudKey.Minimum = new decimal(new int[] {
|
|
12,
|
|
0,
|
|
0,
|
|
-2147483648});
|
|
this.nudKey.Name = "nudKey";
|
|
this.nudKey.Size = new System.Drawing.Size(50, 20);
|
|
this.nudKey.TabIndex = 8;
|
|
this.nudKey.ValueChanged += new System.EventHandler(this.nudKey_ValueChanged);
|
|
//
|
|
// Label1
|
|
//
|
|
this.Label1.AutoSize = true;
|
|
this.Label1.Location = new System.Drawing.Point(90, 35);
|
|
this.Label1.Name = "Label1";
|
|
this.Label1.Size = new System.Drawing.Size(42, 13);
|
|
this.Label1.TabIndex = 7;
|
|
this.Label1.Text = "Volume";
|
|
//
|
|
// ToolStrip1
|
|
//
|
|
this.ToolStrip1.Dock = System.Windows.Forms.DockStyle.None;
|
|
this.ToolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.tsbPlay,
|
|
this.tsbStop,
|
|
this.tsbPause});
|
|
this.ToolStrip1.Location = new System.Drawing.Point(3, 29);
|
|
this.ToolStrip1.Name = "ToolStrip1";
|
|
this.ToolStrip1.Size = new System.Drawing.Size(81, 25);
|
|
this.ToolStrip1.TabIndex = 2;
|
|
this.ToolStrip1.Text = "ToolStrip1";
|
|
//
|
|
// tsbPlay
|
|
//
|
|
this.tsbPlay.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.tsbPlay.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.tsbPlay.Name = "tsbPlay";
|
|
this.tsbPlay.Size = new System.Drawing.Size(23, 22);
|
|
this.tsbPlay.Text = "Play";
|
|
this.tsbPlay.Click += new System.EventHandler(this.tsbPlay_Click);
|
|
//
|
|
// tsbStop
|
|
//
|
|
this.tsbStop.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.tsbStop.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.tsbStop.Name = "tsbStop";
|
|
this.tsbStop.Size = new System.Drawing.Size(23, 22);
|
|
this.tsbStop.Text = "Stop";
|
|
this.tsbStop.Click += new System.EventHandler(this.tsbStop_Click);
|
|
//
|
|
// tsbPause
|
|
//
|
|
this.tsbPause.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.tsbPause.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.tsbPause.Name = "tsbPause";
|
|
this.tsbPause.Size = new System.Drawing.Size(23, 22);
|
|
this.tsbPause.Text = "Pause";
|
|
this.tsbPause.Click += new System.EventHandler(this.tsbPause_Click);
|
|
//
|
|
// trbVolume
|
|
//
|
|
this.trbVolume.Location = new System.Drawing.Point(131, 34);
|
|
this.trbVolume.Maximum = 100;
|
|
this.trbVolume.Name = "trbVolume";
|
|
this.trbVolume.Size = new System.Drawing.Size(101, 45);
|
|
this.trbVolume.TabIndex = 6;
|
|
this.trbVolume.TickFrequency = 5;
|
|
this.trbVolume.TickStyle = System.Windows.Forms.TickStyle.None;
|
|
this.trbVolume.Value = 100;
|
|
this.trbVolume.Scroll += new System.EventHandler(this.TrackBar1_Scroll);
|
|
//
|
|
// Panel2
|
|
//
|
|
this.Panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.Panel2.Location = new System.Drawing.Point(0, 61);
|
|
this.Panel2.Name = "Panel2";
|
|
this.Panel2.Size = new System.Drawing.Size(397, 0);
|
|
this.Panel2.TabIndex = 4;
|
|
//
|
|
// Form1
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(397, 61);
|
|
this.Controls.Add(this.Panel2);
|
|
this.Controls.Add(this.Panel1);
|
|
this.Name = "Form1";
|
|
this.Text = "MP3+CDG Player";
|
|
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form1_FormClosed);
|
|
this.Load += new System.EventHandler(this.Form1_Load);
|
|
this.Panel1.ResumeLayout(false);
|
|
this.Panel1.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudKey)).EndInit();
|
|
this.ToolStrip1.ResumeLayout(false);
|
|
this.ToolStrip1.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.trbVolume)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
private System.Windows.Forms.TextBox tbFileName;
|
|
private System.Windows.Forms.Button btBrowse;
|
|
private System.Windows.Forms.OpenFileDialog OpenFileDialog1;
|
|
private System.Windows.Forms.Timer Timer1;
|
|
private System.Windows.Forms.Panel Panel1;
|
|
private System.Windows.Forms.Panel Panel2;
|
|
private System.Windows.Forms.ToolStrip ToolStrip1;
|
|
private System.Windows.Forms.ToolStripButton tsbPlay;
|
|
|
|
private System.Windows.Forms.ToolStripButton tsbStop;
|
|
|
|
private System.Windows.Forms.ToolStripButton tsbPause;
|
|
private System.Windows.Forms.Label Label1;
|
|
|
|
private System.Windows.Forms.TrackBar trbVolume;
|
|
|
|
private System.Windows.Forms.Label Label2;
|
|
|
|
private System.Windows.Forms.NumericUpDown nudKey;
|
|
|
|
|
|
#endregion
|
|
}
|
|
}
|
|
|