Mercurial > pub > bltoolkit
comparison Demo/WinForms/Forms/MainForm.Designer.cs @ 0:f990fcb411a9
Копия текущей версии из github
author | cin |
---|---|
date | Thu, 27 Mar 2014 21:46:09 +0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f990fcb411a9 |
---|---|
1 namespace BLToolkit.Demo.Forms | |
2 { | |
3 partial class MainForm | |
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 Windows Form 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.components = new System.ComponentModel.Container(); | |
32 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); | |
33 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); | |
34 this.personGridView = new System.Windows.Forms.DataGridView(); | |
35 this.toolStripContainer = new System.Windows.Forms.ToolStripContainer(); | |
36 this.menu = new System.Windows.Forms.MenuStrip(); | |
37 this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | |
38 this.exitMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | |
39 this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | |
40 this.newMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | |
41 this.editMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | |
42 this.deleteMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | |
43 this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | |
44 this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | |
45 this.tool = new System.Windows.Forms.ToolStrip(); | |
46 this.newToolStripButton = new System.Windows.Forms.ToolStripButton(); | |
47 this.editToolStripButton = new System.Windows.Forms.ToolStripButton(); | |
48 this.deleteToolStripButton = new System.Windows.Forms.ToolStripButton(); | |
49 this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); | |
50 this.helpToolStripButton = new System.Windows.Forms.ToolStripButton(); | |
51 this.iDDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |
52 this.fullNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |
53 this.genderDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |
54 this.personBinder = new BLToolkit.ComponentModel.ObjectBinder(this.components); | |
55 ((System.ComponentModel.ISupportInitialize)(this.personGridView)).BeginInit(); | |
56 this.toolStripContainer.ContentPanel.SuspendLayout(); | |
57 this.toolStripContainer.TopToolStripPanel.SuspendLayout(); | |
58 this.toolStripContainer.SuspendLayout(); | |
59 this.menu.SuspendLayout(); | |
60 this.tool.SuspendLayout(); | |
61 this.SuspendLayout(); | |
62 // | |
63 // personGridView | |
64 // | |
65 this.personGridView.AllowUserToOrderColumns = true; | |
66 this.personGridView.AutoGenerateColumns = false; | |
67 this.personGridView.BorderStyle = System.Windows.Forms.BorderStyle.None; | |
68 this.personGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; | |
69 this.personGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { | |
70 this.iDDataGridViewTextBoxColumn, | |
71 this.fullNameDataGridViewTextBoxColumn, | |
72 this.genderDataGridViewTextBoxColumn}); | |
73 this.personGridView.DataSource = this.personBinder; | |
74 this.personGridView.Dock = System.Windows.Forms.DockStyle.Fill; | |
75 this.personGridView.Location = new System.Drawing.Point(0, 0); | |
76 this.personGridView.Name = "personGridView"; | |
77 this.personGridView.Size = new System.Drawing.Size(615, 344); | |
78 this.personGridView.TabIndex = 0; | |
79 this.personGridView.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.personGridView_CellDoubleClick); | |
80 // | |
81 // toolStripContainer | |
82 // | |
83 // | |
84 // toolStripContainer.ContentPanel | |
85 // | |
86 this.toolStripContainer.ContentPanel.Controls.Add(this.personGridView); | |
87 this.toolStripContainer.ContentPanel.Size = new System.Drawing.Size(615, 344); | |
88 this.toolStripContainer.Dock = System.Windows.Forms.DockStyle.Fill; | |
89 this.toolStripContainer.Location = new System.Drawing.Point(0, 0); | |
90 this.toolStripContainer.Name = "toolStripContainer"; | |
91 this.toolStripContainer.Size = new System.Drawing.Size(615, 393); | |
92 this.toolStripContainer.TabIndex = 2; | |
93 this.toolStripContainer.Text = "toolStripContainer1"; | |
94 // | |
95 // toolStripContainer.TopToolStripPanel | |
96 // | |
97 this.toolStripContainer.TopToolStripPanel.Controls.Add(this.menu); | |
98 this.toolStripContainer.TopToolStripPanel.Controls.Add(this.tool); | |
99 // | |
100 // menu | |
101 // | |
102 this.menu.Dock = System.Windows.Forms.DockStyle.None; | |
103 this.menu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | |
104 this.fileToolStripMenuItem, | |
105 this.editToolStripMenuItem, | |
106 this.helpToolStripMenuItem}); | |
107 this.menu.Location = new System.Drawing.Point(0, 0); | |
108 this.menu.Name = "menu"; | |
109 this.menu.Size = new System.Drawing.Size(615, 24); | |
110 this.menu.TabIndex = 0; | |
111 this.menu.Text = "menuStrip1"; | |
112 // | |
113 // fileToolStripMenuItem | |
114 // | |
115 this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { | |
116 this.exitMenuItem}); | |
117 this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; | |
118 this.fileToolStripMenuItem.Size = new System.Drawing.Size(40, 20); | |
119 this.fileToolStripMenuItem.Text = "&File"; | |
120 // | |
121 // exitMenuItem | |
122 // | |
123 this.exitMenuItem.Name = "exitMenuItem"; | |
124 this.exitMenuItem.Size = new System.Drawing.Size(109, 22); | |
125 this.exitMenuItem.Text = "E&xit"; | |
126 this.exitMenuItem.Click += new System.EventHandler(this.exit_Click); | |
127 // | |
128 // editToolStripMenuItem | |
129 // | |
130 this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { | |
131 this.newMenuItem, | |
132 this.editMenuItem, | |
133 this.deleteMenuItem}); | |
134 this.editToolStripMenuItem.Name = "editToolStripMenuItem"; | |
135 this.editToolStripMenuItem.Size = new System.Drawing.Size(41, 20); | |
136 this.editToolStripMenuItem.Text = "&Edit"; | |
137 // | |
138 // newMenuItem | |
139 // | |
140 this.newMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("newMenuItem.Image"))); | |
141 this.newMenuItem.Name = "newMenuItem"; | |
142 this.newMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N))); | |
143 this.newMenuItem.Size = new System.Drawing.Size(158, 22); | |
144 this.newMenuItem.Text = "&New"; | |
145 this.newMenuItem.Click += new System.EventHandler(this.new_Click); | |
146 // | |
147 // editMenuItem | |
148 // | |
149 this.editMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("editMenuItem.Image"))); | |
150 this.editMenuItem.Name = "editMenuItem"; | |
151 this.editMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E))); | |
152 this.editMenuItem.Size = new System.Drawing.Size(158, 22); | |
153 this.editMenuItem.Text = "&Edit"; | |
154 this.editMenuItem.Click += new System.EventHandler(this.edit_Click); | |
155 // | |
156 // deleteMenuItem | |
157 // | |
158 this.deleteMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("deleteMenuItem.Image"))); | |
159 this.deleteMenuItem.Name = "deleteMenuItem"; | |
160 this.deleteMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Delete; | |
161 this.deleteMenuItem.Size = new System.Drawing.Size(158, 22); | |
162 this.deleteMenuItem.Text = "&Delete"; | |
163 this.deleteMenuItem.Click += new System.EventHandler(this.delete_Click); | |
164 // | |
165 // helpToolStripMenuItem | |
166 // | |
167 this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { | |
168 this.aboutToolStripMenuItem}); | |
169 this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; | |
170 this.helpToolStripMenuItem.Size = new System.Drawing.Size(45, 20); | |
171 this.helpToolStripMenuItem.Text = "&Help"; | |
172 // | |
173 // aboutToolStripMenuItem | |
174 // | |
175 this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; | |
176 this.aboutToolStripMenuItem.Size = new System.Drawing.Size(134, 22); | |
177 this.aboutToolStripMenuItem.Text = "&About"; | |
178 // | |
179 // tool | |
180 // | |
181 this.tool.Dock = System.Windows.Forms.DockStyle.None; | |
182 this.tool.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | |
183 this.newToolStripButton, | |
184 this.editToolStripButton, | |
185 this.deleteToolStripButton, | |
186 this.toolStripSeparator7, | |
187 this.helpToolStripButton}); | |
188 this.tool.Location = new System.Drawing.Point(3, 24); | |
189 this.tool.Name = "tool"; | |
190 this.tool.Size = new System.Drawing.Size(110, 25); | |
191 this.tool.TabIndex = 1; | |
192 this.tool.Text = "toolStrip1"; | |
193 // | |
194 // newToolStripButton | |
195 // | |
196 this.newToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | |
197 this.newToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripButton.Image"))); | |
198 this.newToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; | |
199 this.newToolStripButton.Name = "newToolStripButton"; | |
200 this.newToolStripButton.Size = new System.Drawing.Size(23, 22); | |
201 this.newToolStripButton.Text = "&New"; | |
202 this.newToolStripButton.Click += new System.EventHandler(this.new_Click); | |
203 // | |
204 // editToolStripButton | |
205 // | |
206 this.editToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | |
207 this.editToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("editToolStripButton.Image"))); | |
208 this.editToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; | |
209 this.editToolStripButton.Name = "editToolStripButton"; | |
210 this.editToolStripButton.Size = new System.Drawing.Size(23, 22); | |
211 this.editToolStripButton.Text = "&Edit"; | |
212 this.editToolStripButton.Click += new System.EventHandler(this.edit_Click); | |
213 // | |
214 // deleteToolStripButton | |
215 // | |
216 this.deleteToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | |
217 this.deleteToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("deleteToolStripButton.Image"))); | |
218 this.deleteToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; | |
219 this.deleteToolStripButton.Name = "deleteToolStripButton"; | |
220 this.deleteToolStripButton.Size = new System.Drawing.Size(23, 22); | |
221 this.deleteToolStripButton.Text = "&Delete"; | |
222 this.deleteToolStripButton.Click += new System.EventHandler(this.delete_Click); | |
223 // | |
224 // toolStripSeparator7 | |
225 // | |
226 this.toolStripSeparator7.Name = "toolStripSeparator7"; | |
227 this.toolStripSeparator7.Size = new System.Drawing.Size(6, 25); | |
228 // | |
229 // helpToolStripButton | |
230 // | |
231 this.helpToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | |
232 this.helpToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("helpToolStripButton.Image"))); | |
233 this.helpToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; | |
234 this.helpToolStripButton.Name = "helpToolStripButton"; | |
235 this.helpToolStripButton.Size = new System.Drawing.Size(23, 22); | |
236 this.helpToolStripButton.Text = "He&lp"; | |
237 // | |
238 // iDDataGridViewTextBoxColumn | |
239 // | |
240 this.iDDataGridViewTextBoxColumn.DataPropertyName = "ID"; | |
241 dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; | |
242 dataGridViewCellStyle1.Padding = new System.Windows.Forms.Padding(0, 0, 5, 0); | |
243 this.iDDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1; | |
244 this.iDDataGridViewTextBoxColumn.HeaderText = "ID"; | |
245 this.iDDataGridViewTextBoxColumn.MinimumWidth = 20; | |
246 this.iDDataGridViewTextBoxColumn.Name = "iDDataGridViewTextBoxColumn"; | |
247 // | |
248 // fullNameDataGridViewTextBoxColumn | |
249 // | |
250 this.fullNameDataGridViewTextBoxColumn.DataPropertyName = "FullName"; | |
251 this.fullNameDataGridViewTextBoxColumn.HeaderText = "Name"; | |
252 this.fullNameDataGridViewTextBoxColumn.Name = "fullNameDataGridViewTextBoxColumn"; | |
253 this.fullNameDataGridViewTextBoxColumn.ReadOnly = true; | |
254 this.fullNameDataGridViewTextBoxColumn.Width = 250; | |
255 // | |
256 // genderDataGridViewTextBoxColumn | |
257 // | |
258 this.genderDataGridViewTextBoxColumn.DataPropertyName = "Gender"; | |
259 this.genderDataGridViewTextBoxColumn.FillWeight = 200F; | |
260 this.genderDataGridViewTextBoxColumn.HeaderText = "Gender"; | |
261 this.genderDataGridViewTextBoxColumn.Name = "genderDataGridViewTextBoxColumn"; | |
262 // | |
263 // personBinder | |
264 // | |
265 this.personBinder.AllowEdit = false; | |
266 this.personBinder.AllowNew = false; | |
267 this.personBinder.AllowRemove = false; | |
268 this.personBinder.IsNull = null; | |
269 this.personBinder.ItemType = typeof(BLToolkit.Demo.ObjectModel.Person); | |
270 // | |
271 // MainForm | |
272 // | |
273 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); | |
274 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | |
275 this.ClientSize = new System.Drawing.Size(615, 393); | |
276 this.Controls.Add(this.toolStripContainer); | |
277 this.MainMenuStrip = this.menu; | |
278 this.Name = "MainForm"; | |
279 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | |
280 this.Text = "Business Logic Toolkit Demo"; | |
281 ((System.ComponentModel.ISupportInitialize)(this.personGridView)).EndInit(); | |
282 this.toolStripContainer.ContentPanel.ResumeLayout(false); | |
283 this.toolStripContainer.TopToolStripPanel.ResumeLayout(false); | |
284 this.toolStripContainer.TopToolStripPanel.PerformLayout(); | |
285 this.toolStripContainer.ResumeLayout(false); | |
286 this.toolStripContainer.PerformLayout(); | |
287 this.menu.ResumeLayout(false); | |
288 this.menu.PerformLayout(); | |
289 this.tool.ResumeLayout(false); | |
290 this.tool.PerformLayout(); | |
291 this.ResumeLayout(false); | |
292 | |
293 } | |
294 | |
295 #endregion | |
296 | |
297 private BLToolkit.ComponentModel.ObjectBinder personBinder; | |
298 private System.Windows.Forms.DataGridView personGridView; | |
299 private System.Windows.Forms.ToolStripContainer toolStripContainer; | |
300 private System.Windows.Forms.MenuStrip menu; | |
301 private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem; | |
302 private System.Windows.Forms.ToolStripMenuItem exitMenuItem; | |
303 private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem; | |
304 private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem; | |
305 private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem; | |
306 private System.Windows.Forms.ToolStrip tool; | |
307 private System.Windows.Forms.ToolStripButton newToolStripButton; | |
308 private System.Windows.Forms.ToolStripButton editToolStripButton; | |
309 private System.Windows.Forms.ToolStripButton deleteToolStripButton; | |
310 private System.Windows.Forms.ToolStripSeparator toolStripSeparator7; | |
311 private System.Windows.Forms.ToolStripButton helpToolStripButton; | |
312 private System.Windows.Forms.ToolStripMenuItem deleteMenuItem; | |
313 private System.Windows.Forms.ToolStripMenuItem editMenuItem; | |
314 private System.Windows.Forms.ToolStripMenuItem newMenuItem; | |
315 private System.Windows.Forms.DataGridViewTextBoxColumn iDDataGridViewTextBoxColumn; | |
316 private System.Windows.Forms.DataGridViewTextBoxColumn fullNameDataGridViewTextBoxColumn; | |
317 private System.Windows.Forms.DataGridViewTextBoxColumn genderDataGridViewTextBoxColumn; | |
318 } | |
319 } |