MetroMenuElement.designer.cs 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. namespace PaintDotNet.Preview2
  2. {
  3. partial class MetroMenuElement
  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.lbTitle = new System.Windows.Forms.Label();
  29. this.picIcon = new System.Windows.Forms.PictureBox();
  30. ((System.ComponentModel.ISupportInitialize)(this.picIcon)).BeginInit();
  31. this.SuspendLayout();
  32. //
  33. // lbTitle
  34. //
  35. this.lbTitle.BackColor = System.Drawing.Color.Transparent;
  36. this.lbTitle.Dock = System.Windows.Forms.DockStyle.Fill;
  37. this.lbTitle.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  38. this.lbTitle.ForeColor = System.Drawing.Color.Black;
  39. this.lbTitle.Location = new System.Drawing.Point(2, 38);
  40. this.lbTitle.Name = "lbTitle";
  41. this.lbTitle.Size = new System.Drawing.Size(51, 17);
  42. this.lbTitle.TabIndex = 1;
  43. this.lbTitle.Text = "Regions";
  44. this.lbTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  45. //
  46. // picIcon
  47. //
  48. this.picIcon.BackColor = System.Drawing.Color.Transparent;
  49. this.picIcon.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
  50. this.picIcon.Dock = System.Windows.Forms.DockStyle.Top;
  51. this.picIcon.Location = new System.Drawing.Point(2, 6);
  52. this.picIcon.Name = "picIcon";
  53. this.picIcon.Size = new System.Drawing.Size(51, 32);
  54. this.picIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
  55. this.picIcon.TabIndex = 0;
  56. this.picIcon.TabStop = false;
  57. //
  58. // MetroMenuElement
  59. //
  60. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  61. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  62. this.BackColor = System.Drawing.Color.Transparent;
  63. this.Controls.Add(this.lbTitle);
  64. this.Controls.Add(this.picIcon);
  65. this.Name = "MetroMenuElement";
  66. this.Padding = new System.Windows.Forms.Padding(2, 6, 2, 6);
  67. this.Size = new System.Drawing.Size(55, 61);
  68. this.Click += new System.EventHandler(this.MetroMenuElement_Click);
  69. this.MouseEnter += new System.EventHandler(this.MetroMenuElement_MouseEnter);
  70. this.MouseLeave += new System.EventHandler(this.MetroMenuElement_MouseLeave);
  71. ((System.ComponentModel.ISupportInitialize)(this.picIcon)).EndInit();
  72. this.ResumeLayout(false);
  73. }
  74. #endregion
  75. private System.Windows.Forms.PictureBox picIcon;
  76. private System.Windows.Forms.Label lbTitle;
  77. }
  78. }