0
|
1 namespace BLToolkit.Demo.Forms
|
|
2 {
|
|
3 partial class EditPersonForm
|
|
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 this.firstNameTextBox = new System.Windows.Forms.TextBox();
|
|
33 this.personBinder = new BLToolkit.ComponentModel.ObjectBinder(this.components);
|
|
34 this.firstNameLabel = new System.Windows.Forms.Label();
|
|
35 this.middleNameLabel = new System.Windows.Forms.Label();
|
|
36 this.middleNameTextBox = new System.Windows.Forms.TextBox();
|
|
37 this.lastNameLabel = new System.Windows.Forms.Label();
|
|
38 this.lastNameTextBox = new System.Windows.Forms.TextBox();
|
|
39 this.okButton = new System.Windows.Forms.Button();
|
|
40 this.cancelButton = new System.Windows.Forms.Button();
|
|
41 this.genderSelector = new BLToolkit.Demo.Controls.EnumSelector(this.components);
|
|
42 this.SuspendLayout();
|
|
43 //
|
|
44 // firstNameTextBox
|
|
45 //
|
|
46 this.firstNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.personBinder, "FirstName", true));
|
|
47 this.firstNameTextBox.Location = new System.Drawing.Point(90, 12);
|
|
48 this.firstNameTextBox.Name = "firstNameTextBox";
|
|
49 this.firstNameTextBox.Size = new System.Drawing.Size(160, 20);
|
|
50 this.firstNameTextBox.TabIndex = 2;
|
|
51 //
|
|
52 // personBinder
|
|
53 //
|
|
54 this.personBinder.IsNull = null;
|
|
55 this.personBinder.ItemType = typeof(BLToolkit.Demo.ObjectModel.Person);
|
|
56 this.personBinder.ObjectViewType = typeof(BLToolkit.Demo.Forms.ObjectViews.PersonView);
|
|
57 //
|
|
58 // firstNameLabel
|
|
59 //
|
|
60 this.firstNameLabel.AutoSize = true;
|
|
61 this.firstNameLabel.Location = new System.Drawing.Point(12, 15);
|
|
62 this.firstNameLabel.Name = "firstNameLabel";
|
|
63 this.firstNameLabel.Size = new System.Drawing.Size(60, 13);
|
|
64 this.firstNameLabel.TabIndex = 1;
|
|
65 this.firstNameLabel.Text = "First Name:";
|
|
66 //
|
|
67 // middleNameLabel
|
|
68 //
|
|
69 this.middleNameLabel.AutoSize = true;
|
|
70 this.middleNameLabel.Location = new System.Drawing.Point(12, 47);
|
|
71 this.middleNameLabel.Name = "middleNameLabel";
|
|
72 this.middleNameLabel.Size = new System.Drawing.Size(72, 13);
|
|
73 this.middleNameLabel.TabIndex = 3;
|
|
74 this.middleNameLabel.Text = "Middle Name:";
|
|
75 //
|
|
76 // middleNameTextBox
|
|
77 //
|
|
78 this.middleNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.personBinder, "MiddleName", true));
|
|
79 this.middleNameTextBox.Location = new System.Drawing.Point(90, 44);
|
|
80 this.middleNameTextBox.Name = "middleNameTextBox";
|
|
81 this.middleNameTextBox.Size = new System.Drawing.Size(160, 20);
|
|
82 this.middleNameTextBox.TabIndex = 4;
|
|
83 //
|
|
84 // lastNameLabel
|
|
85 //
|
|
86 this.lastNameLabel.AutoSize = true;
|
|
87 this.lastNameLabel.Location = new System.Drawing.Point(12, 80);
|
|
88 this.lastNameLabel.Name = "lastNameLabel";
|
|
89 this.lastNameLabel.Size = new System.Drawing.Size(61, 13);
|
|
90 this.lastNameLabel.TabIndex = 5;
|
|
91 this.lastNameLabel.Text = "Last Name:";
|
|
92 //
|
|
93 // lastNameTextBox
|
|
94 //
|
|
95 this.lastNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.personBinder, "LastName", true));
|
|
96 this.lastNameTextBox.Location = new System.Drawing.Point(90, 77);
|
|
97 this.lastNameTextBox.Name = "lastNameTextBox";
|
|
98 this.lastNameTextBox.Size = new System.Drawing.Size(160, 20);
|
|
99 this.lastNameTextBox.TabIndex = 6;
|
|
100 //
|
|
101 // okButton
|
|
102 //
|
|
103 this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|
104 this.okButton.Location = new System.Drawing.Point(33, 235);
|
|
105 this.okButton.Name = "okButton";
|
|
106 this.okButton.Size = new System.Drawing.Size(75, 23);
|
|
107 this.okButton.TabIndex = 100;
|
|
108 this.okButton.Text = "Save";
|
|
109 this.okButton.UseVisualStyleBackColor = true;
|
|
110 //
|
|
111 // cancelButton
|
|
112 //
|
|
113 this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
114 this.cancelButton.Location = new System.Drawing.Point(157, 235);
|
|
115 this.cancelButton.Name = "cancelButton";
|
|
116 this.cancelButton.Size = new System.Drawing.Size(75, 23);
|
|
117 this.cancelButton.TabIndex = 101;
|
|
118 this.cancelButton.Text = "Cancel";
|
|
119 this.cancelButton.UseVisualStyleBackColor = true;
|
|
120 //
|
|
121 // genderSelector
|
|
122 //
|
|
123 this.genderSelector.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.personBinder, "Gender", true));
|
|
124 this.genderSelector.Location = new System.Drawing.Point(90, 103);
|
|
125 this.genderSelector.Name = "genderSelector";
|
|
126 this.genderSelector.Size = new System.Drawing.Size(102, 113);
|
|
127 this.genderSelector.TabIndex = 7;
|
|
128 this.genderSelector.TabStop = false;
|
|
129 this.genderSelector.Text = "Gender";
|
|
130 this.genderSelector.Value = -1;
|
|
131 this.genderSelector.ValueType = typeof(BLToolkit.Demo.ObjectModel.Gender);
|
|
132 //
|
|
133 // EditPersonForm
|
|
134 //
|
|
135 this.AcceptButton = this.okButton;
|
|
136 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
137 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
138 this.CancelButton = this.cancelButton;
|
|
139 this.ClientSize = new System.Drawing.Size(269, 268);
|
|
140 this.Controls.Add(this.cancelButton);
|
|
141 this.Controls.Add(this.okButton);
|
|
142 this.Controls.Add(this.genderSelector);
|
|
143 this.Controls.Add(this.lastNameLabel);
|
|
144 this.Controls.Add(this.middleNameLabel);
|
|
145 this.Controls.Add(this.firstNameLabel);
|
|
146 this.Controls.Add(this.lastNameTextBox);
|
|
147 this.Controls.Add(this.middleNameTextBox);
|
|
148 this.Controls.Add(this.firstNameTextBox);
|
|
149 this.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.personBinder, "FormTitle", true));
|
|
150 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
151 this.MaximizeBox = false;
|
|
152 this.MinimizeBox = false;
|
|
153 this.Name = "EditPersonForm";
|
|
154 this.ShowIcon = false;
|
|
155 this.ShowInTaskbar = false;
|
|
156 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
157 this.Text = "Edit Person";
|
|
158 this.ResumeLayout(false);
|
|
159 this.PerformLayout();
|
|
160
|
|
161 }
|
|
162
|
|
163 #endregion
|
|
164
|
|
165 private BLToolkit.ComponentModel.ObjectBinder personBinder;
|
|
166 private System.Windows.Forms.TextBox firstNameTextBox;
|
|
167 private System.Windows.Forms.Label firstNameLabel;
|
|
168 private System.Windows.Forms.Label middleNameLabel;
|
|
169 private System.Windows.Forms.TextBox middleNameTextBox;
|
|
170 private System.Windows.Forms.Label lastNameLabel;
|
|
171 private System.Windows.Forms.TextBox lastNameTextBox;
|
|
172 private System.Windows.Forms.Button okButton;
|
|
173 private System.Windows.Forms.Button cancelButton;
|
|
174 private BLToolkit.Demo.Controls.EnumSelector genderSelector;
|
|
175 }
|
|
176 } |