123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- namespace Demo
- {
- partial class MainForm
- {
-
-
-
- private System.ComponentModel.IContainer components = null;
-
-
-
-
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
- #region Windows 窗体设计器生成的代码
-
-
-
-
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- this.pnlVideo = new System.Windows.Forms.Panel();
- this.btnLoad = new System.Windows.Forms.Button();
- this.cboAudioTracks = new System.Windows.Forms.ComboBox();
- this.btnPlay = new System.Windows.Forms.Button();
- this.btnPause = new System.Windows.Forms.Button();
- this.trkProgress = new System.Windows.Forms.TrackBar();
- this.tmrProgress = new System.Windows.Forms.Timer(this.components);
- ((System.ComponentModel.ISupportInitialize)(this.trkProgress)).BeginInit();
- this.SuspendLayout();
-
-
-
- this.pnlVideo.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.pnlVideo.Location = new System.Drawing.Point(12, 12);
- this.pnlVideo.Name = "pnlVideo";
- this.pnlVideo.Size = new System.Drawing.Size(737, 401);
- this.pnlVideo.TabIndex = 0;
-
-
-
- this.btnLoad.AllowDrop = true;
- this.btnLoad.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.btnLoad.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnLoad.Location = new System.Drawing.Point(12, 467);
- this.btnLoad.Name = "btnLoad";
- this.btnLoad.Size = new System.Drawing.Size(75, 23);
- this.btnLoad.TabIndex = 1;
- this.btnLoad.Text = "Drop Load";
- this.btnLoad.UseVisualStyleBackColor = true;
- this.btnLoad.DragDrop += new System.Windows.Forms.DragEventHandler(this.btnLoad_DragDrop);
- this.btnLoad.DragEnter += new System.Windows.Forms.DragEventHandler(this.btnLoad_DragEnter);
-
-
-
- this.cboAudioTracks.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.cboAudioTracks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.cboAudioTracks.FormattingEnabled = true;
- this.cboAudioTracks.Location = new System.Drawing.Point(255, 468);
- this.cboAudioTracks.Name = "cboAudioTracks";
- this.cboAudioTracks.Size = new System.Drawing.Size(494, 20);
- this.cboAudioTracks.TabIndex = 2;
- this.cboAudioTracks.SelectedIndexChanged += new System.EventHandler(this.cboAudioTracks_SelectedIndexChanged);
-
-
-
- this.btnPlay.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.btnPlay.Location = new System.Drawing.Point(93, 466);
- this.btnPlay.Name = "btnPlay";
- this.btnPlay.Size = new System.Drawing.Size(75, 23);
- this.btnPlay.TabIndex = 3;
- this.btnPlay.Text = "Play";
- this.btnPlay.UseVisualStyleBackColor = true;
- this.btnPlay.Click += new System.EventHandler(this.btnPlay_Click);
-
-
-
- this.btnPause.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.btnPause.Location = new System.Drawing.Point(174, 466);
- this.btnPause.Name = "btnPause";
- this.btnPause.Size = new System.Drawing.Size(75, 23);
- this.btnPause.TabIndex = 3;
- this.btnPause.Text = "Pause";
- this.btnPause.UseVisualStyleBackColor = true;
- this.btnPause.Click += new System.EventHandler(this.btnPause_Click);
-
-
-
- this.trkProgress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.trkProgress.Location = new System.Drawing.Point(12, 419);
- this.trkProgress.Maximum = 600;
- this.trkProgress.Name = "trkProgress";
- this.trkProgress.Size = new System.Drawing.Size(737, 42);
- this.trkProgress.TabIndex = 4;
- this.trkProgress.TickFrequency = 60;
- this.trkProgress.TickStyle = System.Windows.Forms.TickStyle.Both;
-
-
-
- this.tmrProgress.Tick += new System.EventHandler(this.tmrProgress_Tick);
-
-
-
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(761, 502);
- this.Controls.Add(this.trkProgress);
- this.Controls.Add(this.btnPause);
- this.Controls.Add(this.btnPlay);
- this.Controls.Add(this.cboAudioTracks);
- this.Controls.Add(this.btnLoad);
- this.Controls.Add(this.pnlVideo);
- this.Name = "MainForm";
- this.Text = "Video Player Demo";
- this.Shown += new System.EventHandler(this.MainForm_Shown);
- ((System.ComponentModel.ISupportInitialize)(this.trkProgress)).EndInit();
- this.ResumeLayout(false);
- this.PerformLayout();
- }
- #endregion
- private System.Windows.Forms.Panel pnlVideo;
- private System.Windows.Forms.Button btnLoad;
- private System.Windows.Forms.ComboBox cboAudioTracks;
- private System.Windows.Forms.Button btnPlay;
- private System.Windows.Forms.Button btnPause;
- private System.Windows.Forms.TrackBar trkProgress;
- private System.Windows.Forms.Timer tmrProgress;
- }
- }
|