CButton.Designer.cs 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. namespace Controls
  2. {
  3. partial class CButton
  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 组件设计器生成的代码
  22. /// <summary>
  23. /// 设计器支持所需的方法 - 不要
  24. /// 使用代码编辑器修改此方法的内容。
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.btn_button = new System.Windows.Forms.Button();
  29. this.SuspendLayout();
  30. //
  31. // btn_button
  32. //
  33. this.btn_button.BackgroundImage = global::Controls.Properties.Resources.ButtonUp;
  34. this.btn_button.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
  35. this.btn_button.Dock = System.Windows.Forms.DockStyle.Fill;
  36. this.btn_button.FlatAppearance.BorderSize = 0;
  37. this.btn_button.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  38. this.btn_button.ForeColor = System.Drawing.Color.White;
  39. this.btn_button.Location = new System.Drawing.Point(0, 0);
  40. this.btn_button.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  41. this.btn_button.Name = "btn_button";
  42. this.btn_button.Size = new System.Drawing.Size(67, 28);
  43. this.btn_button.TabIndex = 0;
  44. this.btn_button.Text = "Button";
  45. this.btn_button.UseVisualStyleBackColor = true;
  46. this.btn_button.Click += new System.EventHandler(this.btn_button_Click);
  47. this.btn_button.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btn_button_MouseDown);
  48. this.btn_button.MouseEnter += new System.EventHandler(this.btn_button_MouseEnter);
  49. this.btn_button.MouseLeave += new System.EventHandler(this.btn_button_MouseLeave);
  50. this.btn_button.MouseUp += new System.Windows.Forms.MouseEventHandler(this.btn_button_MouseUp);
  51. //
  52. // CButton
  53. //
  54. this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
  55. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  56. this.BackColor = System.Drawing.Color.White;
  57. this.Controls.Add(this.btn_button);
  58. this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  59. this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  60. this.Name = "CButton";
  61. this.Size = new System.Drawing.Size(67, 28);
  62. this.ResumeLayout(false);
  63. }
  64. #endregion
  65. private System.Windows.Forms.Button btn_button;
  66. }
  67. }