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

Contents of /trunk/Win32/libWin32/Win32/UI/MaskedHexBox.Designer.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 658 - (show annotations) (download)
Mon Jun 17 02:21:26 2013 UTC (6 years, 8 months ago) by william
File size: 6726 byte(s)
+ update maskedHexBox using a tablelayoutpanel to auto-size the contents more efficiently

1 namespace System.Windows.Forms
2 {
3 partial class MaskedHexBox
4 {
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.txtMaskedHexBox = new System.Windows.Forms.MaskedTextBox();
32 this.btnCopy = new System.Windows.Forms.Button();
33 this.btnPaste = new System.Windows.Forms.Button();
34 this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
35 this.tableLayoutPanel1.SuspendLayout();
36 this.SuspendLayout();
37 //
38 // txtMaskedHexBox
39 //
40 this.txtMaskedHexBox.AsciiOnly = true;
41 this.txtMaskedHexBox.BeepOnError = true;
42 this.txtMaskedHexBox.CutCopyMaskFormat = System.Windows.Forms.MaskFormat.ExcludePromptAndLiterals;
43 this.txtMaskedHexBox.Dock = System.Windows.Forms.DockStyle.Fill;
44 this.txtMaskedHexBox.Font = new System.Drawing.Font("Lucida Console", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
45 this.txtMaskedHexBox.Location = new System.Drawing.Point(0, 0);
46 this.txtMaskedHexBox.Margin = new System.Windows.Forms.Padding(0);
47 this.txtMaskedHexBox.Name = "txtMaskedHexBox";
48 this.txtMaskedHexBox.PromptChar = '0';
49 this.txtMaskedHexBox.ResetOnPrompt = false;
50 this.txtMaskedHexBox.ResetOnSpace = false;
51 this.txtMaskedHexBox.Size = new System.Drawing.Size(61, 28);
52 this.txtMaskedHexBox.TabIndex = 0;
53 this.txtMaskedHexBox.Text = "0x00";
54 this.txtMaskedHexBox.MaskInputRejected += new System.Windows.Forms.MaskInputRejectedEventHandler(this.txtMaskedHexBox_MaskInputRejected);
55 this.txtMaskedHexBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtMaskedHexBox_KeyDown);
56 //
57 // btnCopy
58 //
59 this.btnCopy.AutoSize = true;
60 this.btnCopy.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
61 this.btnCopy.Font = new System.Drawing.Font("Courier New", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
62 this.btnCopy.Location = new System.Drawing.Point(61, 0);
63 this.btnCopy.Margin = new System.Windows.Forms.Padding(0);
64 this.btnCopy.Name = "btnCopy";
65 this.btnCopy.Size = new System.Drawing.Size(28, 25);
66 this.btnCopy.TabIndex = 1;
67 this.btnCopy.Text = "C";
68 this.btnCopy.UseVisualStyleBackColor = true;
69 this.btnCopy.Click += new System.EventHandler(this.btnCopy_Click);
70 //
71 // btnPaste
72 //
73 this.btnPaste.AutoSize = true;
74 this.btnPaste.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
75 this.btnPaste.Font = new System.Drawing.Font("Courier New", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
76 this.btnPaste.Location = new System.Drawing.Point(89, 0);
77 this.btnPaste.Margin = new System.Windows.Forms.Padding(0);
78 this.btnPaste.Name = "btnPaste";
79 this.btnPaste.Size = new System.Drawing.Size(28, 25);
80 this.btnPaste.TabIndex = 2;
81 this.btnPaste.Text = "P";
82 this.btnPaste.UseVisualStyleBackColor = true;
83 this.btnPaste.Click += new System.EventHandler(this.btnPaste_Click);
84 //
85 // tableLayoutPanel1
86 //
87 this.tableLayoutPanel1.ColumnCount = 3;
88 this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
89 this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
90 this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
91 this.tableLayoutPanel1.Controls.Add(this.txtMaskedHexBox, 0, 0);
92 this.tableLayoutPanel1.Controls.Add(this.btnCopy, 1, 0);
93 this.tableLayoutPanel1.Controls.Add(this.btnPaste, 2, 0);
94 this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
95 this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
96 this.tableLayoutPanel1.Name = "tableLayoutPanel1";
97 this.tableLayoutPanel1.RowCount = 1;
98 this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
99 this.tableLayoutPanel1.Size = new System.Drawing.Size(117, 25);
100 this.tableLayoutPanel1.TabIndex = 3;
101 //
102 // MaskedHexBox
103 //
104 this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 16F);
105 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
106 this.Controls.Add(this.tableLayoutPanel1);
107 this.Font = new System.Drawing.Font("Lucida Console", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
108 this.Margin = new System.Windows.Forms.Padding(0);
109 this.Name = "MaskedHexBox";
110 this.Size = new System.Drawing.Size(117, 25);
111 this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.MaskedHexBox_KeyDown);
112 this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.MaskedHexBox_KeyPress);
113 this.tableLayoutPanel1.ResumeLayout(false);
114 this.tableLayoutPanel1.PerformLayout();
115 this.ResumeLayout(false);
116
117 }
118
119 #endregion
120
121 private System.Windows.Forms.MaskedTextBox txtMaskedHexBox;
122 private Button btnCopy;
123 private Button btnPaste;
124 private TableLayoutPanel tableLayoutPanel1;
125 }
126 }

  ViewVC Help
Powered by ViewVC 1.1.22