CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
PersonForm.Designer.cs
Go to the documentation of this file.
1namespace Csla.Test.Windows
2{
3 partial class PersonForm
4 {
8 private System.ComponentModel.IContainer components = null;
9
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
29 private void InitializeComponent()
30 {
31 this.components = new System.ComponentModel.Container();
32 System.Windows.Forms.Label authLevelLabel;
33 System.Windows.Forms.Label firstNameLabel;
34 System.Windows.Forms.Label lastNameLabel;
35 System.Windows.Forms.Label middleNameLabel;
36 System.Windows.Forms.Label placeOfBirthLabel;
37 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PersonForm));
38 this.editablePersonBindingSource = new System.Windows.Forms.BindingSource(this.components);
39 this.authLevelTextBox = new System.Windows.Forms.TextBox();
40 this.firstNameTextBox = new System.Windows.Forms.TextBox();
41 this.lastNameTextBox = new System.Windows.Forms.TextBox();
42 this.middleNameTextBox = new System.Windows.Forms.TextBox();
43 this.placeOfBirthTextBox = new System.Windows.Forms.TextBox();
45 this.SaveButton = new System.Windows.Forms.Button();
46 this.CloseButton = new System.Windows.Forms.Button();
47 this.CancelButton = new System.Windows.Forms.Button();
48 this.ValidateButton = new System.Windows.Forms.Button();
49 this.toolStrip1 = new System.Windows.Forms.ToolStrip();
50 this.saveToolStripButton = new System.Windows.Forms.ToolStripButton();
51 this.cancelToolStripButton = new System.Windows.Forms.ToolStripButton();
52 this.closeToolStripButton = new System.Windows.Forms.ToolStripButton();
53 this.validateToolStripButton = new System.Windows.Forms.ToolStripButton();
54 this.cslaActionExtender1 = new Csla.Windows.CslaActionExtender(this.components);
55 this.bindingSourceRefresh1 = new Csla.Windows.BindingSourceRefresh(this.components);
56 this.cslaActionExtenderToolStrip1 = new Csla.Windows.CslaActionExtenderToolStrip(this.components);
57 authLevelLabel = new System.Windows.Forms.Label();
58 firstNameLabel = new System.Windows.Forms.Label();
59 lastNameLabel = new System.Windows.Forms.Label();
60 middleNameLabel = new System.Windows.Forms.Label();
61 placeOfBirthLabel = new System.Windows.Forms.Label();
62 ((System.ComponentModel.ISupportInitialize)(this.editablePersonBindingSource)).BeginInit();
63 this.toolStrip1.SuspendLayout();
64 ((System.ComponentModel.ISupportInitialize)(this.bindingSourceRefresh1)).BeginInit();
65 this.SuspendLayout();
66 //
67 // authLevelLabel
68 //
69 this.readWriteAuthorization1.SetApplyAuthorization(authLevelLabel, false);
70 authLevelLabel.AutoSize = true;
71 authLevelLabel.Location = new System.Drawing.Point(36, 27);
72 authLevelLabel.Name = "authLevelLabel";
73 authLevelLabel.Size = new System.Drawing.Size(61, 13);
74 authLevelLabel.TabIndex = 1;
75 authLevelLabel.Text = "Auth Level:";
76 //
77 // firstNameLabel
78 //
79 this.readWriteAuthorization1.SetApplyAuthorization(firstNameLabel, false);
80 firstNameLabel.AutoSize = true;
81 firstNameLabel.Location = new System.Drawing.Point(36, 53);
82 firstNameLabel.Name = "firstNameLabel";
83 firstNameLabel.Size = new System.Drawing.Size(60, 13);
84 firstNameLabel.TabIndex = 3;
85 firstNameLabel.Text = "First Name:";
86 //
87 // lastNameLabel
88 //
89 this.readWriteAuthorization1.SetApplyAuthorization(lastNameLabel, false);
90 lastNameLabel.AutoSize = true;
91 lastNameLabel.Location = new System.Drawing.Point(36, 79);
92 lastNameLabel.Name = "lastNameLabel";
93 lastNameLabel.Size = new System.Drawing.Size(61, 13);
94 lastNameLabel.TabIndex = 5;
95 lastNameLabel.Text = "Last Name:";
96 //
97 // middleNameLabel
98 //
99 this.readWriteAuthorization1.SetApplyAuthorization(middleNameLabel, false);
100 middleNameLabel.AutoSize = true;
101 middleNameLabel.Location = new System.Drawing.Point(36, 105);
102 middleNameLabel.Name = "middleNameLabel";
103 middleNameLabel.Size = new System.Drawing.Size(72, 13);
104 middleNameLabel.TabIndex = 7;
105 middleNameLabel.Text = "Middle Name:";
106 //
107 // placeOfBirthLabel
108 //
109 this.readWriteAuthorization1.SetApplyAuthorization(placeOfBirthLabel, false);
110 placeOfBirthLabel.AutoSize = true;
111 placeOfBirthLabel.Location = new System.Drawing.Point(36, 131);
112 placeOfBirthLabel.Name = "placeOfBirthLabel";
113 placeOfBirthLabel.Size = new System.Drawing.Size(75, 13);
114 placeOfBirthLabel.TabIndex = 9;
115 placeOfBirthLabel.Text = "Place Of Birth:";
116 //
117 // editablePersonBindingSource
118 //
119 this.editablePersonBindingSource.DataSource = typeof(Csla.Test.Windows.EditablePerson);
120 this.bindingSourceRefresh1.SetReadValuesOnChange(this.editablePersonBindingSource, true);
121 this.editablePersonBindingSource.CurrentItemChanged += new System.EventHandler(this.editablePersonBindingSource_CurrentItemChanged);
122 //
123 // authLevelTextBox
124 //
125 this.readWriteAuthorization1.SetApplyAuthorization(this.authLevelTextBox, false);
126 this.authLevelTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.editablePersonBindingSource, "AuthLevel", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
127 this.authLevelTextBox.Location = new System.Drawing.Point(117, 24);
128 this.authLevelTextBox.Name = "authLevelTextBox";
129 this.authLevelTextBox.Size = new System.Drawing.Size(100, 20);
130 this.authLevelTextBox.TabIndex = 2;
131 //
132 // firstNameTextBox
133 //
134 this.readWriteAuthorization1.SetApplyAuthorization(this.firstNameTextBox, false);
135 this.firstNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.editablePersonBindingSource, "FirstName", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
136 this.firstNameTextBox.Location = new System.Drawing.Point(117, 50);
137 this.firstNameTextBox.Name = "firstNameTextBox";
138 this.firstNameTextBox.Size = new System.Drawing.Size(100, 20);
139 this.firstNameTextBox.TabIndex = 4;
140 //
141 // lastNameTextBox
142 //
143 this.readWriteAuthorization1.SetApplyAuthorization(this.lastNameTextBox, false);
144 this.lastNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.editablePersonBindingSource, "LastName", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
145 this.lastNameTextBox.Location = new System.Drawing.Point(117, 76);
146 this.lastNameTextBox.Name = "lastNameTextBox";
147 this.lastNameTextBox.Size = new System.Drawing.Size(100, 20);
148 this.lastNameTextBox.TabIndex = 6;
149 //
150 // middleNameTextBox
151 //
152 this.readWriteAuthorization1.SetApplyAuthorization(this.middleNameTextBox, false);
153 this.middleNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.editablePersonBindingSource, "MiddleName", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
154 this.middleNameTextBox.Location = new System.Drawing.Point(117, 102);
155 this.middleNameTextBox.Name = "middleNameTextBox";
156 this.middleNameTextBox.Size = new System.Drawing.Size(100, 20);
157 this.middleNameTextBox.TabIndex = 8;
158 //
159 // placeOfBirthTextBox
160 //
161 this.readWriteAuthorization1.SetApplyAuthorization(this.placeOfBirthTextBox, false);
162 this.placeOfBirthTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.editablePersonBindingSource, "PlaceOfBirth", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
163 this.placeOfBirthTextBox.Location = new System.Drawing.Point(117, 128);
164 this.placeOfBirthTextBox.Name = "placeOfBirthTextBox";
165 this.placeOfBirthTextBox.Size = new System.Drawing.Size(100, 20);
166 this.placeOfBirthTextBox.TabIndex = 10;
167 //
168 // SaveButton
169 //
170 this.cslaActionExtender1.SetActionType(this.SaveButton, Csla.Windows.CslaFormAction.Save);
171 this.readWriteAuthorization1.SetApplyAuthorization(this.SaveButton, false);
172 this.cslaActionExtender1.SetDisableWhenUseless(this.SaveButton, true);
173 this.SaveButton.Location = new System.Drawing.Point(12, 182);
174 this.SaveButton.Name = "SaveButton";
175 this.SaveButton.Size = new System.Drawing.Size(75, 23);
176 this.SaveButton.TabIndex = 11;
177 this.SaveButton.Text = "Save";
178 this.SaveButton.UseVisualStyleBackColor = true;
179 //
180 // CloseButton
181 //
182 this.cslaActionExtender1.SetActionType(this.CloseButton, Csla.Windows.CslaFormAction.Close);
183 this.readWriteAuthorization1.SetApplyAuthorization(this.CloseButton, false);
184 this.CloseButton.Location = new System.Drawing.Point(12, 211);
185 this.CloseButton.Name = "CloseButton";
186 this.CloseButton.Size = new System.Drawing.Size(75, 23);
187 this.CloseButton.TabIndex = 12;
188 this.CloseButton.Text = "Close";
189 this.CloseButton.UseVisualStyleBackColor = true;
190 //
191 // CancelButton
192 //
193 this.cslaActionExtender1.SetActionType(this.CancelButton, Csla.Windows.CslaFormAction.Cancel);
194 this.readWriteAuthorization1.SetApplyAuthorization(this.CancelButton, false);
195 this.cslaActionExtender1.SetDisableWhenUseless(this.CancelButton, true);
196 this.CancelButton.Location = new System.Drawing.Point(93, 182);
197 this.CancelButton.Name = "CancelButton";
198 this.CancelButton.Size = new System.Drawing.Size(75, 23);
199 this.CancelButton.TabIndex = 13;
200 this.CancelButton.Text = "Cancel";
201 this.CancelButton.UseVisualStyleBackColor = true;
202 //
203 // ValidateButton
204 //
205 this.cslaActionExtender1.SetActionType(this.ValidateButton, Csla.Windows.CslaFormAction.Validate);
206 this.readWriteAuthorization1.SetApplyAuthorization(this.ValidateButton, false);
207 this.ValidateButton.Location = new System.Drawing.Point(93, 211);
208 this.ValidateButton.Name = "ValidateButton";
209 this.ValidateButton.Size = new System.Drawing.Size(75, 23);
210 this.ValidateButton.TabIndex = 14;
211 this.ValidateButton.Text = "Validate";
212 this.ValidateButton.UseVisualStyleBackColor = true;
213 //
214 // toolStrip1
215 //
216 this.readWriteAuthorization1.SetApplyAuthorization(this.toolStrip1, false);
217 this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
218 this.saveToolStripButton,
219 this.cancelToolStripButton,
220 this.closeToolStripButton,
221 this.validateToolStripButton});
222 this.toolStrip1.Location = new System.Drawing.Point(0, 0);
223 this.toolStrip1.Name = "toolStrip1";
224 this.toolStrip1.Size = new System.Drawing.Size(292, 25);
225 this.toolStrip1.TabIndex = 15;
226 this.toolStrip1.Text = "toolStrip1";
227 //
228 // saveToolStripButton
229 //
230 this.cslaActionExtenderToolStrip1.SetActionType(this.saveToolStripButton, Csla.Windows.CslaFormAction.Save);
231 this.cslaActionExtenderToolStrip1.SetDisableWhenUseless(this.saveToolStripButton, true);
232 this.saveToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
233 this.saveToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripButton.Image")));
234 this.saveToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
235 this.saveToolStripButton.Name = "saveToolStripButton";
236 this.saveToolStripButton.Size = new System.Drawing.Size(23, 22);
237 this.saveToolStripButton.Text = "&Save";
238 //
239 // cancelToolStripButton
240 //
241 this.cslaActionExtenderToolStrip1.SetActionType(this.cancelToolStripButton, Csla.Windows.CslaFormAction.Cancel);
242 this.cslaActionExtenderToolStrip1.SetDisableWhenUseless(this.cancelToolStripButton, true);
243 this.cancelToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
244 this.cancelToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("cancelToolStripButton.Image")));
245 this.cancelToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
246 this.cancelToolStripButton.Name = "cancelToolStripButton";
247 this.cancelToolStripButton.Size = new System.Drawing.Size(23, 22);
248 this.cancelToolStripButton.Text = "&Print";
249 //
250 // closeToolStripButton
251 //
252 this.cslaActionExtenderToolStrip1.SetActionType(this.closeToolStripButton, Csla.Windows.CslaFormAction.Close);
253 this.closeToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
254 this.closeToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("closeToolStripButton.Image")));
255 this.closeToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
256 this.closeToolStripButton.Name = "closeToolStripButton";
257 this.closeToolStripButton.Size = new System.Drawing.Size(23, 22);
258 this.closeToolStripButton.Text = "&New";
259 //
260 // validateToolStripButton
261 //
262 this.validateToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
263 this.validateToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("validateToolStripButton.Image")));
264 this.validateToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
265 this.validateToolStripButton.Name = "validateToolStripButton";
266 this.validateToolStripButton.Size = new System.Drawing.Size(23, 22);
267 this.validateToolStripButton.Text = "&Open";
268 //
269 // cslaActionExtender1
270 //
271 this.cslaActionExtender1.DataSource = this.editablePersonBindingSource;
272 this.cslaActionExtender1.ObjectIsValidMessage = "Object is valid";
273 //
274 // cslaActionExtenderToolStrip1
275 //
276 this.cslaActionExtenderToolStrip1.DataSource = this.editablePersonBindingSource;
277 this.cslaActionExtenderToolStrip1.ObjectIsValidMessage = "Object is valid";
278 //
279 // PersonForm
280 //
281 this.readWriteAuthorization1.SetApplyAuthorization(this, false);
282 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
283 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
284 this.ClientSize = new System.Drawing.Size(292, 273);
285 this.Controls.Add(this.toolStrip1);
286 this.Controls.Add(this.ValidateButton);
287 this.Controls.Add(this.CancelButton);
288 this.Controls.Add(this.CloseButton);
289 this.Controls.Add(this.SaveButton);
290 this.Controls.Add(authLevelLabel);
291 this.Controls.Add(this.authLevelTextBox);
292 this.Controls.Add(firstNameLabel);
293 this.Controls.Add(this.firstNameTextBox);
294 this.Controls.Add(lastNameLabel);
295 this.Controls.Add(this.lastNameTextBox);
296 this.Controls.Add(middleNameLabel);
297 this.Controls.Add(this.middleNameTextBox);
298 this.Controls.Add(placeOfBirthLabel);
299 this.Controls.Add(this.placeOfBirthTextBox);
300 this.Name = "PersonForm";
301 this.Text = "PersonForm";
302 ((System.ComponentModel.ISupportInitialize)(this.editablePersonBindingSource)).EndInit();
303 this.toolStrip1.ResumeLayout(false);
304 this.toolStrip1.PerformLayout();
305 ((System.ComponentModel.ISupportInitialize)(this.bindingSourceRefresh1)).EndInit();
306 this.ResumeLayout(false);
307 this.PerformLayout();
308
309 }
310
311 #endregion
312
313 private System.Windows.Forms.BindingSource editablePersonBindingSource;
314 public System.Windows.Forms.TextBox authLevelTextBox;
315 public System.Windows.Forms.TextBox firstNameTextBox;
316 public System.Windows.Forms.TextBox lastNameTextBox;
317 public System.Windows.Forms.TextBox middleNameTextBox;
318 public System.Windows.Forms.TextBox placeOfBirthTextBox;
320 private Csla.Windows.CslaActionExtender cslaActionExtender1;
321 public System.Windows.Forms.Button SaveButton;
322 public System.Windows.Forms.Button CloseButton;
323#pragma warning disable CS0108
324 public System.Windows.Forms.Button CancelButton;
325#pragma warning restore CS0108
326 public System.Windows.Forms.Button ValidateButton;
328 private Csla.Windows.CslaActionExtenderToolStrip cslaActionExtenderToolStrip1;
329 private System.Windows.Forms.ToolStrip toolStrip1;
330 public System.Windows.Forms.ToolStripButton closeToolStripButton;
331 public System.Windows.Forms.ToolStripButton validateToolStripButton;
332 public System.Windows.Forms.ToolStripButton saveToolStripButton;
333 public System.Windows.Forms.ToolStripButton cancelToolStripButton;
334 }
335}
System.Windows.Forms.TextBox firstNameTextBox
System.Windows.Forms.TextBox authLevelTextBox
System.Windows.Forms.Button CancelButton
override void Dispose(bool disposing)
Clean up any resources being used.
System.Windows.Forms.Button ValidateButton
Csla.Windows.ReadWriteAuthorization readWriteAuthorization1
System.Windows.Forms.TextBox middleNameTextBox
System.Windows.Forms.Button SaveButton
Csla.Windows.BindingSourceRefresh bindingSourceRefresh1
System.Windows.Forms.ToolStripButton validateToolStripButton
System.Windows.Forms.ToolStripButton saveToolStripButton
System.Windows.Forms.TextBox placeOfBirthTextBox
System.Windows.Forms.ToolStripButton closeToolStripButton
System.Windows.Forms.Button CloseButton
System.Windows.Forms.TextBox lastNameTextBox
System.Windows.Forms.ToolStripButton cancelToolStripButton
BindingSourceRefresh contains functionality for refreshing the data bound to controls on Host as well...
Extender control providing automation around data binding to CSLA .NET business objects.
Extender control (for ToolStripButton only) providing automation around data binding to CSLA ....
Windows Forms extender control that automatically enables and disables detail form controls based on ...