MainForm.Designer.cs 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. namespace Demo
  2. {
  3. partial class MainForm
  4. {
  5. /// <summary>
  6. /// 必需的设计器变量。
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// 清理所有正在使用的资源。
  11. /// </summary>
  12. /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region Windows 窗体设计器生成的代码
  22. /// <summary>
  23. /// 设计器支持所需的方法 - 不要
  24. /// 使用代码编辑器修改此方法的内容。
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.components = new System.ComponentModel.Container();
  29. this.pnlVideo = new System.Windows.Forms.Panel();
  30. this.btnLoad = new System.Windows.Forms.Button();
  31. this.cboAudioTracks = new System.Windows.Forms.ComboBox();
  32. this.btnPlay = new System.Windows.Forms.Button();
  33. this.btnPause = new System.Windows.Forms.Button();
  34. this.trkProgress = new System.Windows.Forms.TrackBar();
  35. this.tmrProgress = new System.Windows.Forms.Timer(this.components);
  36. ((System.ComponentModel.ISupportInitialize)(this.trkProgress)).BeginInit();
  37. this.SuspendLayout();
  38. //
  39. // pnlVideo
  40. //
  41. this.pnlVideo.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  42. | System.Windows.Forms.AnchorStyles.Left)
  43. | System.Windows.Forms.AnchorStyles.Right)));
  44. this.pnlVideo.Location = new System.Drawing.Point(12, 12);
  45. this.pnlVideo.Name = "pnlVideo";
  46. this.pnlVideo.Size = new System.Drawing.Size(737, 401);
  47. this.pnlVideo.TabIndex = 0;
  48. //
  49. // btnLoad
  50. //
  51. this.btnLoad.AllowDrop = true;
  52. this.btnLoad.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
  53. this.btnLoad.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  54. this.btnLoad.Location = new System.Drawing.Point(12, 467);
  55. this.btnLoad.Name = "btnLoad";
  56. this.btnLoad.Size = new System.Drawing.Size(75, 23);
  57. this.btnLoad.TabIndex = 1;
  58. this.btnLoad.Text = "Drop Load";
  59. this.btnLoad.UseVisualStyleBackColor = true;
  60. this.btnLoad.DragDrop += new System.Windows.Forms.DragEventHandler(this.btnLoad_DragDrop);
  61. this.btnLoad.DragEnter += new System.Windows.Forms.DragEventHandler(this.btnLoad_DragEnter);
  62. //
  63. // cboAudioTracks
  64. //
  65. this.cboAudioTracks.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
  66. | System.Windows.Forms.AnchorStyles.Right)));
  67. this.cboAudioTracks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  68. this.cboAudioTracks.FormattingEnabled = true;
  69. this.cboAudioTracks.Location = new System.Drawing.Point(255, 468);
  70. this.cboAudioTracks.Name = "cboAudioTracks";
  71. this.cboAudioTracks.Size = new System.Drawing.Size(494, 20);
  72. this.cboAudioTracks.TabIndex = 2;
  73. this.cboAudioTracks.SelectedIndexChanged += new System.EventHandler(this.cboAudioTracks_SelectedIndexChanged);
  74. //
  75. // btnPlay
  76. //
  77. this.btnPlay.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
  78. this.btnPlay.Location = new System.Drawing.Point(93, 466);
  79. this.btnPlay.Name = "btnPlay";
  80. this.btnPlay.Size = new System.Drawing.Size(75, 23);
  81. this.btnPlay.TabIndex = 3;
  82. this.btnPlay.Text = "Play";
  83. this.btnPlay.UseVisualStyleBackColor = true;
  84. this.btnPlay.Click += new System.EventHandler(this.btnPlay_Click);
  85. //
  86. // btnPause
  87. //
  88. this.btnPause.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
  89. this.btnPause.Location = new System.Drawing.Point(174, 466);
  90. this.btnPause.Name = "btnPause";
  91. this.btnPause.Size = new System.Drawing.Size(75, 23);
  92. this.btnPause.TabIndex = 3;
  93. this.btnPause.Text = "Pause";
  94. this.btnPause.UseVisualStyleBackColor = true;
  95. this.btnPause.Click += new System.EventHandler(this.btnPause_Click);
  96. //
  97. // trkProgress
  98. //
  99. this.trkProgress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
  100. | System.Windows.Forms.AnchorStyles.Right)));
  101. this.trkProgress.Location = new System.Drawing.Point(12, 419);
  102. this.trkProgress.Maximum = 600;
  103. this.trkProgress.Name = "trkProgress";
  104. this.trkProgress.Size = new System.Drawing.Size(737, 42);
  105. this.trkProgress.TabIndex = 4;
  106. this.trkProgress.TickFrequency = 60;
  107. this.trkProgress.TickStyle = System.Windows.Forms.TickStyle.Both;
  108. //
  109. // tmrProgress
  110. //
  111. this.tmrProgress.Tick += new System.EventHandler(this.tmrProgress_Tick);
  112. //
  113. // MainForm
  114. //
  115. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  116. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  117. this.ClientSize = new System.Drawing.Size(761, 502);
  118. this.Controls.Add(this.trkProgress);
  119. this.Controls.Add(this.btnPause);
  120. this.Controls.Add(this.btnPlay);
  121. this.Controls.Add(this.cboAudioTracks);
  122. this.Controls.Add(this.btnLoad);
  123. this.Controls.Add(this.pnlVideo);
  124. this.Name = "MainForm";
  125. this.Text = "Video Player Demo";
  126. this.Shown += new System.EventHandler(this.MainForm_Shown);
  127. ((System.ComponentModel.ISupportInitialize)(this.trkProgress)).EndInit();
  128. this.ResumeLayout(false);
  129. this.PerformLayout();
  130. }
  131. #endregion
  132. private System.Windows.Forms.Panel pnlVideo;
  133. private System.Windows.Forms.Button btnLoad;
  134. private System.Windows.Forms.ComboBox cboAudioTracks;
  135. private System.Windows.Forms.Button btnPlay;
  136. private System.Windows.Forms.Button btnPause;
  137. private System.Windows.Forms.TrackBar trkProgress;
  138. private System.Windows.Forms.Timer tmrProgress;
  139. }
  140. }