frmMain.Designer.cs 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. namespace ControlVolume
  2. {
  3. partial class frmMain
  4. {
  5. /// <summary>
  6. /// Required designer variable.
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// Clean up any resources being used.
  11. /// </summary>
  12. /// <param name="disposing">true if managed resources should be disposed; otherwise, 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 Form Designer generated code
  22. /// <summary>
  23. /// Required method for Designer support - do not modify
  24. /// the contents of this method with the code editor.
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.button1 = new System.Windows.Forms.Button();
  29. this.label1 = new System.Windows.Forms.Label();
  30. this.lb_volume = new System.Windows.Forms.Label();
  31. this.button2 = new System.Windows.Forms.Button();
  32. this.button3 = new System.Windows.Forms.Button();
  33. this.button4 = new System.Windows.Forms.Button();
  34. this.SuspendLayout();
  35. //
  36. // button1
  37. //
  38. this.button1.Location = new System.Drawing.Point(87, 142);
  39. this.button1.Name = "button1";
  40. this.button1.Size = new System.Drawing.Size(145, 44);
  41. this.button1.TabIndex = 0;
  42. this.button1.Text = "增大音量";
  43. this.button1.UseVisualStyleBackColor = true;
  44. this.button1.Click += new System.EventHandler(this.button1_Click);
  45. //
  46. // label1
  47. //
  48. this.label1.AutoSize = true;
  49. this.label1.Font = new System.Drawing.Font("SimSun", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  50. this.label1.Location = new System.Drawing.Point(137, 82);
  51. this.label1.Name = "label1";
  52. this.label1.Size = new System.Drawing.Size(115, 21);
  53. this.label1.TabIndex = 1;
  54. this.label1.Text = "当前音量:";
  55. //
  56. // lb_volume
  57. //
  58. this.lb_volume.AutoSize = true;
  59. this.lb_volume.Font = new System.Drawing.Font("SimSun", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  60. this.lb_volume.Location = new System.Drawing.Point(287, 82);
  61. this.lb_volume.Name = "lb_volume";
  62. this.lb_volume.Size = new System.Drawing.Size(0, 21);
  63. this.lb_volume.TabIndex = 2;
  64. //
  65. // button2
  66. //
  67. this.button2.Location = new System.Drawing.Point(304, 142);
  68. this.button2.Name = "button2";
  69. this.button2.Size = new System.Drawing.Size(145, 44);
  70. this.button2.TabIndex = 3;
  71. this.button2.Text = "减小音量";
  72. this.button2.UseVisualStyleBackColor = true;
  73. this.button2.Click += new System.EventHandler(this.button2_Click);
  74. //
  75. // button3
  76. //
  77. this.button3.Location = new System.Drawing.Point(521, 142);
  78. this.button3.Name = "button3";
  79. this.button3.Size = new System.Drawing.Size(145, 44);
  80. this.button3.TabIndex = 4;
  81. this.button3.Text = "静音";
  82. this.button3.UseVisualStyleBackColor = true;
  83. this.button3.Click += new System.EventHandler(this.button3_Click);
  84. //
  85. // button4
  86. //
  87. this.button4.Location = new System.Drawing.Point(304, 273);
  88. this.button4.Name = "button4";
  89. this.button4.Size = new System.Drawing.Size(145, 44);
  90. this.button4.TabIndex = 5;
  91. this.button4.Text = "方法2";
  92. this.button4.UseVisualStyleBackColor = true;
  93. this.button4.Click += new System.EventHandler(this.button4_Click);
  94. //
  95. // frmMain
  96. //
  97. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  98. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  99. this.ClientSize = new System.Drawing.Size(800, 450);
  100. this.Controls.Add(this.button4);
  101. this.Controls.Add(this.button3);
  102. this.Controls.Add(this.button2);
  103. this.Controls.Add(this.lb_volume);
  104. this.Controls.Add(this.label1);
  105. this.Controls.Add(this.button1);
  106. this.Name = "frmMain";
  107. this.Text = "Form1";
  108. this.ResumeLayout(false);
  109. this.PerformLayout();
  110. }
  111. #endregion
  112. private System.Windows.Forms.Button button1;
  113. private System.Windows.Forms.Label label1;
  114. private System.Windows.Forms.Label lb_volume;
  115. private System.Windows.Forms.Button button2;
  116. private System.Windows.Forms.Button button3;
  117. private System.Windows.Forms.Button button4;
  118. }
  119. }