CNumericUpDown.designer.cs 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. namespace Controls
  2. {
  3. partial class CNumericUpDown
  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_add = new System.Windows.Forms.Button();
  29. this.btn_sub = new System.Windows.Forms.Button();
  30. this.lbl_line = new System.Windows.Forms.Label();
  31. this.nud_value = new System.Windows.Forms.NumericUpDown();
  32. ((System.ComponentModel.ISupportInitialize)(this.nud_value)).BeginInit();
  33. this.SuspendLayout();
  34. //
  35. // btn_add
  36. //
  37. this.btn_add.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
  38. this.btn_add.BackColor = System.Drawing.Color.White;
  39. this.btn_add.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
  40. this.btn_add.FlatAppearance.BorderSize = 0;
  41. this.btn_add.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Gray;
  42. this.btn_add.FlatAppearance.MouseOverBackColor = System.Drawing.Color.DarkGray;
  43. this.btn_add.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  44. this.btn_add.Image = global::Controls.Properties.Resources.grayAdd;
  45. this.btn_add.Location = new System.Drawing.Point(119, 0);
  46. this.btn_add.Margin = new System.Windows.Forms.Padding(3, 6, 3, 6);
  47. this.btn_add.Name = "btn_add";
  48. this.btn_add.Size = new System.Drawing.Size(20, 23);
  49. this.btn_add.TabIndex = 7;
  50. this.btn_add.TabStop = false;
  51. this.btn_add.UseVisualStyleBackColor = false;
  52. this.btn_add.Click += new System.EventHandler(this.btn_add_Click);
  53. this.btn_add.MouseEnter += new System.EventHandler(this.btn_add_MouseEnter);
  54. this.btn_add.MouseLeave += new System.EventHandler(this.btn_add_MouseLeave);
  55. //
  56. // btn_sub
  57. //
  58. this.btn_sub.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
  59. this.btn_sub.BackColor = System.Drawing.Color.White;
  60. this.btn_sub.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
  61. this.btn_sub.FlatAppearance.BorderSize = 0;
  62. this.btn_sub.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Gray;
  63. this.btn_sub.FlatAppearance.MouseOverBackColor = System.Drawing.Color.DarkGray;
  64. this.btn_sub.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  65. this.btn_sub.Image = global::Controls.Properties.Resources.graySub;
  66. this.btn_sub.Location = new System.Drawing.Point(101, 0);
  67. this.btn_sub.Margin = new System.Windows.Forms.Padding(14, 20, 14, 20);
  68. this.btn_sub.Name = "btn_sub";
  69. this.btn_sub.Size = new System.Drawing.Size(20, 23);
  70. this.btn_sub.TabIndex = 6;
  71. this.btn_sub.TabStop = false;
  72. this.btn_sub.UseVisualStyleBackColor = false;
  73. this.btn_sub.Click += new System.EventHandler(this.btn_sub_Click);
  74. this.btn_sub.MouseEnter += new System.EventHandler(this.btn_sub_MouseEnter);
  75. this.btn_sub.MouseLeave += new System.EventHandler(this.btn_sub_MouseLeave);
  76. //
  77. // lbl_line
  78. //
  79. this.lbl_line.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
  80. | System.Windows.Forms.AnchorStyles.Right)));
  81. this.lbl_line.BackColor = System.Drawing.Color.Gray;
  82. this.lbl_line.Location = new System.Drawing.Point(3, 24);
  83. this.lbl_line.Name = "lbl_line";
  84. this.lbl_line.Size = new System.Drawing.Size(137, 1);
  85. this.lbl_line.TabIndex = 5;
  86. //
  87. // nud_value
  88. //
  89. this.nud_value.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  90. | System.Windows.Forms.AnchorStyles.Left)
  91. | System.Windows.Forms.AnchorStyles.Right)));
  92. this.nud_value.BorderStyle = System.Windows.Forms.BorderStyle.None;
  93. this.nud_value.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
  94. this.nud_value.Location = new System.Drawing.Point(6, 4);
  95. this.nud_value.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  96. this.nud_value.Name = "nud_value";
  97. this.nud_value.Size = new System.Drawing.Size(130, 19);
  98. this.nud_value.TabIndex = 8;
  99. this.nud_value.ValueChanged += new System.EventHandler(this.nud_value_ValueChanged);
  100. //
  101. // CNumericUpDown
  102. //
  103. this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
  104. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  105. this.BackColor = System.Drawing.Color.White;
  106. this.Controls.Add(this.btn_add);
  107. this.Controls.Add(this.btn_sub);
  108. this.Controls.Add(this.lbl_line);
  109. this.Controls.Add(this.nud_value);
  110. this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  111. this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  112. this.MaximumSize = new System.Drawing.Size(300, 26);
  113. this.MinimumSize = new System.Drawing.Size(50, 26);
  114. this.Name = "CNumericUpDown";
  115. this.Size = new System.Drawing.Size(140, 26);
  116. this.Enter += new System.EventHandler(this.UserControl1_Enter);
  117. this.Leave += new System.EventHandler(this.UserControl1_Leave);
  118. ((System.ComponentModel.ISupportInitialize)(this.nud_value)).EndInit();
  119. this.ResumeLayout(false);
  120. }
  121. #endregion
  122. private System.Windows.Forms.Button btn_add;
  123. private System.Windows.Forms.Button btn_sub;
  124. private System.Windows.Forms.Label lbl_line;
  125. private System.Windows.Forms.NumericUpDown nud_value;
  126. }
  127. }