/[RomCheater]/trunk/Win32/libWin32/Win32/UI/NumericBoxBase.Designer.cs
ViewVC logotype

Annotation of /trunk/Win32/libWin32/Win32/UI/NumericBoxBase.Designer.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 903 - (hide annotations) (download)
Wed Sep 17 12:44:22 2014 UTC (7 years, 2 months ago) by william
File size: 5949 byte(s)
+ fix some issues with numeric input controls not properly sizing themselves

1 william 88 namespace System.Windows.Forms
2     {
3 william 220 partial class NumericBoxBase
4 william 88 {
5     /// <summary>
6     /// Required designer variable.
7     /// </summary>
8     private System.ComponentModel.IContainer components = null;
9    
10     /// <summary>
11     /// Clean up any resources being used.
12     /// </summary>
13     /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
14     protected override void Dispose(bool disposing)
15     {
16     if (disposing && (components != null))
17     {
18     components.Dispose();
19     }
20     base.Dispose(disposing);
21     }
22    
23     #region Component Designer generated code
24    
25     /// <summary>
26     /// Required method for Designer support - do not modify
27     /// the contents of this method with the code editor.
28     /// </summary>
29     private void InitializeComponent()
30     {
31     this.txtValueBox = new System.Windows.Forms.TextBox();
32     this.btnCopy = new System.Windows.Forms.Button();
33     this.btnPaste = new System.Windows.Forms.Button();
34 william 866 this.layout_panel = new System.Windows.Forms.FlowLayoutPanel();
35     this.layout_panel.SuspendLayout();
36 william 88 this.SuspendLayout();
37     //
38     // txtValueBox
39     //
40 william 866 this.txtValueBox.Font = new System.Drawing.Font("Lucida Console", 15.75F);
41     this.txtValueBox.Location = new System.Drawing.Point(0, 0);
42 william 88 this.txtValueBox.Margin = new System.Windows.Forms.Padding(0);
43     this.txtValueBox.Name = "txtValueBox";
44 william 903 this.txtValueBox.Size = new System.Drawing.Size(136, 28);
45 william 88 this.txtValueBox.TabIndex = 3;
46 william 866 this.txtValueBox.Text = "0";
47 william 88 this.txtValueBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
48 william 225 this.txtValueBox.TextChanged += new System.EventHandler(this.txtValueBox_TextChanged);
49 william 223 this.txtValueBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtValueBox_KeyDown);
50 william 88 //
51     // btnCopy
52     //
53     this.btnCopy.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
54     this.btnCopy.AutoSize = true;
55     this.btnCopy.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
56     this.btnCopy.Font = new System.Drawing.Font("Courier New", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
57 william 903 this.btnCopy.Location = new System.Drawing.Point(136, 0);
58 william 88 this.btnCopy.Margin = new System.Windows.Forms.Padding(0);
59     this.btnCopy.Name = "btnCopy";
60     this.btnCopy.Size = new System.Drawing.Size(28, 28);
61     this.btnCopy.TabIndex = 4;
62     this.btnCopy.Text = "C";
63     this.btnCopy.UseVisualStyleBackColor = true;
64     this.btnCopy.Click += new System.EventHandler(this.btnCopy_Click);
65     //
66     // btnPaste
67     //
68     this.btnPaste.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
69     this.btnPaste.AutoSize = true;
70     this.btnPaste.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
71     this.btnPaste.Font = new System.Drawing.Font("Courier New", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
72 william 903 this.btnPaste.Location = new System.Drawing.Point(164, 0);
73 william 88 this.btnPaste.Margin = new System.Windows.Forms.Padding(0);
74     this.btnPaste.Name = "btnPaste";
75     this.btnPaste.Size = new System.Drawing.Size(28, 28);
76     this.btnPaste.TabIndex = 5;
77     this.btnPaste.Text = "P";
78     this.btnPaste.UseVisualStyleBackColor = true;
79     this.btnPaste.Click += new System.EventHandler(this.btnPaste_Click);
80     //
81 william 866 // layout_panel
82     //
83     this.layout_panel.AutoSize = true;
84     this.layout_panel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
85     this.layout_panel.Controls.Add(this.txtValueBox);
86     this.layout_panel.Controls.Add(this.btnCopy);
87     this.layout_panel.Controls.Add(this.btnPaste);
88     this.layout_panel.Dock = System.Windows.Forms.DockStyle.Fill;
89     this.layout_panel.Location = new System.Drawing.Point(0, 0);
90 william 867 this.layout_panel.Margin = new System.Windows.Forms.Padding(0);
91 william 866 this.layout_panel.Name = "layout_panel";
92 william 903 this.layout_panel.Size = new System.Drawing.Size(192, 28);
93 william 866 this.layout_panel.TabIndex = 6;
94     //
95 william 220 // NumericBoxBase
96 william 88 //
97 william 866 this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 16F);
98 william 88 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
99     this.AutoSize = true;
100     this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
101 william 866 this.Controls.Add(this.layout_panel);
102     this.Font = new System.Drawing.Font("Lucida Console", 12F);
103 william 88 this.Margin = new System.Windows.Forms.Padding(0);
104 william 220 this.Name = "NumericBoxBase";
105 william 903 this.Size = new System.Drawing.Size(192, 28);
106 william 866 this.layout_panel.ResumeLayout(false);
107     this.layout_panel.PerformLayout();
108 william 88 this.ResumeLayout(false);
109     this.PerformLayout();
110    
111     }
112    
113     #endregion
114    
115     private System.Windows.Forms.TextBox txtValueBox;
116     private System.Windows.Forms.Button btnCopy;
117     private System.Windows.Forms.Button btnPaste;
118 william 866 private FlowLayoutPanel layout_panel;
119 william 88
120    
121     }
122     }

  ViewVC Help
Powered by ViewVC 1.1.22