UCBtnExt.Designer.cs 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. // ***********************************************************************
  2. // Assembly : HZH_Controls
  3. // Created : 08-08-2019
  4. //
  5. // ***********************************************************************
  6. // <copyright file="UCBtnExt.Designer.cs">
  7. // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
  8. // </copyright>
  9. //
  10. // Blog: https://www.cnblogs.com/bfyx
  11. // GitHub:https://github.com/kwwwvagaa/NetWinformControl
  12. // gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
  13. //
  14. // If you use this code, please keep this note.
  15. // ***********************************************************************
  16. namespace HZH_Controls.Controls
  17. {
  18. /// <summary>
  19. /// Class UCBtnExt.
  20. /// Implements the <see cref="HZH_Controls.Controls.UCControlBase" />
  21. /// </summary>
  22. /// <seealso cref="HZH_Controls.Controls.UCControlBase" />
  23. public partial class UCBtnExt
  24. {
  25. /// <summary>
  26. /// 必需的设计器变量。
  27. /// </summary>
  28. private System.ComponentModel.IContainer components = null;
  29. /// <summary>
  30. /// 清理所有正在使用的资源。
  31. /// </summary>
  32. /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
  33. protected override void Dispose(bool disposing)
  34. {
  35. if (disposing && (components != null))
  36. {
  37. components.Dispose();
  38. }
  39. base.Dispose(disposing);
  40. }
  41. #region 组件设计器生成的代码
  42. /// <summary>
  43. /// 设计器支持所需的方法 - 不要
  44. /// 使用代码编辑器修改此方法的内容。
  45. /// </summary>
  46. private void InitializeComponent()
  47. {
  48. this.lbl = new System.Windows.Forms.Label();
  49. this.lblTips = new System.Windows.Forms.Label();
  50. this.SuspendLayout();
  51. //
  52. // lbl
  53. //
  54. this.lbl.BackColor = System.Drawing.Color.Transparent;
  55. this.lbl.Dock = System.Windows.Forms.DockStyle.Fill;
  56. this.lbl.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  57. this.lbl.ForeColor = System.Drawing.Color.White;
  58. this.lbl.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
  59. this.lbl.Location = new System.Drawing.Point(0, 0);
  60. this.lbl.Name = "lbl";
  61. this.lbl.Size = new System.Drawing.Size(184, 60);
  62. this.lbl.TabIndex = 0;
  63. this.lbl.Text = "自定义按钮";
  64. this.lbl.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  65. this.lbl.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lbl_MouseDown);
  66. //
  67. // lblTips
  68. //
  69. this.lblTips.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
  70. this.lblTips.BackColor = System.Drawing.Color.Transparent;
  71. this.lblTips.Font = new System.Drawing.Font("Arial Unicode MS", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  72. this.lblTips.ForeColor = System.Drawing.Color.White;
  73. this.lblTips.ImageIndex = 0;
  74. this.lblTips.Location = new System.Drawing.Point(158, 0);
  75. this.lblTips.Name = "lblTips";
  76. this.lblTips.Size = new System.Drawing.Size(24, 24);
  77. this.lblTips.TabIndex = 1;
  78. this.lblTips.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  79. this.lblTips.Visible = false;
  80. //
  81. // UCBtnExt
  82. //
  83. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
  84. this.BackColor = System.Drawing.Color.Transparent;
  85. this.ConerRadius = 5;
  86. this.Controls.Add(this.lblTips);
  87. this.Controls.Add(this.lbl);
  88. this.Cursor = System.Windows.Forms.Cursors.Hand;
  89. this.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(59)))));
  90. this.IsRadius = true;
  91. this.IsShowRect = true;
  92. this.Margin = new System.Windows.Forms.Padding(0);
  93. this.Name = "UCBtnExt";
  94. this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(58)))));
  95. this.Size = new System.Drawing.Size(184, 60);
  96. this.ResumeLayout(false);
  97. }
  98. #endregion
  99. /// <summary>
  100. /// The label
  101. /// </summary>
  102. public System.Windows.Forms.Label lbl;
  103. /// <summary>
  104. /// The label tips
  105. /// </summary>
  106. private System.Windows.Forms.Label lblTips;
  107. }
  108. }