private void InitializeComponent() { components = new Container(); btnPlay = new Button(); btnRewind = new Button(); chkLoop = new CheckBox(); lblProgress = new Label(); tmrUpdate = new Timer(components); lstStreams = new ComboBox(); panel2 = new Panel(); trackBarVolume = new CustomTrackBar(); trackBarPosition = new CustomTrackBar(); panel2.SuspendLayout(); ((ISupportInitialize)trackBarVolume).BeginInit(); ((ISupportInitialize)trackBarPosition).BeginInit(); SuspendLayout(); // // btnPlay // btnPlay.Location = new Drawing.Point(35, 4); btnPlay.Name = "btnPlay"; btnPlay.Size = new Drawing.Size(73, 20); btnPlay.TabIndex = 1; btnPlay.Text = "Play"; btnPlay.UseVisualStyleBackColor = true; btnPlay.Click += new EventHandler(btnPlay_Click); // // btnRewind // btnRewind.Location = new Drawing.Point(5, 4); btnRewind.Name = "btnRewind"; btnRewind.Size = new Drawing.Size(24, 20); btnRewind.TabIndex = 2; btnRewind.Text = "|<"; btnRewind.UseVisualStyleBackColor = true; btnRewind.Click += new EventHandler(btnRewind_Click); // // chkLoop // chkLoop.Location = new Drawing.Point(114, 5); chkLoop.Name = "chkLoop"; chkLoop.Size = new Drawing.Size(50, 20); chkLoop.TabIndex = 3; chkLoop.Text = "Loop"; chkLoop.UseVisualStyleBackColor = true; chkLoop.CheckedChanged += new EventHandler(chkLoop_CheckedChanged); // // lblProgress // lblProgress.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; lblProgress.Location = new Drawing.Point(0, 31); lblProgress.Name = "lblProgress"; lblProgress.Size = new Drawing.Size(377, 23); lblProgress.TabIndex = 4; lblProgress.Text = "0/0"; lblProgress.TextAlign = Drawing.ContentAlignment.MiddleCenter; // // tmrUpdate // tmrUpdate.Interval = 10; tmrUpdate.Tick += new EventHandler(tmrUpdate_Tick); // // lstStreams // lstStreams.Anchor = AnchorStyles.Top | AnchorStyles.Bottom; lstStreams.DropDownStyle = ComboBoxStyle.DropDownList; lstStreams.FormattingEnabled = true; lstStreams.Location = new Drawing.Point(219, 34); lstStreams.Name = "lstStreams"; lstStreams.Size = new Drawing.Size(73, 21); lstStreams.TabIndex = 5; lstStreams.SelectedIndexChanged += new EventHandler(lstStreams_SelectedIndexChanged); // // panel2 // panel2.Anchor = AnchorStyles.Top; panel2.Controls.Add(btnPlay); panel2.Controls.Add(btnRewind); panel2.Controls.Add(chkLoop); panel2.Location = new Drawing.Point(116, 61); panel2.Name = "panel2"; panel2.Size = new Drawing.Size(167, 30); panel2.TabIndex = 9; // // trackBarVolume // trackBarVolume.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Right; trackBarVolume.Location = new Drawing.Point(329, 31); trackBarVolume.Maximum = 100; trackBarVolume.Name = "trackBarVolume"; trackBarVolume.Orientation = Orientation.Vertical; trackBarVolume.Size = new Drawing.Size(45, 89); trackBarVolume.TabIndex = 6; trackBarVolume.TickFrequency = 25; trackBarVolume.Value = 100; trackBarVolume.ValueChanged += new EventHandler(customTrackBar1_ValueChanged); // // trackBarPosition // trackBarPosition.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; trackBarPosition.Location = new Drawing.Point(0, 4); trackBarPosition.Name = "trackBarPosition"; trackBarPosition.Size = new Drawing.Size(377, 45); trackBarPosition.TabIndex = 0; trackBarPosition.TickFrequency = 2; trackBarPosition.UserSeek += new EventHandler(trackBar1_UserSeek); trackBarPosition.ValueChanged += new EventHandler(trackBar1_ValueChanged); // // AudioPlaybackPanel // Controls.Add(lstStreams); Controls.Add(panel2); Controls.Add(trackBarVolume); Controls.Add(lblProgress); Controls.Add(trackBarPosition); Name = "AudioPlaybackPanel"; Size = new Drawing.Size(377, 120); panel2.ResumeLayout(false); ((ISupportInitialize)trackBarVolume).EndInit(); ((ISupportInitialize)trackBarPosition).EndInit(); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.btnOkay = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); this.txtPath = new System.Windows.Forms.TextBox(); this.btnBrowse = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.lblSamples = new System.Windows.Forms.Label(); this.lblFrequency = new System.Windows.Forms.Label(); this.lblText2 = new System.Windows.Forms.Label(); this.lblText1 = new System.Windows.Forms.Label(); this.lblPlayTime = new System.Windows.Forms.Label(); this.btnPlay = new System.Windows.Forms.Button(); this.btnRewind = new System.Windows.Forms.Button(); this.pnlInfo = new System.Windows.Forms.Panel(); this.panel4 = new System.Windows.Forms.Panel(); this.pnlEdit = new System.Windows.Forms.Panel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.chkLoop = new System.Windows.Forms.CheckBox(); this.pnlLoop = new System.Windows.Forms.Panel(); this.spltEnd = new System.Windows.Forms.Splitter(); this.pnlLoopEnd = new System.Windows.Forms.Panel(); this.spltStart = new System.Windows.Forms.Splitter(); this.pnlLoopStart = new System.Windows.Forms.Panel(); this.customTrackBar1 = new System.Windows.Forms.CustomTrackBar(); this.grpLoop = new System.Windows.Forms.GroupBox(); this.btnEndSet = new System.Windows.Forms.Button(); this.btnStartSet = new System.Windows.Forms.Button(); this.numLoopStart = new System.Windows.Forms.NumericUpDown(); this.numLoopEnd = new System.Windows.Forms.NumericUpDown(); this.lblEnd = new System.Windows.Forms.Label(); this.lblStart = new System.Windows.Forms.Label(); this.panel3 = new System.Windows.Forms.Panel(); this.chkLoopEnable = new System.Windows.Forms.CheckBox(); this.dlgOpen = new System.Windows.Forms.OpenFileDialog(); this.tmrUpdate = new System.Windows.Forms.Timer(this.components); this.btnFFwd = new System.Windows.Forms.Button(); this.btnLoopRW = new System.Windows.Forms.Button(); this.btnSeekEnd = new System.Windows.Forms.Button(); this.groupBox1.SuspendLayout(); this.pnlInfo.SuspendLayout(); this.panel4.SuspendLayout(); this.pnlEdit.SuspendLayout(); this.groupBox2.SuspendLayout(); this.pnlLoop.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.customTrackBar1)).BeginInit(); this.grpLoop.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numLoopStart)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numLoopEnd)).BeginInit(); this.panel3.SuspendLayout(); this.SuspendLayout(); // // btnOkay // this.btnOkay.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnOkay.Enabled = false; this.btnOkay.Location = new System.Drawing.Point(3, 3); this.btnOkay.Name = "btnOkay"; this.btnOkay.Size = new System.Drawing.Size(75, 23); this.btnOkay.TabIndex = 0; this.btnOkay.Text = "Okay"; this.btnOkay.UseVisualStyleBackColor = true; this.btnOkay.Click += new System.EventHandler(this.btnOkay_Click); // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.Location = new System.Drawing.Point(80, 3); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 1; this.btnCancel.Text = "Cancel"; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // txtPath // this.txtPath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtPath.Location = new System.Drawing.Point(0, 0); this.txtPath.Name = "txtPath"; this.txtPath.ReadOnly = true; this.txtPath.Size = new System.Drawing.Size(292, 20); this.txtPath.TabIndex = 2; // // btnBrowse // this.btnBrowse.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnBrowse.Location = new System.Drawing.Point(297, 0); this.btnBrowse.Name = "btnBrowse"; this.btnBrowse.Size = new System.Drawing.Size(25, 20); this.btnBrowse.TabIndex = 3; this.btnBrowse.Text = "..."; this.btnBrowse.UseVisualStyleBackColor = true; this.btnBrowse.Click += new System.EventHandler(this.btnBrowse_Click); // // groupBox1 // this.groupBox1.Controls.Add(this.lblSamples); this.groupBox1.Controls.Add(this.lblFrequency); this.groupBox1.Controls.Add(this.lblText2); this.groupBox1.Controls.Add(this.lblText1); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(158, 153); this.groupBox1.TabIndex = 5; this.groupBox1.TabStop = false; this.groupBox1.Text = "File Info"; // // lblSamples // this.lblSamples.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblSamples.Location = new System.Drawing.Point(84, 36); this.lblSamples.Name = "lblSamples"; this.lblSamples.Size = new System.Drawing.Size(68, 20); this.lblSamples.TabIndex = 3; this.lblSamples.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblFrequency // this.lblFrequency.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblFrequency.Location = new System.Drawing.Point(84, 16); this.lblFrequency.Name = "lblFrequency"; this.lblFrequency.Size = new System.Drawing.Size(68, 20); this.lblFrequency.TabIndex = 2; this.lblFrequency.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblText2 // this.lblText2.Location = new System.Drawing.Point(6, 36); this.lblText2.Name = "lblText2"; this.lblText2.Size = new System.Drawing.Size(72, 20); this.lblText2.TabIndex = 1; this.lblText2.Text = "Samples :"; this.lblText2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // lblText1 // this.lblText1.Location = new System.Drawing.Point(6, 16); this.lblText1.Name = "lblText1"; this.lblText1.Size = new System.Drawing.Size(72, 20); this.lblText1.TabIndex = 0; this.lblText1.Text = "Frequency :"; this.lblText1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // lblPlayTime // this.lblPlayTime.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblPlayTime.Location = new System.Drawing.Point(6, 63); this.lblPlayTime.Name = "lblPlayTime"; this.lblPlayTime.Size = new System.Drawing.Size(314, 20); this.lblPlayTime.TabIndex = 6; this.lblPlayTime.Text = "0 / 0"; this.lblPlayTime.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // btnPlay // this.btnPlay.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btnPlay.Location = new System.Drawing.Point(126, 86); this.btnPlay.Name = "btnPlay"; this.btnPlay.Size = new System.Drawing.Size(75, 20); this.btnPlay.TabIndex = 7; this.btnPlay.Text = "Play"; this.btnPlay.UseVisualStyleBackColor = true; this.btnPlay.Click += new System.EventHandler(this.btnPlay_Click); // // btnRewind // this.btnRewind.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btnRewind.Location = new System.Drawing.Point(72, 86); this.btnRewind.Name = "btnRewind"; this.btnRewind.Size = new System.Drawing.Size(26, 20); this.btnRewind.TabIndex = 8; this.btnRewind.Text = "|<"; this.btnRewind.UseVisualStyleBackColor = true; this.btnRewind.Click += new System.EventHandler(this.btnRewind_Click); // // pnlInfo // this.pnlInfo.Controls.Add(this.groupBox1); this.pnlInfo.Controls.Add(this.panel4); this.pnlInfo.Dock = System.Windows.Forms.DockStyle.Right; this.pnlInfo.Location = new System.Drawing.Point(326, 0); this.pnlInfo.Name = "pnlInfo"; this.pnlInfo.Size = new System.Drawing.Size(158, 182); this.pnlInfo.TabIndex = 9; // // panel4 // this.panel4.Controls.Add(this.btnOkay); this.panel4.Controls.Add(this.btnCancel); this.panel4.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel4.Location = new System.Drawing.Point(0, 153); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(158, 29); this.panel4.TabIndex = 6; // // pnlEdit // this.pnlEdit.Controls.Add(this.groupBox2); this.pnlEdit.Controls.Add(this.grpLoop); this.pnlEdit.Controls.Add(this.panel3); this.pnlEdit.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlEdit.Location = new System.Drawing.Point(0, 0); this.pnlEdit.Name = "pnlEdit"; this.pnlEdit.Size = new System.Drawing.Size(326, 182); this.pnlEdit.TabIndex = 10; // // groupBox2 // this.groupBox2.Controls.Add(this.btnSeekEnd); this.groupBox2.Controls.Add(this.btnLoopRW); this.groupBox2.Controls.Add(this.btnFFwd); this.groupBox2.Controls.Add(this.chkLoop); this.groupBox2.Controls.Add(this.lblPlayTime); this.groupBox2.Controls.Add(this.pnlLoop); this.groupBox2.Controls.Add(this.btnRewind); this.groupBox2.Controls.Add(this.btnPlay); this.groupBox2.Controls.Add(this.customTrackBar1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 65); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(326, 117); this.groupBox2.TabIndex = 13; this.groupBox2.TabStop = false; this.groupBox2.Text = "Playback"; // // chkLoop // this.chkLoop.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.chkLoop.Enabled = false; this.chkLoop.Location = new System.Drawing.Point(10, 86); this.chkLoop.Name = "chkLoop"; this.chkLoop.Size = new System.Drawing.Size(52, 20); this.chkLoop.TabIndex = 10; this.chkLoop.Text = "Loop"; this.chkLoop.UseVisualStyleBackColor = true; this.chkLoop.CheckedChanged += new System.EventHandler(this.chkLoop_CheckedChanged); // // pnlLoop // this.pnlLoop.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.pnlLoop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); this.pnlLoop.Controls.Add(this.spltEnd); this.pnlLoop.Controls.Add(this.pnlLoopEnd); this.pnlLoop.Controls.Add(this.spltStart); this.pnlLoop.Controls.Add(this.pnlLoopStart); this.pnlLoop.Location = new System.Drawing.Point(18, 50); this.pnlLoop.Name = "pnlLoop"; this.pnlLoop.Size = new System.Drawing.Size(290, 12); this.pnlLoop.TabIndex = 9; this.pnlLoop.Visible = false; // // spltEnd // this.spltEnd.BackColor = System.Drawing.Color.Red; this.spltEnd.Dock = System.Windows.Forms.DockStyle.Right; this.spltEnd.Location = new System.Drawing.Point(287, 0); this.spltEnd.MinExtra = 0; this.spltEnd.MinSize = 0; this.spltEnd.Name = "spltEnd"; this.spltEnd.Size = new System.Drawing.Size(3, 12); this.spltEnd.TabIndex = 3; this.spltEnd.TabStop = false; // // pnlLoopEnd // this.pnlLoopEnd.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); this.pnlLoopEnd.Dock = System.Windows.Forms.DockStyle.Right; this.pnlLoopEnd.Location = new System.Drawing.Point(290, 0); this.pnlLoopEnd.Name = "pnlLoopEnd"; this.pnlLoopEnd.Size = new System.Drawing.Size(0, 12); this.pnlLoopEnd.TabIndex = 2; this.pnlLoopEnd.SizeChanged += new System.EventHandler(this.pnlLoopEnd_SizeChanged); // // spltStart // this.spltStart.BackColor = System.Drawing.Color.Yellow; this.spltStart.Location = new System.Drawing.Point(0, 0); this.spltStart.MinExtra = 0; this.spltStart.MinSize = 0; this.spltStart.Name = "spltStart"; this.spltStart.Size = new System.Drawing.Size(3, 12); this.spltStart.TabIndex = 0; this.spltStart.TabStop = false; // // pnlLoopStart // this.pnlLoopStart.BackColor = System.Drawing.Color.YellowGreen; this.pnlLoopStart.Dock = System.Windows.Forms.DockStyle.Left; this.pnlLoopStart.Location = new System.Drawing.Point(0, 0); this.pnlLoopStart.Name = "pnlLoopStart"; this.pnlLoopStart.Size = new System.Drawing.Size(0, 12); this.pnlLoopStart.TabIndex = 1; this.pnlLoopStart.SizeChanged += new System.EventHandler(this.pnlLoopStart_SizeChanged); // // customTrackBar1 // this.customTrackBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.customTrackBar1.Location = new System.Drawing.Point(6, 19); this.customTrackBar1.Name = "customTrackBar1"; this.customTrackBar1.Size = new System.Drawing.Size(314, 45); this.customTrackBar1.TabIndex = 4; this.customTrackBar1.UserSeek += new System.EventHandler(this.customTrackBar1_UserSeek); this.customTrackBar1.ValueChanged += new System.EventHandler(this.customTrackBar1_ValueChanged); // // grpLoop // this.grpLoop.Controls.Add(this.btnEndSet); this.grpLoop.Controls.Add(this.btnStartSet); this.grpLoop.Controls.Add(this.numLoopStart); this.grpLoop.Controls.Add(this.numLoopEnd); this.grpLoop.Controls.Add(this.lblEnd); this.grpLoop.Controls.Add(this.lblStart); this.grpLoop.Dock = System.Windows.Forms.DockStyle.Top; this.grpLoop.Enabled = false; this.grpLoop.Location = new System.Drawing.Point(0, 20); this.grpLoop.Name = "grpLoop"; this.grpLoop.Size = new System.Drawing.Size(326, 45); this.grpLoop.TabIndex = 15; this.grpLoop.TabStop = false; this.grpLoop.Text = "Loop"; // // btnEndSet // this.btnEndSet.Location = new System.Drawing.Point(289, 19); this.btnEndSet.Name = "btnEndSet"; this.btnEndSet.Size = new System.Drawing.Size(15, 20); this.btnEndSet.TabIndex = 13; this.btnEndSet.Text = "*"; this.btnEndSet.UseVisualStyleBackColor = true; this.btnEndSet.Click += new System.EventHandler(this.btnEndSet_Click); // // btnStartSet // this.btnStartSet.Location = new System.Drawing.Point(141, 19); this.btnStartSet.Name = "btnStartSet"; this.btnStartSet.Size = new System.Drawing.Size(15, 20); this.btnStartSet.TabIndex = 4; this.btnStartSet.Text = "*"; this.btnStartSet.UseVisualStyleBackColor = true; this.btnStartSet.Click += new System.EventHandler(this.btnStartSet_Click); // // numLoopStart // this.numLoopStart.Increment = new decimal(new int[] { 14, 0, 0, 0 }); this.numLoopStart.Location = new System.Drawing.Point(59, 19); this.numLoopStart.Name = "numLoopStart"; this.numLoopStart.Size = new System.Drawing.Size(81, 20); this.numLoopStart.TabIndex = 10; this.numLoopStart.ValueChanged += new System.EventHandler(this.numLoopStart_ValueChanged); // // numLoopEnd // this.numLoopEnd.Increment = new decimal(new int[] { 14, 0, 0, 0 }); this.numLoopEnd.Location = new System.Drawing.Point(207, 19); this.numLoopEnd.Name = "numLoopEnd"; this.numLoopEnd.Size = new System.Drawing.Size(81, 20); this.numLoopEnd.TabIndex = 11; this.numLoopEnd.ValueChanged += new System.EventHandler(this.numLoopEnd_ValueChanged); // // lblEnd // this.lblEnd.Location = new System.Drawing.Point(160, 19); this.lblEnd.Name = "lblEnd"; this.lblEnd.Size = new System.Drawing.Size(41, 20); this.lblEnd.TabIndex = 2; this.lblEnd.Text = "End:"; this.lblEnd.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // lblStart // this.lblStart.Location = new System.Drawing.Point(13, 19); this.lblStart.Name = "lblStart"; this.lblStart.Size = new System.Drawing.Size(40, 20); this.lblStart.TabIndex = 12; this.lblStart.Text = "Start:"; this.lblStart.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // panel3 // this.panel3.Controls.Add(this.txtPath); this.panel3.Controls.Add(this.btnBrowse); this.panel3.Dock = System.Windows.Forms.DockStyle.Top; this.panel3.Location = new System.Drawing.Point(0, 0); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(326, 20); this.panel3.TabIndex = 14; // // chkLoopEnable // this.chkLoopEnable.Location = new System.Drawing.Point(49, 18); this.chkLoopEnable.Name = "chkLoopEnable"; this.chkLoopEnable.Size = new System.Drawing.Size(64, 20); this.chkLoopEnable.TabIndex = 13; this.chkLoopEnable.Text = "Enable"; this.chkLoopEnable.UseVisualStyleBackColor = true; this.chkLoopEnable.CheckedChanged += new System.EventHandler(this.chkLoopEnable_CheckedChanged); // // tmrUpdate // this.tmrUpdate.Interval = 1000 / 60; this.tmrUpdate.Tick += new System.EventHandler(this.tmrUpdate_Tick); // // btnFFwd // this.btnFFwd.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btnFFwd.Enabled = false; this.btnFFwd.Location = new System.Drawing.Point(202, 86); this.btnFFwd.Name = "btnFFwd"; this.btnFFwd.Size = new System.Drawing.Size(26, 20); this.btnFFwd.TabIndex = 11; this.btnFFwd.Text = ">"; this.btnFFwd.UseVisualStyleBackColor = true; this.btnFFwd.Click += new System.EventHandler(this.btnFFwd_Click); // // btnLoopRW // this.btnLoopRW.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btnLoopRW.Enabled = false; this.btnLoopRW.Location = new System.Drawing.Point(99, 86); this.btnLoopRW.Name = "btnLoopRW"; this.btnLoopRW.Size = new System.Drawing.Size(26, 20); this.btnLoopRW.TabIndex = 12; this.btnLoopRW.Text = "<"; this.btnLoopRW.UseVisualStyleBackColor = true; this.btnLoopRW.Click += new System.EventHandler(this.btnLoopRW_Click); // // btnSeekEnd // this.btnSeekEnd.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btnSeekEnd.Location = new System.Drawing.Point(229, 86); this.btnSeekEnd.Name = "btnSeekEnd"; this.btnSeekEnd.Size = new System.Drawing.Size(26, 20); this.btnSeekEnd.TabIndex = 13; this.btnSeekEnd.Text = ">|"; this.btnSeekEnd.UseVisualStyleBackColor = true; this.btnSeekEnd.Click += new System.EventHandler(this.btnSeekEnd_Click); // // BrstmConverterDialog // this.ClientSize = new System.Drawing.Size(484, 182); this.Controls.Add(this.chkLoopEnable); this.Controls.Add(this.pnlEdit); this.Controls.Add(this.pnlInfo); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Name = "BrstmConverterDialog"; this.Text = "Brstm Import"; this.groupBox1.ResumeLayout(false); this.pnlInfo.ResumeLayout(false); this.panel4.ResumeLayout(false); this.pnlEdit.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.pnlLoop.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.customTrackBar1)).EndInit(); this.grpLoop.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.numLoopStart)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.numLoopEnd)).EndInit(); this.panel3.ResumeLayout(false); this.panel3.PerformLayout(); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.btnOkay = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); this.txtPath = new System.Windows.Forms.TextBox(); this.btnBrowse = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.lblSamples = new System.Windows.Forms.Label(); this.lblFrequency = new System.Windows.Forms.Label(); this.lblText2 = new System.Windows.Forms.Label(); this.lblText1 = new System.Windows.Forms.Label(); this.lblPlayTime = new System.Windows.Forms.Label(); this.btnPlay = new System.Windows.Forms.Button(); this.btnRewind = new System.Windows.Forms.Button(); this.pnlInfo = new System.Windows.Forms.Panel(); this.panel4 = new System.Windows.Forms.Panel(); this.pnlEdit = new System.Windows.Forms.Panel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.btnSeekEnd = new System.Windows.Forms.Button(); this.btnLoopRW = new System.Windows.Forms.Button(); this.btnFFwd = new System.Windows.Forms.Button(); this.chkLoop = new System.Windows.Forms.CheckBox(); this.pnlLoop = new System.Windows.Forms.Panel(); this.spltEnd = new System.Windows.Forms.Splitter(); this.pnlLoopEnd = new System.Windows.Forms.Panel(); this.spltStart = new System.Windows.Forms.Splitter(); this.pnlLoopStart = new System.Windows.Forms.Panel(); this.customTrackBar1 = new System.Windows.Forms.CustomTrackBar(); this.grpLoop = new System.Windows.Forms.GroupBox(); this.btnEndSet = new System.Windows.Forms.Button(); this.btnStartSet = new System.Windows.Forms.Button(); this.numLoopStart = new System.Windows.Forms.NumericUpDown(); this.numLoopEnd = new System.Windows.Forms.NumericUpDown(); this.lblEnd = new System.Windows.Forms.Label(); this.lblStart = new System.Windows.Forms.Label(); this.panel3 = new System.Windows.Forms.Panel(); this.chkLoopEnable = new System.Windows.Forms.CheckBox(); this.dlgOpen = new System.Windows.Forms.OpenFileDialog(); this.tmrUpdate = new System.Windows.Forms.Timer(this.components); this.groupBox1.SuspendLayout(); this.pnlInfo.SuspendLayout(); this.panel4.SuspendLayout(); this.pnlEdit.SuspendLayout(); this.groupBox2.SuspendLayout(); this.pnlLoop.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.customTrackBar1)).BeginInit(); this.grpLoop.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numLoopStart)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numLoopEnd)).BeginInit(); this.panel3.SuspendLayout(); this.SuspendLayout(); // // btnOkay // this.btnOkay.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnOkay.Enabled = false; this.btnOkay.Location = new System.Drawing.Point(3, 3); this.btnOkay.Name = "btnOkay"; this.btnOkay.Size = new System.Drawing.Size(75, 23); this.btnOkay.TabIndex = 0; this.btnOkay.Text = "Okay"; this.btnOkay.UseVisualStyleBackColor = true; this.btnOkay.Click += new System.EventHandler(this.btnOkay_Click); // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.Location = new System.Drawing.Point(80, 3); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 1; this.btnCancel.Text = "Cancel"; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // txtPath // this.txtPath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtPath.Location = new System.Drawing.Point(0, 0); this.txtPath.Name = "txtPath"; this.txtPath.ReadOnly = true; this.txtPath.Size = new System.Drawing.Size(292, 20); this.txtPath.TabIndex = 2; // // btnBrowse // this.btnBrowse.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnBrowse.Location = new System.Drawing.Point(297, 0); this.btnBrowse.Name = "btnBrowse"; this.btnBrowse.Size = new System.Drawing.Size(25, 20); this.btnBrowse.TabIndex = 3; this.btnBrowse.Text = "..."; this.btnBrowse.UseVisualStyleBackColor = true; this.btnBrowse.Click += new System.EventHandler(this.btnBrowse_Click); // // groupBox1 // this.groupBox1.Controls.Add(this.lblSamples); this.groupBox1.Controls.Add(this.lblFrequency); this.groupBox1.Controls.Add(this.lblText2); this.groupBox1.Controls.Add(this.lblText1); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(158, 153); this.groupBox1.TabIndex = 5; this.groupBox1.TabStop = false; this.groupBox1.Text = "File Info"; // // lblSamples // this.lblSamples.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblSamples.Location = new System.Drawing.Point(84, 36); this.lblSamples.Name = "lblSamples"; this.lblSamples.Size = new System.Drawing.Size(68, 20); this.lblSamples.TabIndex = 3; this.lblSamples.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblFrequency // this.lblFrequency.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblFrequency.Location = new System.Drawing.Point(84, 16); this.lblFrequency.Name = "lblFrequency"; this.lblFrequency.Size = new System.Drawing.Size(68, 20); this.lblFrequency.TabIndex = 2; this.lblFrequency.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblText2 // this.lblText2.Location = new System.Drawing.Point(6, 36); this.lblText2.Name = "lblText2"; this.lblText2.Size = new System.Drawing.Size(72, 20); this.lblText2.TabIndex = 1; this.lblText2.Text = "Samples :"; this.lblText2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // lblText1 // this.lblText1.Location = new System.Drawing.Point(6, 16); this.lblText1.Name = "lblText1"; this.lblText1.Size = new System.Drawing.Size(72, 20); this.lblText1.TabIndex = 0; this.lblText1.Text = "Frequency :"; this.lblText1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // lblPlayTime // this.lblPlayTime.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblPlayTime.Location = new System.Drawing.Point(6, 63); this.lblPlayTime.Name = "lblPlayTime"; this.lblPlayTime.Size = new System.Drawing.Size(314, 20); this.lblPlayTime.TabIndex = 6; this.lblPlayTime.Text = "0 / 0"; this.lblPlayTime.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // btnPlay // this.btnPlay.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btnPlay.Location = new System.Drawing.Point(126, 86); this.btnPlay.Name = "btnPlay"; this.btnPlay.Size = new System.Drawing.Size(75, 20); this.btnPlay.TabIndex = 7; this.btnPlay.Text = "Play"; this.btnPlay.UseVisualStyleBackColor = true; this.btnPlay.Click += new System.EventHandler(this.btnPlay_Click); // // btnRewind // this.btnRewind.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btnRewind.Location = new System.Drawing.Point(72, 86); this.btnRewind.Name = "btnRewind"; this.btnRewind.Size = new System.Drawing.Size(26, 20); this.btnRewind.TabIndex = 8; this.btnRewind.Text = "|<"; this.btnRewind.UseVisualStyleBackColor = true; this.btnRewind.Click += new System.EventHandler(this.btnRewind_Click); // // pnlInfo // this.pnlInfo.Controls.Add(this.groupBox1); this.pnlInfo.Controls.Add(this.panel4); this.pnlInfo.Dock = System.Windows.Forms.DockStyle.Right; this.pnlInfo.Location = new System.Drawing.Point(326, 0); this.pnlInfo.Name = "pnlInfo"; this.pnlInfo.Size = new System.Drawing.Size(158, 182); this.pnlInfo.TabIndex = 9; // // panel4 // this.panel4.Controls.Add(this.btnOkay); this.panel4.Controls.Add(this.btnCancel); this.panel4.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel4.Location = new System.Drawing.Point(0, 153); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(158, 29); this.panel4.TabIndex = 6; // // pnlEdit // this.pnlEdit.Controls.Add(this.groupBox2); this.pnlEdit.Controls.Add(this.grpLoop); this.pnlEdit.Controls.Add(this.panel3); this.pnlEdit.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlEdit.Location = new System.Drawing.Point(0, 0); this.pnlEdit.Name = "pnlEdit"; this.pnlEdit.Size = new System.Drawing.Size(326, 182); this.pnlEdit.TabIndex = 10; // // groupBox2 // this.groupBox2.Controls.Add(this.btnSeekEnd); this.groupBox2.Controls.Add(this.btnLoopRW); this.groupBox2.Controls.Add(this.btnFFwd); this.groupBox2.Controls.Add(this.chkLoop); this.groupBox2.Controls.Add(this.lblPlayTime); this.groupBox2.Controls.Add(this.pnlLoop); this.groupBox2.Controls.Add(this.btnRewind); this.groupBox2.Controls.Add(this.btnPlay); this.groupBox2.Controls.Add(this.customTrackBar1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 65); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(326, 117); this.groupBox2.TabIndex = 13; this.groupBox2.TabStop = false; this.groupBox2.Text = "Playback"; // // btnSeekEnd // this.btnSeekEnd.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btnSeekEnd.Location = new System.Drawing.Point(229, 86); this.btnSeekEnd.Name = "btnSeekEnd"; this.btnSeekEnd.Size = new System.Drawing.Size(26, 20); this.btnSeekEnd.TabIndex = 13; this.btnSeekEnd.Text = ">|"; this.btnSeekEnd.UseVisualStyleBackColor = true; this.btnSeekEnd.Click += new System.EventHandler(this.btnSeekEnd_Click); // // btnLoopRW // this.btnLoopRW.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btnLoopRW.Enabled = false; this.btnLoopRW.Location = new System.Drawing.Point(99, 86); this.btnLoopRW.Name = "btnLoopRW"; this.btnLoopRW.Size = new System.Drawing.Size(26, 20); this.btnLoopRW.TabIndex = 12; this.btnLoopRW.Text = "<"; this.btnLoopRW.UseVisualStyleBackColor = true; this.btnLoopRW.Click += new System.EventHandler(this.btnLoopRW_Click); // // btnFFwd // this.btnFFwd.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btnFFwd.Enabled = false; this.btnFFwd.Location = new System.Drawing.Point(202, 86); this.btnFFwd.Name = "btnFFwd"; this.btnFFwd.Size = new System.Drawing.Size(26, 20); this.btnFFwd.TabIndex = 11; this.btnFFwd.Text = ">"; this.btnFFwd.UseVisualStyleBackColor = true; this.btnFFwd.Click += new System.EventHandler(this.btnFFwd_Click); // // chkLoop // this.chkLoop.Enabled = false; this.chkLoop.Location = new System.Drawing.Point(10, 86); this.chkLoop.Name = "chkLoop"; this.chkLoop.Size = new System.Drawing.Size(52, 20); this.chkLoop.TabIndex = 10; this.chkLoop.Text = "Loop"; this.chkLoop.UseVisualStyleBackColor = true; this.chkLoop.CheckedChanged += new System.EventHandler(this.chkLoop_CheckedChanged); // // pnlLoop // this.pnlLoop.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.pnlLoop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); this.pnlLoop.Controls.Add(this.spltEnd); this.pnlLoop.Controls.Add(this.pnlLoopEnd); this.pnlLoop.Controls.Add(this.spltStart); this.pnlLoop.Controls.Add(this.pnlLoopStart); this.pnlLoop.Location = new System.Drawing.Point(18, 50); this.pnlLoop.Name = "pnlLoop"; this.pnlLoop.Size = new System.Drawing.Size(290, 12); this.pnlLoop.TabIndex = 9; this.pnlLoop.Visible = false; // // spltEnd // this.spltEnd.BackColor = System.Drawing.Color.Red; this.spltEnd.Dock = System.Windows.Forms.DockStyle.Right; this.spltEnd.Location = new System.Drawing.Point(287, 0); this.spltEnd.MinExtra = 0; this.spltEnd.MinSize = 0; this.spltEnd.Name = "spltEnd"; this.spltEnd.Size = new System.Drawing.Size(3, 12); this.spltEnd.TabIndex = 3; this.spltEnd.TabStop = false; // // pnlLoopEnd // this.pnlLoopEnd.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); this.pnlLoopEnd.Dock = System.Windows.Forms.DockStyle.Right; this.pnlLoopEnd.Location = new System.Drawing.Point(290, 0); this.pnlLoopEnd.Name = "pnlLoopEnd"; this.pnlLoopEnd.Size = new System.Drawing.Size(0, 12); this.pnlLoopEnd.TabIndex = 2; this.pnlLoopEnd.SizeChanged += new System.EventHandler(this.pnlLoopEnd_SizeChanged); // // spltStart // this.spltStart.BackColor = System.Drawing.Color.Yellow; this.spltStart.Location = new System.Drawing.Point(0, 0); this.spltStart.MinExtra = 0; this.spltStart.MinSize = 0; this.spltStart.Name = "spltStart"; this.spltStart.Size = new System.Drawing.Size(3, 12); this.spltStart.TabIndex = 0; this.spltStart.TabStop = false; // // pnlLoopStart // this.pnlLoopStart.BackColor = System.Drawing.Color.YellowGreen; this.pnlLoopStart.Dock = System.Windows.Forms.DockStyle.Left; this.pnlLoopStart.Location = new System.Drawing.Point(0, 0); this.pnlLoopStart.Name = "pnlLoopStart"; this.pnlLoopStart.Size = new System.Drawing.Size(0, 12); this.pnlLoopStart.TabIndex = 1; this.pnlLoopStart.SizeChanged += new System.EventHandler(this.pnlLoopStart_SizeChanged); // // customTrackBar1 // this.customTrackBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.customTrackBar1.Location = new System.Drawing.Point(6, 19); this.customTrackBar1.Name = "customTrackBar1"; this.customTrackBar1.Size = new System.Drawing.Size(314, 45); this.customTrackBar1.TabIndex = 4; this.customTrackBar1.UserSeek += new System.EventHandler(this.customTrackBar1_UserSeek); this.customTrackBar1.ValueChanged += new System.EventHandler(this.customTrackBar1_ValueChanged); // // grpLoop // this.grpLoop.Controls.Add(this.btnEndSet); this.grpLoop.Controls.Add(this.btnStartSet); this.grpLoop.Controls.Add(this.numLoopStart); this.grpLoop.Controls.Add(this.numLoopEnd); this.grpLoop.Controls.Add(this.lblEnd); this.grpLoop.Controls.Add(this.lblStart); this.grpLoop.Dock = System.Windows.Forms.DockStyle.Top; this.grpLoop.Enabled = false; this.grpLoop.Location = new System.Drawing.Point(0, 20); this.grpLoop.Name = "grpLoop"; this.grpLoop.Size = new System.Drawing.Size(326, 45); this.grpLoop.TabIndex = 15; this.grpLoop.TabStop = false; this.grpLoop.Text = "Loop"; // // btnEndSet // this.btnEndSet.Location = new System.Drawing.Point(289, 19); this.btnEndSet.Name = "btnEndSet"; this.btnEndSet.Size = new System.Drawing.Size(15, 20); this.btnEndSet.TabIndex = 13; this.btnEndSet.Text = "*"; this.btnEndSet.UseVisualStyleBackColor = true; this.btnEndSet.Click += new System.EventHandler(this.btnEndSet_Click); // // btnStartSet // this.btnStartSet.Location = new System.Drawing.Point(141, 19); this.btnStartSet.Name = "btnStartSet"; this.btnStartSet.Size = new System.Drawing.Size(15, 20); this.btnStartSet.TabIndex = 4; this.btnStartSet.Text = "*"; this.btnStartSet.UseVisualStyleBackColor = true; this.btnStartSet.Click += new System.EventHandler(this.btnStartSet_Click); // // numLoopStart // this.numLoopStart.Increment = new decimal(new int[] { 14, 0, 0, 0}); this.numLoopStart.Location = new System.Drawing.Point(59, 19); this.numLoopStart.Name = "numLoopStart"; this.numLoopStart.Size = new System.Drawing.Size(81, 20); this.numLoopStart.TabIndex = 10; this.numLoopStart.ValueChanged += new System.EventHandler(this.numLoopStart_ValueChanged); // // numLoopEnd // this.numLoopEnd.Increment = new decimal(new int[] { 14, 0, 0, 0}); this.numLoopEnd.Location = new System.Drawing.Point(207, 19); this.numLoopEnd.Name = "numLoopEnd"; this.numLoopEnd.Size = new System.Drawing.Size(81, 20); this.numLoopEnd.TabIndex = 11; this.numLoopEnd.ValueChanged += new System.EventHandler(this.numLoopEnd_ValueChanged); // // lblEnd // this.lblEnd.Location = new System.Drawing.Point(160, 19); this.lblEnd.Name = "lblEnd"; this.lblEnd.Size = new System.Drawing.Size(41, 20); this.lblEnd.TabIndex = 2; this.lblEnd.Text = "End:"; this.lblEnd.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // lblStart // this.lblStart.Location = new System.Drawing.Point(13, 19); this.lblStart.Name = "lblStart"; this.lblStart.Size = new System.Drawing.Size(40, 20); this.lblStart.TabIndex = 12; this.lblStart.Text = "Start:"; this.lblStart.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // panel3 // this.panel3.Controls.Add(this.txtPath); this.panel3.Controls.Add(this.btnBrowse); this.panel3.Dock = System.Windows.Forms.DockStyle.Top; this.panel3.Location = new System.Drawing.Point(0, 0); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(326, 20); this.panel3.TabIndex = 14; // // chkLoopEnable // this.chkLoopEnable.Location = new System.Drawing.Point(49, 18); this.chkLoopEnable.Name = "chkLoopEnable"; this.chkLoopEnable.Size = new System.Drawing.Size(64, 20); this.chkLoopEnable.TabIndex = 13; this.chkLoopEnable.Text = "Enable"; this.chkLoopEnable.UseVisualStyleBackColor = true; this.chkLoopEnable.CheckedChanged += new System.EventHandler(this.chkLoopEnable_CheckedChanged); // // tmrUpdate // this.tmrUpdate.Interval = 17; this.tmrUpdate.Tick += new System.EventHandler(this.tmrUpdate_Tick); // // BrstmConverterDialog // this.ClientSize = new System.Drawing.Size(484, 182); this.Controls.Add(this.chkLoopEnable); this.Controls.Add(this.pnlEdit); this.Controls.Add(this.pnlInfo); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; this.MaximizeBox = false; this.MinimumSize = new System.Drawing.Size(500, 216); this.Name = "BrstmConverterDialog"; this.ShowIcon = false; this.ShowInTaskbar = false; this.Text = "Brstm Import"; this.groupBox1.ResumeLayout(false); this.pnlInfo.ResumeLayout(false); this.panel4.ResumeLayout(false); this.pnlEdit.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.pnlLoop.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.customTrackBar1)).EndInit(); this.grpLoop.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.numLoopStart)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.numLoopEnd)).EndInit(); this.panel3.ResumeLayout(false); this.panel3.PerformLayout(); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.trackBar1 = new System.Windows.Forms.CustomTrackBar(); this.btnPlay = new System.Windows.Forms.Button(); this.btnRewind = new System.Windows.Forms.Button(); this.chkLoop = new System.Windows.Forms.CheckBox(); this.lblProgress = new System.Windows.Forms.Label(); this.tmrUpdate = new System.Windows.Forms.Timer(this.components); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit(); this.SuspendLayout(); // // trackBar1 // this.trackBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.trackBar1.Location = new System.Drawing.Point(0, 4); this.trackBar1.Name = "trackBar1"; this.trackBar1.Size = new System.Drawing.Size(536, 45); this.trackBar1.TabIndex = 0; this.trackBar1.TickFrequency = 2; this.trackBar1.UserSeek += new System.EventHandler(this.trackBar1_UserSeek); this.trackBar1.ValueChanged += new System.EventHandler(this.trackBar1_ValueChanged); // // btnPlay // this.btnPlay.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btnPlay.Location = new System.Drawing.Point(231, 69); this.btnPlay.Name = "btnPlay"; this.btnPlay.Size = new System.Drawing.Size(75, 20); this.btnPlay.TabIndex = 1; this.btnPlay.Text = "Play"; this.btnPlay.UseVisualStyleBackColor = true; this.btnPlay.Click += new System.EventHandler(this.btnPlay_Click); // // btnRewind // this.btnRewind.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btnRewind.Location = new System.Drawing.Point(201, 69); this.btnRewind.Name = "btnRewind"; this.btnRewind.Size = new System.Drawing.Size(24, 20); this.btnRewind.TabIndex = 2; this.btnRewind.Text = "|<"; this.btnRewind.UseVisualStyleBackColor = true; this.btnRewind.Click += new System.EventHandler(this.btnRewind_Click); // // chkLoop // this.chkLoop.Anchor = System.Windows.Forms.AnchorStyles.Top; this.chkLoop.Location = new System.Drawing.Point(133, 69); this.chkLoop.Name = "chkLoop"; this.chkLoop.Size = new System.Drawing.Size(62, 20); this.chkLoop.TabIndex = 3; this.chkLoop.Text = "Loop"; this.chkLoop.UseVisualStyleBackColor = true; this.chkLoop.CheckedChanged += new System.EventHandler(this.chkLoop_CheckedChanged); // // lblProgress // this.lblProgress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblProgress.Location = new System.Drawing.Point(0, 31); this.lblProgress.Name = "lblProgress"; this.lblProgress.Size = new System.Drawing.Size(536, 23); this.lblProgress.TabIndex = 4; this.lblProgress.Text = "0/0"; this.lblProgress.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // tmrUpdate // this.tmrUpdate.Interval = 10; this.tmrUpdate.Tick += new System.EventHandler(this.tmrUpdate_Tick); // // AudioPlaybackPanel // this.Controls.Add(this.lblProgress); this.Controls.Add(this.chkLoop); this.Controls.Add(this.btnRewind); this.Controls.Add(this.btnPlay); this.Controls.Add(this.trackBar1); this.Name = "AudioPlaybackPanel"; this.Size = new System.Drawing.Size(536, 111); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.trackBar1 = new System.Windows.Forms.CustomTrackBar(); this.btnPlay = new System.Windows.Forms.Button(); this.btnRewind = new System.Windows.Forms.Button(); this.chkLoop = new System.Windows.Forms.CheckBox(); this.lblProgress = new System.Windows.Forms.Label(); this.tmrUpdate = new System.Windows.Forms.Timer(this.components); this.lstStreams = new System.Windows.Forms.ComboBox(); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit(); this.SuspendLayout(); // // trackBar1 // this.trackBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.trackBar1.Location = new System.Drawing.Point(0, 4); this.trackBar1.Name = "trackBar1"; this.trackBar1.Size = new System.Drawing.Size(536, 45); this.trackBar1.TabIndex = 0; this.trackBar1.TickFrequency = 2; this.trackBar1.UserSeek += new System.EventHandler(this.trackBar1_UserSeek); this.trackBar1.ValueChanged += new System.EventHandler(this.trackBar1_ValueChanged); // // btnPlay // this.btnPlay.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btnPlay.Location = new System.Drawing.Point(231, 69); this.btnPlay.Name = "btnPlay"; this.btnPlay.Size = new System.Drawing.Size(75, 20); this.btnPlay.TabIndex = 1; this.btnPlay.Text = "Play"; this.btnPlay.UseVisualStyleBackColor = true; this.btnPlay.Click += new System.EventHandler(this.btnPlay_Click); // // btnRewind // this.btnRewind.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btnRewind.Location = new System.Drawing.Point(201, 69); this.btnRewind.Name = "btnRewind"; this.btnRewind.Size = new System.Drawing.Size(24, 20); this.btnRewind.TabIndex = 2; this.btnRewind.Text = "|<"; this.btnRewind.UseVisualStyleBackColor = true; this.btnRewind.Click += new System.EventHandler(this.btnRewind_Click); // // chkLoop // this.chkLoop.Anchor = System.Windows.Forms.AnchorStyles.Top; this.chkLoop.Location = new System.Drawing.Point(133, 69); this.chkLoop.Name = "chkLoop"; this.chkLoop.Size = new System.Drawing.Size(62, 20); this.chkLoop.TabIndex = 3; this.chkLoop.Text = "Loop"; this.chkLoop.UseVisualStyleBackColor = true; this.chkLoop.CheckedChanged += new System.EventHandler(this.chkLoop_CheckedChanged); // // lblProgress // this.lblProgress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblProgress.Location = new System.Drawing.Point(0, 31); this.lblProgress.Name = "lblProgress"; this.lblProgress.Size = new System.Drawing.Size(536, 23); this.lblProgress.TabIndex = 4; this.lblProgress.Text = "0/0"; this.lblProgress.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // tmrUpdate // this.tmrUpdate.Interval = 10; this.tmrUpdate.Tick += new System.EventHandler(this.tmrUpdate_Tick); // // lstStreams // this.lstStreams.Anchor = System.Windows.Forms.AnchorStyles.Top; this.lstStreams.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.lstStreams.FormattingEnabled = true; this.lstStreams.Location = new System.Drawing.Point(313, 68); this.lstStreams.Name = "lstStreams"; this.lstStreams.Size = new System.Drawing.Size(73, 21); this.lstStreams.TabIndex = 5; this.lstStreams.SelectedIndexChanged += new System.EventHandler(this.lstStreams_SelectedIndexChanged); // // AudioPlaybackPanel // this.Controls.Add(this.lstStreams); this.Controls.Add(this.lblProgress); this.Controls.Add(this.chkLoop); this.Controls.Add(this.btnRewind); this.Controls.Add(this.btnPlay); this.Controls.Add(this.trackBar1); this.Name = "AudioPlaybackPanel"; this.Size = new System.Drawing.Size(536, 111); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.trackBar1 = new System.Windows.Forms.CustomTrackBar(); this.btnPlay = new System.Windows.Forms.Button(); this.btnRewind = new System.Windows.Forms.Button(); this.chkLoop = new System.Windows.Forms.CheckBox(); this.lblProgress = new System.Windows.Forms.Label(); this.previewPanel1 = new System.Windows.Forms.PreviewPanel(); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit(); this.SuspendLayout(); // // trackBar1 // this.trackBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.trackBar1.Location = new System.Drawing.Point(0, 212); this.trackBar1.Name = "trackBar1"; this.trackBar1.Size = new System.Drawing.Size(378, 45); this.trackBar1.TabIndex = 0; this.trackBar1.TickFrequency = 2; this.trackBar1.UserSeek += new System.EventHandler(this.trackBar1_UserSeek); this.trackBar1.ValueChanged += new System.EventHandler(this.trackBar1_ValueChanged); // // btnPlay // this.btnPlay.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.btnPlay.Location = new System.Drawing.Point(152, 263); this.btnPlay.Name = "btnPlay"; this.btnPlay.Size = new System.Drawing.Size(75, 20); this.btnPlay.TabIndex = 1; this.btnPlay.Text = "Play"; this.btnPlay.UseVisualStyleBackColor = true; this.btnPlay.Click += new System.EventHandler(this.btnPlay_Click); // // btnRewind // this.btnRewind.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.btnRewind.Location = new System.Drawing.Point(122, 263); this.btnRewind.Name = "btnRewind"; this.btnRewind.Size = new System.Drawing.Size(24, 20); this.btnRewind.TabIndex = 2; this.btnRewind.Text = "|<"; this.btnRewind.UseVisualStyleBackColor = true; this.btnRewind.Click += new System.EventHandler(this.btnRewind_Click); // // chkLoop // this.chkLoop.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.chkLoop.Location = new System.Drawing.Point(54, 263); this.chkLoop.Name = "chkLoop"; this.chkLoop.Size = new System.Drawing.Size(62, 20); this.chkLoop.TabIndex = 3; this.chkLoop.Text = "Loop"; this.chkLoop.UseVisualStyleBackColor = true; this.chkLoop.CheckedChanged += new System.EventHandler(this.chkLoop_CheckedChanged); // // lblProgress // this.lblProgress.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.lblProgress.Location = new System.Drawing.Point(-79, 239); this.lblProgress.Name = "lblProgress"; this.lblProgress.Size = new System.Drawing.Size(536, 23); this.lblProgress.TabIndex = 4; this.lblProgress.Text = "0/0"; this.lblProgress.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // previewPanel1 // this.previewPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.previewPanel1.CurrentIndex = 0; this.previewPanel1.DisposeImage = true; this.previewPanel1.Location = new System.Drawing.Point(3, 3); this.previewPanel1.Name = "previewPanel1"; this.previewPanel1.RenderingTarget = null; this.previewPanel1.Size = new System.Drawing.Size(372, 203); this.previewPanel1.TabIndex = 5; // // VideoPlaybackPanel // this.Controls.Add(this.previewPanel1); this.Controls.Add(this.lblProgress); this.Controls.Add(this.chkLoop); this.Controls.Add(this.btnRewind); this.Controls.Add(this.btnPlay); this.Controls.Add(this.trackBar1); this.Name = "VideoPlaybackPanel"; this.Size = new System.Drawing.Size(378, 289); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { trackBar1 = new CustomTrackBar(); btnPlay = new Button(); btnRewind = new Button(); chkLoop = new CheckBox(); lblProgress = new Label(); previewPanel1 = new PreviewPanel(); ((ISupportInitialize)trackBar1).BeginInit(); SuspendLayout(); // // trackBar1 // trackBar1.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; trackBar1.Location = new Drawing.Point(0, 212); trackBar1.Name = "trackBar1"; trackBar1.Size = new Drawing.Size(378, 45); trackBar1.TabIndex = 0; trackBar1.TickFrequency = 2; trackBar1.UserSeek += new EventHandler(trackBar1_UserSeek); trackBar1.ValueChanged += new EventHandler(trackBar1_ValueChanged); // // btnPlay // btnPlay.Anchor = AnchorStyles.Bottom; btnPlay.Location = new Drawing.Point(152, 263); btnPlay.Name = "btnPlay"; btnPlay.Size = new Drawing.Size(75, 20); btnPlay.TabIndex = 1; btnPlay.Text = "Play"; btnPlay.UseVisualStyleBackColor = true; btnPlay.Click += new EventHandler(btnPlay_Click); // // btnRewind // btnRewind.Anchor = AnchorStyles.Bottom; btnRewind.Location = new Drawing.Point(122, 263); btnRewind.Name = "btnRewind"; btnRewind.Size = new Drawing.Size(24, 20); btnRewind.TabIndex = 2; btnRewind.Text = "|<"; btnRewind.UseVisualStyleBackColor = true; btnRewind.Click += new EventHandler(btnRewind_Click); // // chkLoop // chkLoop.Anchor = AnchorStyles.Bottom; chkLoop.Location = new Drawing.Point(54, 263); chkLoop.Name = "chkLoop"; chkLoop.Size = new Drawing.Size(62, 20); chkLoop.TabIndex = 3; chkLoop.Text = "Loop"; chkLoop.UseVisualStyleBackColor = true; chkLoop.CheckedChanged += new EventHandler(chkLoop_CheckedChanged); // // lblProgress // lblProgress.Anchor = AnchorStyles.Bottom; lblProgress.Location = new Drawing.Point(-79, 239); lblProgress.Name = "lblProgress"; lblProgress.Size = new Drawing.Size(536, 23); lblProgress.TabIndex = 4; lblProgress.Text = "0/0"; lblProgress.TextAlign = Drawing.ContentAlignment.MiddleCenter; // // previewPanel1 // previewPanel1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; previewPanel1.CurrentIndex = 0; previewPanel1.DisposeImage = true; previewPanel1.Location = new Drawing.Point(3, 3); previewPanel1.Name = "previewPanel1"; previewPanel1.RenderingTarget = null; previewPanel1.Size = new Drawing.Size(372, 203); previewPanel1.TabIndex = 5; // // VideoPlaybackPanel // Controls.Add(previewPanel1); Controls.Add(lblProgress); Controls.Add(chkLoop); Controls.Add(btnRewind); Controls.Add(btnPlay); Controls.Add(trackBar1); Name = "VideoPlaybackPanel"; Size = new Drawing.Size(378, 289); ((ISupportInitialize)trackBar1).EndInit(); ResumeLayout(false); PerformLayout(); }