Form1.Designer.cs 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. namespace BackgroundMusic_Demo
  2. {
  3. partial class Form1
  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.checkBox1 = new System.Windows.Forms.CheckBox();
  29. this.button1 = new System.Windows.Forms.Button();
  30. this.trackBar2 = new System.Windows.Forms.TrackBar();
  31. this.button2 = new System.Windows.Forms.Button();
  32. this.button3 = new System.Windows.Forms.Button();
  33. ((System.ComponentModel.ISupportInitialize)(this.trackBar2)).BeginInit();
  34. this.SuspendLayout();
  35. //
  36. // checkBox1
  37. //
  38. this.checkBox1.AutoSize = true;
  39. this.checkBox1.Location = new System.Drawing.Point(318, 33);
  40. this.checkBox1.Name = "checkBox1";
  41. this.checkBox1.Size = new System.Drawing.Size(48, 16);
  42. this.checkBox1.TabIndex = 0;
  43. this.checkBox1.Text = "静音";
  44. this.checkBox1.UseVisualStyleBackColor = true;
  45. this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
  46. //
  47. // button1
  48. //
  49. this.button1.Location = new System.Drawing.Point(221, 29);
  50. this.button1.Name = "button1";
  51. this.button1.Size = new System.Drawing.Size(75, 23);
  52. this.button1.TabIndex = 1;
  53. this.button1.Text = "播放背景音乐";
  54. this.button1.UseVisualStyleBackColor = true;
  55. this.button1.Click += new System.EventHandler(this.button1_Click);
  56. //
  57. // trackBar2
  58. //
  59. this.trackBar2.AutoSize = false;
  60. this.trackBar2.Location = new System.Drawing.Point(398, 32);
  61. this.trackBar2.Maximum = 0;
  62. this.trackBar2.Minimum = -100;
  63. this.trackBar2.Name = "trackBar2";
  64. this.trackBar2.Size = new System.Drawing.Size(104, 20);
  65. this.trackBar2.TabIndex = 4;
  66. this.trackBar2.TickStyle = System.Windows.Forms.TickStyle.None;
  67. this.trackBar2.Scroll += new System.EventHandler(this.trackBar2_Scroll);
  68. //
  69. // button2
  70. //
  71. this.button2.Location = new System.Drawing.Point(32, 33);
  72. this.button2.Name = "button2";
  73. this.button2.Size = new System.Drawing.Size(75, 23);
  74. this.button2.TabIndex = 5;
  75. this.button2.Text = "停止";
  76. this.button2.UseVisualStyleBackColor = true;
  77. this.button2.Click += new System.EventHandler(this.button2_Click);
  78. //
  79. // button3
  80. //
  81. this.button3.Location = new System.Drawing.Point(128, 32);
  82. this.button3.Name = "button3";
  83. this.button3.Size = new System.Drawing.Size(75, 23);
  84. this.button3.TabIndex = 5;
  85. this.button3.Text = "暂停";
  86. this.button3.UseVisualStyleBackColor = true;
  87. this.button3.Click += new System.EventHandler(this.button3_Click);
  88. //
  89. // Form1
  90. //
  91. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  92. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  93. this.ClientSize = new System.Drawing.Size(528, 241);
  94. this.Controls.Add(this.button3);
  95. this.Controls.Add(this.button2);
  96. this.Controls.Add(this.trackBar2);
  97. this.Controls.Add(this.button1);
  98. this.Controls.Add(this.checkBox1);
  99. this.Name = "Form1";
  100. this.Text = "背景音乐Demo";
  101. ((System.ComponentModel.ISupportInitialize)(this.trackBar2)).EndInit();
  102. this.ResumeLayout(false);
  103. this.PerformLayout();
  104. }
  105. #endregion
  106. private System.Windows.Forms.CheckBox checkBox1;
  107. private System.Windows.Forms.Button button1;
  108. private System.Windows.Forms.TrackBar trackBar2;
  109. private System.Windows.Forms.Button button2;
  110. private System.Windows.Forms.Button button3;
  111. }
  112. }