개정판 4a18cb33
issue #000: 요청사항 추가 Main Form의 EquipmentTagNoSetting 과 PBSSetting을 새 Form을 추가하여 Load 및 저장하도록 변경
Change-Id: Id264d98b6779af3cc5a3d99f87e39dd2d1be4dcb
DTI_PID/DTI_PID.sln | ||
---|---|---|
1 | 1 |
|
2 | 2 |
Microsoft Visual Studio Solution File, Format Version 12.00 |
3 |
# Visual Studio Version 16
|
|
4 |
VisualStudioVersion = 16.0.29613.14
|
|
3 |
# Visual Studio 15
|
|
4 |
VisualStudioVersion = 15.0.28010.2016
|
|
5 | 5 |
MinimumVisualStudioVersion = 10.0.40219.1 |
6 | 6 |
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PDF_TO_IMAGE", "PDF_TO_IMAGE\PDF_TO_IMAGE.csproj", "{B7B8B0AE-9F03-4543-BC05-813A25E9D584}" |
7 | 7 |
EndProject |
DTI_PID/ID2PSN/Form/DBSettingForm.Designer.cs | ||
---|---|---|
93 | 93 |
this.ribbonControl.ExpandCollapseItem, |
94 | 94 |
this.ribbonControl.SearchEditItem}); |
95 | 95 |
this.ribbonControl.Location = new System.Drawing.Point(0, 0); |
96 |
this.ribbonControl.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); |
|
97 | 96 |
this.ribbonControl.MaxItemId = 1; |
98 | 97 |
this.ribbonControl.Name = "ribbonControl"; |
99 | 98 |
this.ribbonControl.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False; |
100 | 99 |
this.ribbonControl.ShowDisplayOptionsMenuButton = DevExpress.Utils.DefaultBoolean.False; |
101 | 100 |
this.ribbonControl.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.ShowOnMultiplePages; |
102 | 101 |
this.ribbonControl.ShowToolbarCustomizeItem = false; |
103 |
this.ribbonControl.Size = new System.Drawing.Size(548, 45);
|
|
102 |
this.ribbonControl.Size = new System.Drawing.Size(392, 32);
|
|
104 | 103 |
this.ribbonControl.Toolbar.ShowCustomizeItem = false; |
105 | 104 |
// |
106 | 105 |
// layoutControl1 |
... | ... | |
115 | 114 |
this.layoutControl1.Controls.Add(this.btnFolder); |
116 | 115 |
this.layoutControl1.Controls.Add(this.txID2Filepath); |
117 | 116 |
this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; |
118 |
this.layoutControl1.Location = new System.Drawing.Point(0, 45); |
|
119 |
this.layoutControl1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); |
|
117 |
this.layoutControl1.Location = new System.Drawing.Point(0, 32); |
|
120 | 118 |
this.layoutControl1.Name = "layoutControl1"; |
121 | 119 |
this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(963, 307, 650, 400); |
122 | 120 |
this.layoutControl1.Root = this.Root; |
123 |
this.layoutControl1.Size = new System.Drawing.Size(548, 427);
|
|
121 |
this.layoutControl1.Size = new System.Drawing.Size(392, 266);
|
|
124 | 122 |
this.layoutControl1.TabIndex = 1; |
125 | 123 |
this.layoutControl1.Text = "layoutControl1"; |
126 | 124 |
// |
127 | 125 |
// btnClose |
128 | 126 |
// |
129 | 127 |
this.btnClose.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnClose.ImageOptions.Image"))); |
130 |
this.btnClose.Location = new System.Drawing.Point(431, 330); |
|
131 |
this.btnClose.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); |
|
128 |
this.btnClose.Location = new System.Drawing.Point(310, 218); |
|
132 | 129 |
this.btnClose.Name = "btnClose"; |
133 |
this.btnClose.Size = new System.Drawing.Size(100, 57);
|
|
130 |
this.btnClose.Size = new System.Drawing.Size(70, 36);
|
|
134 | 131 |
this.btnClose.StyleController = this.layoutControl1; |
135 | 132 |
this.btnClose.TabIndex = 5; |
136 | 133 |
this.btnClose.Text = "Close"; |
... | ... | |
139 | 136 |
// btnSave |
140 | 137 |
// |
141 | 138 |
this.btnSave.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnSave.ImageOptions.Image"))); |
142 |
this.btnSave.Location = new System.Drawing.Point(299, 330); |
|
143 |
this.btnSave.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); |
|
139 |
this.btnSave.Location = new System.Drawing.Point(218, 218); |
|
144 | 140 |
this.btnSave.Name = "btnSave"; |
145 |
this.btnSave.Size = new System.Drawing.Size(97, 57);
|
|
141 |
this.btnSave.Size = new System.Drawing.Size(68, 36);
|
|
146 | 142 |
this.btnSave.StyleController = this.layoutControl1; |
147 | 143 |
this.btnSave.TabIndex = 6; |
148 | 144 |
this.btnSave.Text = "Save"; |
... | ... | |
150 | 146 |
// |
151 | 147 |
// rgDbSetting |
152 | 148 |
// |
153 |
this.rgDbSetting.Location = new System.Drawing.Point(34, 66); |
|
154 |
this.rgDbSetting.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); |
|
149 |
this.rgDbSetting.Location = new System.Drawing.Point(24, 43); |
|
155 | 150 |
this.rgDbSetting.MenuManager = this.ribbonControl; |
156 | 151 |
this.rgDbSetting.Name = "rgDbSetting"; |
157 | 152 |
this.rgDbSetting.Properties.Columns = 2; |
158 | 153 |
this.rgDbSetting.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] { |
159 | 154 |
new DevExpress.XtraEditors.Controls.RadioGroupItem("SQLite", "SQLite", true, "SQLite"), |
160 | 155 |
new DevExpress.XtraEditors.Controls.RadioGroupItem("MSSQL", "MSSQL", true, "MSSQL")}); |
161 |
this.rgDbSetting.Size = new System.Drawing.Size(471, 58);
|
|
156 |
this.rgDbSetting.Size = new System.Drawing.Size(330, 37);
|
|
162 | 157 |
this.rgDbSetting.StyleController = this.layoutControl1; |
163 | 158 |
this.rgDbSetting.TabIndex = 7; |
164 | 159 |
this.rgDbSetting.SelectedIndexChanged += new System.EventHandler(this.rgDbSetting_SelectedIndexChanged); |
165 | 160 |
// |
166 | 161 |
// txHost |
167 | 162 |
// |
168 |
this.txHost.Location = new System.Drawing.Point(127, 130); |
|
169 |
this.txHost.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); |
|
163 |
this.txHost.Location = new System.Drawing.Point(89, 84); |
|
170 | 164 |
this.txHost.MenuManager = this.ribbonControl; |
171 | 165 |
this.txHost.Name = "txHost"; |
172 |
this.txHost.Size = new System.Drawing.Size(387, 30);
|
|
166 |
this.txHost.Size = new System.Drawing.Size(279, 20);
|
|
173 | 167 |
this.txHost.StyleController = this.layoutControl1; |
174 | 168 |
this.txHost.TabIndex = 8; |
175 | 169 |
// |
176 | 170 |
// txDBName |
177 | 171 |
// |
178 |
this.txDBName.Location = new System.Drawing.Point(127, 166); |
|
179 |
this.txDBName.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); |
|
172 |
this.txDBName.Location = new System.Drawing.Point(89, 108); |
|
180 | 173 |
this.txDBName.MenuManager = this.ribbonControl; |
181 | 174 |
this.txDBName.Name = "txDBName"; |
182 |
this.txDBName.Size = new System.Drawing.Size(387, 30);
|
|
175 |
this.txDBName.Size = new System.Drawing.Size(279, 20);
|
|
183 | 176 |
this.txDBName.StyleController = this.layoutControl1; |
184 | 177 |
this.txDBName.TabIndex = 9; |
185 | 178 |
// |
186 | 179 |
// txUser |
187 | 180 |
// |
188 |
this.txUser.Location = new System.Drawing.Point(127, 202); |
|
189 |
this.txUser.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); |
|
181 |
this.txUser.Location = new System.Drawing.Point(89, 132); |
|
190 | 182 |
this.txUser.MenuManager = this.ribbonControl; |
191 | 183 |
this.txUser.Name = "txUser"; |
192 |
this.txUser.Size = new System.Drawing.Size(387, 30);
|
|
184 |
this.txUser.Size = new System.Drawing.Size(279, 20);
|
|
193 | 185 |
this.txUser.StyleController = this.layoutControl1; |
194 | 186 |
this.txUser.TabIndex = 10; |
195 | 187 |
// |
196 | 188 |
// txPassword |
197 | 189 |
// |
198 |
this.txPassword.Location = new System.Drawing.Point(127, 238); |
|
199 |
this.txPassword.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); |
|
190 |
this.txPassword.Location = new System.Drawing.Point(89, 156); |
|
200 | 191 |
this.txPassword.MenuManager = this.ribbonControl; |
201 | 192 |
this.txPassword.Name = "txPassword"; |
202 |
this.txPassword.Size = new System.Drawing.Size(387, 30);
|
|
193 |
this.txPassword.Size = new System.Drawing.Size(279, 20);
|
|
203 | 194 |
this.txPassword.StyleController = this.layoutControl1; |
204 | 195 |
this.txPassword.TabIndex = 11; |
205 | 196 |
// |
206 | 197 |
// btnFolder |
207 | 198 |
// |
208 |
this.btnFolder.Location = new System.Drawing.Point(475, 274); |
|
209 |
this.btnFolder.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); |
|
199 |
this.btnFolder.Location = new System.Drawing.Point(339, 180); |
|
210 | 200 |
this.btnFolder.Name = "btnFolder"; |
211 |
this.btnFolder.Size = new System.Drawing.Size(39, 32);
|
|
201 |
this.btnFolder.Size = new System.Drawing.Size(29, 22);
|
|
212 | 202 |
this.btnFolder.StyleController = this.layoutControl1; |
213 | 203 |
this.btnFolder.TabIndex = 12; |
214 | 204 |
this.btnFolder.Text = "..."; |
... | ... | |
216 | 206 |
// |
217 | 207 |
// txID2Filepath |
218 | 208 |
// |
219 |
this.txID2Filepath.Location = new System.Drawing.Point(127, 274); |
|
220 |
this.txID2Filepath.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); |
|
209 |
this.txID2Filepath.Location = new System.Drawing.Point(89, 180); |
|
221 | 210 |
this.txID2Filepath.MenuManager = this.ribbonControl; |
222 | 211 |
this.txID2Filepath.Name = "txID2Filepath"; |
223 |
this.txID2Filepath.Size = new System.Drawing.Size(342, 30);
|
|
212 |
this.txID2Filepath.Size = new System.Drawing.Size(246, 20);
|
|
224 | 213 |
this.txID2Filepath.StyleController = this.layoutControl1; |
225 | 214 |
this.txID2Filepath.TabIndex = 13; |
226 | 215 |
// |
... | ... | |
235 | 224 |
this.layoutControlGroup1, |
236 | 225 |
this.emptySpaceItem1}); |
237 | 226 |
this.Root.Name = "Root"; |
238 |
this.Root.Size = new System.Drawing.Size(548, 427);
|
|
227 |
this.Root.Size = new System.Drawing.Size(392, 266);
|
|
239 | 228 |
this.Root.TextVisible = false; |
240 | 229 |
// |
241 | 230 |
// layoutControlItem4 |
242 | 231 |
// |
243 | 232 |
this.layoutControlItem4.Control = this.btnSave; |
244 |
this.layoutControlItem4.Location = new System.Drawing.Point(282, 311);
|
|
245 |
this.layoutControlItem4.MaxSize = new System.Drawing.Size(103, 63);
|
|
246 |
this.layoutControlItem4.MinSize = new System.Drawing.Size(103, 63);
|
|
233 |
this.layoutControlItem4.Location = new System.Drawing.Point(206, 206);
|
|
234 |
this.layoutControlItem4.MaxSize = new System.Drawing.Size(72, 40);
|
|
235 |
this.layoutControlItem4.MinSize = new System.Drawing.Size(72, 40);
|
|
247 | 236 |
this.layoutControlItem4.Name = "layoutControlItem4"; |
248 |
this.layoutControlItem4.Size = new System.Drawing.Size(103, 84);
|
|
237 |
this.layoutControlItem4.Size = new System.Drawing.Size(72, 40);
|
|
249 | 238 |
this.layoutControlItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
250 | 239 |
this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0); |
251 | 240 |
this.layoutControlItem4.TextVisible = false; |
... | ... | |
253 | 242 |
// layoutControlItem5 |
254 | 243 |
// |
255 | 244 |
this.layoutControlItem5.Control = this.btnClose; |
256 |
this.layoutControlItem5.Location = new System.Drawing.Point(414, 311);
|
|
257 |
this.layoutControlItem5.MaxSize = new System.Drawing.Size(106, 63);
|
|
258 |
this.layoutControlItem5.MinSize = new System.Drawing.Size(106, 63);
|
|
245 |
this.layoutControlItem5.Location = new System.Drawing.Point(298, 206);
|
|
246 |
this.layoutControlItem5.MaxSize = new System.Drawing.Size(74, 40);
|
|
247 |
this.layoutControlItem5.MinSize = new System.Drawing.Size(74, 40);
|
|
259 | 248 |
this.layoutControlItem5.Name = "layoutControlItem5"; |
260 |
this.layoutControlItem5.Size = new System.Drawing.Size(106, 84);
|
|
249 |
this.layoutControlItem5.Size = new System.Drawing.Size(74, 40);
|
|
261 | 250 |
this.layoutControlItem5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
262 | 251 |
this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0); |
263 | 252 |
this.layoutControlItem5.TextVisible = false; |
... | ... | |
265 | 254 |
// emptySpaceItem2 |
266 | 255 |
// |
267 | 256 |
this.emptySpaceItem2.AllowHotTrack = false; |
268 |
this.emptySpaceItem2.Location = new System.Drawing.Point(385, 311);
|
|
269 |
this.emptySpaceItem2.MaxSize = new System.Drawing.Size(29, 63);
|
|
270 |
this.emptySpaceItem2.MinSize = new System.Drawing.Size(29, 63);
|
|
257 |
this.emptySpaceItem2.Location = new System.Drawing.Point(278, 206);
|
|
258 |
this.emptySpaceItem2.MaxSize = new System.Drawing.Size(20, 40);
|
|
259 |
this.emptySpaceItem2.MinSize = new System.Drawing.Size(20, 40);
|
|
271 | 260 |
this.emptySpaceItem2.Name = "emptySpaceItem2"; |
272 |
this.emptySpaceItem2.Size = new System.Drawing.Size(29, 84);
|
|
261 |
this.emptySpaceItem2.Size = new System.Drawing.Size(20, 40);
|
|
273 | 262 |
this.emptySpaceItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
274 | 263 |
this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0); |
275 | 264 |
// |
... | ... | |
281 | 270 |
this.group1}); |
282 | 271 |
this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); |
283 | 272 |
this.layoutControlGroup1.Name = "layoutControlGroup1"; |
284 |
this.layoutControlGroup1.Size = new System.Drawing.Size(520, 311);
|
|
285 |
this.layoutControlGroup1.Text = "DB Setting";
|
|
273 |
this.layoutControlGroup1.Size = new System.Drawing.Size(372, 206);
|
|
274 |
this.layoutControlGroup1.Text = "DB "; |
|
286 | 275 |
// |
287 | 276 |
// layoutControlItem1 |
288 | 277 |
// |
289 | 278 |
this.layoutControlItem1.Control = this.rgDbSetting; |
290 | 279 |
this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); |
291 |
this.layoutControlItem1.MaxSize = new System.Drawing.Size(477, 64);
|
|
292 |
this.layoutControlItem1.MinSize = new System.Drawing.Size(477, 64);
|
|
280 |
this.layoutControlItem1.MaxSize = new System.Drawing.Size(334, 41);
|
|
281 |
this.layoutControlItem1.MinSize = new System.Drawing.Size(334, 41);
|
|
293 | 282 |
this.layoutControlItem1.Name = "layoutControlItem1"; |
294 |
this.layoutControlItem1.Size = new System.Drawing.Size(486, 64);
|
|
283 |
this.layoutControlItem1.Size = new System.Drawing.Size(348, 41);
|
|
295 | 284 |
this.layoutControlItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
296 | 285 |
this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); |
297 | 286 |
this.layoutControlItem1.TextVisible = false; |
... | ... | |
302 | 291 |
this.group2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
303 | 292 |
this.layoutControlItem2, |
304 | 293 |
this.lcID2FilePath}); |
305 |
this.group2.Location = new System.Drawing.Point(0, 208);
|
|
294 |
this.group2.Location = new System.Drawing.Point(0, 137);
|
|
306 | 295 |
this.group2.Name = "group2"; |
307 |
this.group2.Size = new System.Drawing.Size(486, 38);
|
|
296 |
this.group2.Size = new System.Drawing.Size(348, 26);
|
|
308 | 297 |
this.group2.TextVisible = false; |
309 | 298 |
// |
310 | 299 |
// layoutControlItem2 |
311 | 300 |
// |
312 | 301 |
this.layoutControlItem2.Control = this.btnFolder; |
313 |
this.layoutControlItem2.Location = new System.Drawing.Point(441, 0);
|
|
302 |
this.layoutControlItem2.Location = new System.Drawing.Point(315, 0);
|
|
314 | 303 |
this.layoutControlItem2.Name = "layoutControlItem2"; |
315 |
this.layoutControlItem2.Size = new System.Drawing.Size(45, 38);
|
|
304 |
this.layoutControlItem2.Size = new System.Drawing.Size(33, 26);
|
|
316 | 305 |
this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); |
317 | 306 |
this.layoutControlItem2.TextVisible = false; |
318 | 307 |
// |
... | ... | |
321 | 310 |
this.lcID2FilePath.Control = this.txID2Filepath; |
322 | 311 |
this.lcID2FilePath.Location = new System.Drawing.Point(0, 0); |
323 | 312 |
this.lcID2FilePath.Name = "lcID2FilePath"; |
324 |
this.lcID2FilePath.Size = new System.Drawing.Size(441, 38);
|
|
313 |
this.lcID2FilePath.Size = new System.Drawing.Size(315, 26);
|
|
325 | 314 |
this.lcID2FilePath.Text = "ID2 Project"; |
326 |
this.lcID2FilePath.TextSize = new System.Drawing.Size(89, 22);
|
|
315 |
this.lcID2FilePath.TextSize = new System.Drawing.Size(62, 14);
|
|
327 | 316 |
// |
328 | 317 |
// group1 |
329 | 318 |
// |
... | ... | |
334 | 323 |
this.lcHost, |
335 | 324 |
this.lcDBName, |
336 | 325 |
this.lcUser}); |
337 |
this.group1.Location = new System.Drawing.Point(0, 64);
|
|
326 |
this.group1.Location = new System.Drawing.Point(0, 41);
|
|
338 | 327 |
this.group1.Name = "group1"; |
339 |
this.group1.Size = new System.Drawing.Size(486, 144);
|
|
328 |
this.group1.Size = new System.Drawing.Size(348, 96);
|
|
340 | 329 |
this.group1.Text = "layoutControlGroup1"; |
341 | 330 |
this.group1.TextVisible = false; |
342 | 331 |
// |
343 | 332 |
// lcPassword |
344 | 333 |
// |
345 | 334 |
this.lcPassword.Control = this.txPassword; |
346 |
this.lcPassword.Location = new System.Drawing.Point(0, 108);
|
|
335 |
this.lcPassword.Location = new System.Drawing.Point(0, 72);
|
|
347 | 336 |
this.lcPassword.Name = "lcPassword"; |
348 |
this.lcPassword.Size = new System.Drawing.Size(486, 36);
|
|
337 |
this.lcPassword.Size = new System.Drawing.Size(348, 24);
|
|
349 | 338 |
this.lcPassword.Text = "Password"; |
350 |
this.lcPassword.TextSize = new System.Drawing.Size(89, 22);
|
|
339 |
this.lcPassword.TextSize = new System.Drawing.Size(62, 14);
|
|
351 | 340 |
// |
352 | 341 |
// lcHost |
353 | 342 |
// |
354 | 343 |
this.lcHost.Control = this.txHost; |
355 | 344 |
this.lcHost.Location = new System.Drawing.Point(0, 0); |
356 | 345 |
this.lcHost.Name = "lcHost"; |
357 |
this.lcHost.Size = new System.Drawing.Size(486, 36);
|
|
346 |
this.lcHost.Size = new System.Drawing.Size(348, 24);
|
|
358 | 347 |
this.lcHost.Text = "Host"; |
359 | 348 |
this.lcHost.TextLocation = DevExpress.Utils.Locations.Left; |
360 |
this.lcHost.TextSize = new System.Drawing.Size(89, 22);
|
|
349 |
this.lcHost.TextSize = new System.Drawing.Size(62, 14);
|
|
361 | 350 |
// |
362 | 351 |
// lcDBName |
363 | 352 |
// |
364 | 353 |
this.lcDBName.Control = this.txDBName; |
365 |
this.lcDBName.Location = new System.Drawing.Point(0, 36);
|
|
354 |
this.lcDBName.Location = new System.Drawing.Point(0, 24);
|
|
366 | 355 |
this.lcDBName.Name = "lcDBName"; |
367 |
this.lcDBName.Size = new System.Drawing.Size(486, 36);
|
|
356 |
this.lcDBName.Size = new System.Drawing.Size(348, 24);
|
|
368 | 357 |
this.lcDBName.Text = "DB Name"; |
369 |
this.lcDBName.TextSize = new System.Drawing.Size(89, 22);
|
|
358 |
this.lcDBName.TextSize = new System.Drawing.Size(62, 14);
|
|
370 | 359 |
// |
371 | 360 |
// lcUser |
372 | 361 |
// |
373 | 362 |
this.lcUser.Control = this.txUser; |
374 |
this.lcUser.Location = new System.Drawing.Point(0, 72);
|
|
363 |
this.lcUser.Location = new System.Drawing.Point(0, 48);
|
|
375 | 364 |
this.lcUser.Name = "lcUser"; |
376 |
this.lcUser.Size = new System.Drawing.Size(486, 36);
|
|
365 |
this.lcUser.Size = new System.Drawing.Size(348, 24);
|
|
377 | 366 |
this.lcUser.Text = "User"; |
378 |
this.lcUser.TextSize = new System.Drawing.Size(89, 22);
|
|
367 |
this.lcUser.TextSize = new System.Drawing.Size(62, 14);
|
|
379 | 368 |
// |
380 | 369 |
// emptySpaceItem1 |
381 | 370 |
// |
382 | 371 |
this.emptySpaceItem1.AllowHotTrack = false; |
383 | 372 |
this.emptySpaceItem1.CustomizationFormText = "emptySpaceItem3"; |
384 |
this.emptySpaceItem1.Location = new System.Drawing.Point(0, 311);
|
|
373 |
this.emptySpaceItem1.Location = new System.Drawing.Point(0, 206);
|
|
385 | 374 |
this.emptySpaceItem1.Name = "emptySpaceItem1"; |
386 |
this.emptySpaceItem1.Size = new System.Drawing.Size(282, 84);
|
|
375 |
this.emptySpaceItem1.Size = new System.Drawing.Size(206, 40);
|
|
387 | 376 |
this.emptySpaceItem1.Text = "emptySpaceItem3"; |
388 | 377 |
this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); |
389 | 378 |
// |
390 | 379 |
// DBSettingForm |
391 | 380 |
// |
392 |
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 22F);
|
|
381 |
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
|
393 | 382 |
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
394 |
this.ClientSize = new System.Drawing.Size(548, 472);
|
|
383 |
this.ClientSize = new System.Drawing.Size(392, 298);
|
|
395 | 384 |
this.Controls.Add(this.layoutControl1); |
396 | 385 |
this.Controls.Add(this.ribbonControl); |
397 |
this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); |
|
398 | 386 |
this.Name = "DBSettingForm"; |
399 | 387 |
this.Ribbon = this.ribbonControl; |
400 | 388 |
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; |
DTI_PID/ID2PSN/Form/EquipmentTagNoSetting.Designer.cs | ||
---|---|---|
1 |
namespace ID2PSN |
|
2 |
{ |
|
3 |
partial class EquipmentTagNoSetting |
|
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 |
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EquipmentTagNoSetting)); |
|
32 |
this.ribbonControl = new DevExpress.XtraBars.Ribbon.RibbonControl(); |
|
33 |
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
|
34 |
this.checkEditEquipTag1 = new DevExpress.XtraEditors.CheckEdit(); |
|
35 |
this.btnClose = new DevExpress.XtraEditors.SimpleButton(); |
|
36 |
this.btnSave = new DevExpress.XtraEditors.SimpleButton(); |
|
37 |
this.comboBoxEditEquipTagName = new DevExpress.XtraEditors.ComboBoxEdit(); |
|
38 |
this.Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
39 |
this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem(); |
|
40 |
this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
41 |
this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
42 |
this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); |
|
43 |
this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
44 |
this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
45 |
this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
46 |
this.checkEditEquipTag = new DevExpress.XtraEditors.CheckEdit(); |
|
47 |
((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).BeginInit(); |
|
48 |
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); |
|
49 |
this.layoutControl1.SuspendLayout(); |
|
50 |
((System.ComponentModel.ISupportInitialize)(this.checkEditEquipTag1.Properties)).BeginInit(); |
|
51 |
((System.ComponentModel.ISupportInitialize)(this.comboBoxEditEquipTagName.Properties)).BeginInit(); |
|
52 |
((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit(); |
|
53 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit(); |
|
54 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); |
|
55 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); |
|
56 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit(); |
|
57 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit(); |
|
58 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); |
|
59 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); |
|
60 |
((System.ComponentModel.ISupportInitialize)(this.checkEditEquipTag.Properties)).BeginInit(); |
|
61 |
this.SuspendLayout(); |
|
62 |
// |
|
63 |
// ribbonControl |
|
64 |
// |
|
65 |
this.ribbonControl.ExpandCollapseItem.Id = 0; |
|
66 |
this.ribbonControl.Items.AddRange(new DevExpress.XtraBars.BarItem[] { |
|
67 |
this.ribbonControl.ExpandCollapseItem, |
|
68 |
this.ribbonControl.SearchEditItem}); |
|
69 |
this.ribbonControl.Location = new System.Drawing.Point(0, 0); |
|
70 |
this.ribbonControl.MaxItemId = 1; |
|
71 |
this.ribbonControl.Name = "ribbonControl"; |
|
72 |
this.ribbonControl.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False; |
|
73 |
this.ribbonControl.ShowDisplayOptionsMenuButton = DevExpress.Utils.DefaultBoolean.False; |
|
74 |
this.ribbonControl.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.ShowOnMultiplePages; |
|
75 |
this.ribbonControl.ShowToolbarCustomizeItem = false; |
|
76 |
this.ribbonControl.Size = new System.Drawing.Size(358, 32); |
|
77 |
this.ribbonControl.Toolbar.ShowCustomizeItem = false; |
|
78 |
// |
|
79 |
// layoutControl1 |
|
80 |
// |
|
81 |
this.layoutControl1.Controls.Add(this.checkEditEquipTag1); |
|
82 |
this.layoutControl1.Controls.Add(this.btnClose); |
|
83 |
this.layoutControl1.Controls.Add(this.btnSave); |
|
84 |
this.layoutControl1.Controls.Add(this.comboBoxEditEquipTagName); |
|
85 |
this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; |
|
86 |
this.layoutControl1.Location = new System.Drawing.Point(0, 32); |
|
87 |
this.layoutControl1.Name = "layoutControl1"; |
|
88 |
this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(488, 408, 650, 400); |
|
89 |
this.layoutControl1.Root = this.Root; |
|
90 |
this.layoutControl1.Size = new System.Drawing.Size(358, 151); |
|
91 |
this.layoutControl1.TabIndex = 1; |
|
92 |
this.layoutControl1.Text = "layoutControl1"; |
|
93 |
// |
|
94 |
// checkEditEquipTag1 |
|
95 |
// |
|
96 |
this.checkEditEquipTag1.Location = new System.Drawing.Point(24, 43); |
|
97 |
this.checkEditEquipTag1.MenuManager = this.ribbonControl; |
|
98 |
this.checkEditEquipTag1.Name = "checkEditEquipTag1"; |
|
99 |
this.checkEditEquipTag1.Properties.Caption = "Use ID2 Attribute"; |
|
100 |
this.checkEditEquipTag1.Size = new System.Drawing.Size(310, 19); |
|
101 |
this.checkEditEquipTag1.StyleController = this.layoutControl1; |
|
102 |
this.checkEditEquipTag1.TabIndex = 12; |
|
103 |
this.checkEditEquipTag1.CheckedChanged += new System.EventHandler(this.checkEditEquipTag_CheckedChanged); |
|
104 |
// |
|
105 |
// btnClose |
|
106 |
// |
|
107 |
this.btnClose.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnClose.ImageOptions.Image"))); |
|
108 |
this.btnClose.Location = new System.Drawing.Point(276, 102); |
|
109 |
this.btnClose.Name = "btnClose"; |
|
110 |
this.btnClose.Size = new System.Drawing.Size(70, 36); |
|
111 |
this.btnClose.StyleController = this.layoutControl1; |
|
112 |
this.btnClose.TabIndex = 5; |
|
113 |
this.btnClose.Text = "Close"; |
|
114 |
this.btnClose.Click += new System.EventHandler(this.btnClose_Click); |
|
115 |
// |
|
116 |
// btnSave |
|
117 |
// |
|
118 |
this.btnSave.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnSave.ImageOptions.Image"))); |
|
119 |
this.btnSave.Location = new System.Drawing.Point(184, 102); |
|
120 |
this.btnSave.Name = "btnSave"; |
|
121 |
this.btnSave.Size = new System.Drawing.Size(68, 36); |
|
122 |
this.btnSave.StyleController = this.layoutControl1; |
|
123 |
this.btnSave.TabIndex = 6; |
|
124 |
this.btnSave.Text = "Save"; |
|
125 |
this.btnSave.Click += new System.EventHandler(this.btnSave_Click); |
|
126 |
// |
|
127 |
// comboBoxEditEquipTagName |
|
128 |
// |
|
129 |
this.comboBoxEditEquipTagName.Location = new System.Drawing.Point(84, 66); |
|
130 |
this.comboBoxEditEquipTagName.Name = "comboBoxEditEquipTagName"; |
|
131 |
this.comboBoxEditEquipTagName.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
|
132 |
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); |
|
133 |
this.comboBoxEditEquipTagName.Size = new System.Drawing.Size(250, 20); |
|
134 |
this.comboBoxEditEquipTagName.StyleController = this.layoutControl1; |
|
135 |
this.comboBoxEditEquipTagName.TabIndex = 10; |
|
136 |
// |
|
137 |
// Root |
|
138 |
// |
|
139 |
this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
|
140 |
this.Root.GroupBordersVisible = false; |
|
141 |
this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
|
142 |
this.emptySpaceItem3, |
|
143 |
this.layoutControlItem4, |
|
144 |
this.layoutControlItem5, |
|
145 |
this.emptySpaceItem2, |
|
146 |
this.layoutControlGroup2}); |
|
147 |
this.Root.Name = "Root"; |
|
148 |
this.Root.Size = new System.Drawing.Size(358, 151); |
|
149 |
this.Root.TextVisible = false; |
|
150 |
// |
|
151 |
// emptySpaceItem3 |
|
152 |
// |
|
153 |
this.emptySpaceItem3.AllowHotTrack = false; |
|
154 |
this.emptySpaceItem3.Location = new System.Drawing.Point(0, 90); |
|
155 |
this.emptySpaceItem3.Name = "emptySpaceItem3"; |
|
156 |
this.emptySpaceItem3.Size = new System.Drawing.Size(172, 41); |
|
157 |
this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0); |
|
158 |
// |
|
159 |
// layoutControlItem4 |
|
160 |
// |
|
161 |
this.layoutControlItem4.Control = this.btnSave; |
|
162 |
this.layoutControlItem4.Location = new System.Drawing.Point(172, 90); |
|
163 |
this.layoutControlItem4.MaxSize = new System.Drawing.Size(72, 40); |
|
164 |
this.layoutControlItem4.MinSize = new System.Drawing.Size(72, 40); |
|
165 |
this.layoutControlItem4.Name = "layoutControlItem4"; |
|
166 |
this.layoutControlItem4.Size = new System.Drawing.Size(72, 41); |
|
167 |
this.layoutControlItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
|
168 |
this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0); |
|
169 |
this.layoutControlItem4.TextVisible = false; |
|
170 |
// |
|
171 |
// layoutControlItem5 |
|
172 |
// |
|
173 |
this.layoutControlItem5.Control = this.btnClose; |
|
174 |
this.layoutControlItem5.Location = new System.Drawing.Point(264, 90); |
|
175 |
this.layoutControlItem5.MaxSize = new System.Drawing.Size(74, 40); |
|
176 |
this.layoutControlItem5.MinSize = new System.Drawing.Size(74, 40); |
|
177 |
this.layoutControlItem5.Name = "layoutControlItem5"; |
|
178 |
this.layoutControlItem5.Size = new System.Drawing.Size(74, 41); |
|
179 |
this.layoutControlItem5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
|
180 |
this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0); |
|
181 |
this.layoutControlItem5.TextVisible = false; |
|
182 |
// |
|
183 |
// emptySpaceItem2 |
|
184 |
// |
|
185 |
this.emptySpaceItem2.AllowHotTrack = false; |
|
186 |
this.emptySpaceItem2.Location = new System.Drawing.Point(244, 90); |
|
187 |
this.emptySpaceItem2.MaxSize = new System.Drawing.Size(20, 40); |
|
188 |
this.emptySpaceItem2.MinSize = new System.Drawing.Size(20, 40); |
|
189 |
this.emptySpaceItem2.Name = "emptySpaceItem2"; |
|
190 |
this.emptySpaceItem2.Size = new System.Drawing.Size(20, 41); |
|
191 |
this.emptySpaceItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
|
192 |
this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0); |
|
193 |
// |
|
194 |
// layoutControlGroup2 |
|
195 |
// |
|
196 |
this.layoutControlGroup2.CustomizationFormText = "Keyword Items"; |
|
197 |
this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
|
198 |
this.layoutControlItem7, |
|
199 |
this.layoutControlItem1}); |
|
200 |
this.layoutControlGroup2.Location = new System.Drawing.Point(0, 0); |
|
201 |
this.layoutControlGroup2.Name = "layoutControlGroup2"; |
|
202 |
this.layoutControlGroup2.Size = new System.Drawing.Size(338, 90); |
|
203 |
this.layoutControlGroup2.Text = "Equipment Tag No "; |
|
204 |
// |
|
205 |
// layoutControlItem7 |
|
206 |
// |
|
207 |
this.layoutControlItem7.Control = this.comboBoxEditEquipTagName; |
|
208 |
this.layoutControlItem7.CustomizationFormText = "Attr Name"; |
|
209 |
this.layoutControlItem7.Location = new System.Drawing.Point(0, 23); |
|
210 |
this.layoutControlItem7.Name = "layoutControlItem7"; |
|
211 |
this.layoutControlItem7.Size = new System.Drawing.Size(314, 24); |
|
212 |
this.layoutControlItem7.Text = "Attr Name"; |
|
213 |
this.layoutControlItem7.TextSize = new System.Drawing.Size(57, 14); |
|
214 |
// |
|
215 |
// layoutControlItem1 |
|
216 |
// |
|
217 |
this.layoutControlItem1.Control = this.checkEditEquipTag1; |
|
218 |
this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); |
|
219 |
this.layoutControlItem1.Name = "layoutControlItem1"; |
|
220 |
this.layoutControlItem1.Size = new System.Drawing.Size(314, 23); |
|
221 |
this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); |
|
222 |
this.layoutControlItem1.TextVisible = false; |
|
223 |
// |
|
224 |
// checkEditEquipTag |
|
225 |
// |
|
226 |
this.checkEditEquipTag.Location = new System.Drawing.Point(36, 256); |
|
227 |
this.checkEditEquipTag.Name = "checkEditEquipTag"; |
|
228 |
this.checkEditEquipTag.Properties.Caption = "Use ID2 Attribute"; |
|
229 |
this.checkEditEquipTag.Size = new System.Drawing.Size(224, 19); |
|
230 |
this.checkEditEquipTag.TabIndex = 11; |
|
231 |
// |
|
232 |
// EquipmentTagNoSetting |
|
233 |
// |
|
234 |
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); |
|
235 |
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
236 |
this.ClientSize = new System.Drawing.Size(358, 183); |
|
237 |
this.Controls.Add(this.layoutControl1); |
|
238 |
this.Controls.Add(this.ribbonControl); |
|
239 |
this.Name = "EquipmentTagNoSetting"; |
|
240 |
this.Ribbon = this.ribbonControl; |
|
241 |
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; |
|
242 |
this.Text = "Equipment Tag No Setting"; |
|
243 |
((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).EndInit(); |
|
244 |
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); |
|
245 |
this.layoutControl1.ResumeLayout(false); |
|
246 |
((System.ComponentModel.ISupportInitialize)(this.checkEditEquipTag1.Properties)).EndInit(); |
|
247 |
((System.ComponentModel.ISupportInitialize)(this.comboBoxEditEquipTagName.Properties)).EndInit(); |
|
248 |
((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit(); |
|
249 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit(); |
|
250 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); |
|
251 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); |
|
252 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit(); |
|
253 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit(); |
|
254 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); |
|
255 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); |
|
256 |
((System.ComponentModel.ISupportInitialize)(this.checkEditEquipTag.Properties)).EndInit(); |
|
257 |
this.ResumeLayout(false); |
|
258 |
this.PerformLayout(); |
|
259 |
|
|
260 |
} |
|
261 |
|
|
262 |
#endregion |
|
263 |
|
|
264 |
private DevExpress.XtraBars.Ribbon.RibbonControl ribbonControl; |
|
265 |
private DevExpress.XtraLayout.LayoutControl layoutControl1; |
|
266 |
private DevExpress.XtraLayout.LayoutControlGroup Root; |
|
267 |
private DevExpress.XtraEditors.SimpleButton btnClose; |
|
268 |
private DevExpress.XtraEditors.SimpleButton btnSave; |
|
269 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; |
|
270 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; |
|
271 |
private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem3; |
|
272 |
private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem2; |
|
273 |
private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup2; |
|
274 |
private DevExpress.XtraEditors.ComboBoxEdit comboBoxEditEquipTagName; |
|
275 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; |
|
276 |
private DevExpress.XtraEditors.CheckEdit checkEditEquipTag; |
|
277 |
private DevExpress.XtraEditors.CheckEdit checkEditEquipTag1; |
|
278 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; |
|
279 |
} |
|
280 |
} |
DTI_PID/ID2PSN/Form/EquipmentTagNoSetting.cs | ||
---|---|---|
1 |
using System; |
|
2 |
using System.Collections.Generic; |
|
3 |
using System.ComponentModel; |
|
4 |
using System.Data; |
|
5 |
using System.Drawing; |
|
6 |
using System.Linq; |
|
7 |
using System.Text; |
|
8 |
using System.Threading.Tasks; |
|
9 |
using System.Windows.Forms; |
|
10 |
using System.IO; |
|
11 |
using DevExpress.XtraEditors.Repository; |
|
12 |
using DevExpress.XtraGrid.Columns; |
|
13 |
using DevExpress.XtraGrid; |
|
14 |
using DevExpress.XtraGrid.Views.Grid; |
|
15 |
using DevExpress.Utils.StructuredStorage.Internal.Reader; |
|
16 |
using DevExpress.XtraTreeList; |
|
17 |
using DevExpress.XtraTreeList.Columns; |
|
18 |
using DevExpress.XtraTreeList.Nodes; |
|
19 |
using DevExpress.Utils.Extensions; |
|
20 |
using DevExpress.Utils; |
|
21 |
using DevExpress.Utils.Drawing; |
|
22 |
|
|
23 |
namespace ID2PSN |
|
24 |
{ |
|
25 |
public partial class EquipmentTagNoSetting : DevExpress.XtraBars.Ribbon.RibbonForm |
|
26 |
{ |
|
27 |
ID2Info ID2Info = ID2Info.GetInstance(); |
|
28 |
|
|
29 |
public EquipmentTagNoSetting() |
|
30 |
{ |
|
31 |
InitializeComponent(); |
|
32 |
|
|
33 |
// Equip Attr |
|
34 |
comboBoxEditEquipTagName.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; |
|
35 |
string equipTag = Properties.Settings.Default.EquipTagAttribute; |
|
36 |
DataTable dt = DB.SelectSymbolAttribute(); |
|
37 |
foreach (DataRow row in dt.Rows) |
|
38 |
{ |
|
39 |
string value = row["Attribute"].ToString(); |
|
40 |
comboBoxEditEquipTagName.Properties.Items.Add(value); |
|
41 |
if (!string.IsNullOrEmpty(equipTag) && value.Equals(equipTag)) |
|
42 |
comboBoxEditEquipTagName.SelectedItem = value; |
|
43 |
} |
|
44 |
|
|
45 |
checkEditEquipTag1.Checked = Properties.Settings.Default.UseEquipTag; |
|
46 |
comboBoxEditEquipTagName.Enabled = checkEditEquipTag1.Checked; |
|
47 |
|
|
48 |
} |
|
49 |
|
|
50 |
private void btnSave_Click(object sender, EventArgs e) |
|
51 |
{ |
|
52 |
try |
|
53 |
{ |
|
54 |
if (checkEditEquipTag1.Checked) |
|
55 |
{ |
|
56 |
Properties.Settings.Default.EquipTagAttribute = comboBoxEditEquipTagName.SelectedItem.ToString(); |
|
57 |
} |
|
58 |
Properties.Settings.Default.UseEquipTag = checkEditEquipTag1.Checked; |
|
59 |
Properties.Settings.Default.Save(); |
|
60 |
MessageBox.Show("Save was successful", "ID2 " + ID2Info.ProgramName, MessageBoxButtons.OK, MessageBoxIcon.Information); |
|
61 |
} |
|
62 |
catch(Exception ex) |
|
63 |
{ |
|
64 |
MessageBox.Show("Failed to save", "ID2 " + ID2Info.ProgramName, MessageBoxButtons.OK, MessageBoxIcon.Warning); |
|
65 |
} |
|
66 |
} |
|
67 |
|
|
68 |
private void checkEditEquipTag_CheckedChanged(object sender, EventArgs e) |
|
69 |
{ |
|
70 |
comboBoxEditEquipTagName.Enabled = checkEditEquipTag1.Checked; |
|
71 |
} |
|
72 |
|
|
73 |
private void btnClose_Click(object sender, EventArgs e) |
|
74 |
{ |
|
75 |
DialogResult = DialogResult.Cancel; |
|
76 |
} |
|
77 |
} |
|
78 |
} |
DTI_PID/ID2PSN/Form/EquipmentTagNoSetting.resx | ||
---|---|---|
1 |
<?xml version="1.0" encoding="utf-8"?> |
|
2 |
<root> |
|
3 |
<!-- |
|
4 |
Microsoft ResX Schema |
|
5 |
|
|
6 |
Version 2.0 |
|
7 |
|
|
8 |
The primary goals of this format is to allow a simple XML format |
|
9 |
that is mostly human readable. The generation and parsing of the |
|
10 |
various data types are done through the TypeConverter classes |
|
11 |
associated with the data types. |
|
12 |
|
|
13 |
Example: |
|
14 |
|
|
15 |
... ado.net/XML headers & schema ... |
|
16 |
<resheader name="resmimetype">text/microsoft-resx</resheader> |
|
17 |
<resheader name="version">2.0</resheader> |
|
18 |
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> |
|
19 |
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> |
|
20 |
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> |
|
21 |
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> |
|
22 |
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> |
|
23 |
<value>[base64 mime encoded serialized .NET Framework object]</value> |
|
24 |
</data> |
|
25 |
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
|
26 |
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> |
|
27 |
<comment>This is a comment</comment> |
|
28 |
</data> |
|
29 |
|
|
30 |
There are any number of "resheader" rows that contain simple |
|
31 |
name/value pairs. |
|
32 |
|
|
33 |
Each data row contains a name, and value. The row also contains a |
|
34 |
type or mimetype. Type corresponds to a .NET class that support |
|
35 |
text/value conversion through the TypeConverter architecture. |
|
36 |
Classes that don't support this are serialized and stored with the |
|
37 |
mimetype set. |
|
38 |
|
|
39 |
The mimetype is used for serialized objects, and tells the |
|
40 |
ResXResourceReader how to depersist the object. This is currently not |
|
41 |
extensible. For a given mimetype the value must be set accordingly: |
|
42 |
|
|
43 |
Note - application/x-microsoft.net.object.binary.base64 is the format |
|
44 |
that the ResXResourceWriter will generate, however the reader can |
|
45 |
read any of the formats listed below. |
|
46 |
|
|
47 |
mimetype: application/x-microsoft.net.object.binary.base64 |
|
48 |
value : The object must be serialized with |
|
49 |
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter |
|
50 |
: and then encoded with base64 encoding. |
|
51 |
|
|
52 |
mimetype: application/x-microsoft.net.object.soap.base64 |
|
53 |
value : The object must be serialized with |
|
54 |
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter |
|
55 |
: and then encoded with base64 encoding. |
|
56 |
|
|
57 |
mimetype: application/x-microsoft.net.object.bytearray.base64 |
|
58 |
value : The object must be serialized into a byte array |
|
59 |
: using a System.ComponentModel.TypeConverter |
|
60 |
: and then encoded with base64 encoding. |
|
61 |
--> |
|
62 |
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> |
|
63 |
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> |
|
64 |
<xsd:element name="root" msdata:IsDataSet="true"> |
|
65 |
<xsd:complexType> |
|
66 |
<xsd:choice maxOccurs="unbounded"> |
|
67 |
<xsd:element name="metadata"> |
|
68 |
<xsd:complexType> |
|
69 |
<xsd:sequence> |
|
70 |
<xsd:element name="value" type="xsd:string" minOccurs="0" /> |
|
71 |
</xsd:sequence> |
|
72 |
<xsd:attribute name="name" use="required" type="xsd:string" /> |
|
73 |
<xsd:attribute name="type" type="xsd:string" /> |
|
74 |
<xsd:attribute name="mimetype" type="xsd:string" /> |
|
75 |
<xsd:attribute ref="xml:space" /> |
|
76 |
</xsd:complexType> |
|
77 |
</xsd:element> |
|
78 |
<xsd:element name="assembly"> |
|
79 |
<xsd:complexType> |
|
80 |
<xsd:attribute name="alias" type="xsd:string" /> |
|
81 |
<xsd:attribute name="name" type="xsd:string" /> |
|
82 |
</xsd:complexType> |
|
83 |
</xsd:element> |
|
84 |
<xsd:element name="data"> |
|
85 |
<xsd:complexType> |
|
86 |
<xsd:sequence> |
|
87 |
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
|
88 |
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> |
|
89 |
</xsd:sequence> |
|
90 |
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> |
|
91 |
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> |
|
92 |
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> |
|
93 |
<xsd:attribute ref="xml:space" /> |
|
94 |
</xsd:complexType> |
|
95 |
</xsd:element> |
|
96 |
<xsd:element name="resheader"> |
|
97 |
<xsd:complexType> |
|
98 |
<xsd:sequence> |
|
99 |
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
|
100 |
</xsd:sequence> |
|
101 |
<xsd:attribute name="name" type="xsd:string" use="required" /> |
|
102 |
</xsd:complexType> |
|
103 |
</xsd:element> |
|
104 |
</xsd:choice> |
|
105 |
</xsd:complexType> |
|
106 |
</xsd:element> |
|
107 |
</xsd:schema> |
|
108 |
<resheader name="resmimetype"> |
|
109 |
<value>text/microsoft-resx</value> |
|
110 |
</resheader> |
|
111 |
<resheader name="version"> |
|
112 |
<value>2.0</value> |
|
113 |
</resheader> |
|
114 |
<resheader name="reader"> |
|
115 |
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
|
116 |
</resheader> |
|
117 |
<resheader name="writer"> |
|
118 |
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
|
119 |
</resheader> |
|
120 |
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> |
|
121 |
<data name="btnClose.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
|
122 |
<value> |
|
123 |
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0A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pac9HR8VOajo/XBXNs3BS6anVwZOxkgcNjJgkc+loboaMnIXSUFkJHEiO0qLXEV5oIJoKIg1Tp |
|
161 |
wS+I4Ro4MHwC9g//FnuHjW9eO2TkUnKpHkqFADxUXeDndf6h4H3KW4Vb9Tq8fq8z8g2M6gef8w2Inwd5 |
|
162 |
yfvkPPhE1Ql+k9vzOv3/P/ifoPoeVeUDAqiG6o3/Nb1j0KB/AMYUfCkDw9hpAAAAAElFTkSuQmCC |
|
163 |
</value> |
|
164 |
</data> |
|
165 |
<data name="btnSave.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
|
166 |
<value> |
|
167 |
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAt0RVh0VGl0 |
|
168 |
bGUAU2F2ZTv56PkJAAAJQElEQVRYR8WWd1TUVxbH3ZItycYkpm39d/+Ku1FRikjvvQ0ww9AZGJgBBhh6 |
|
169 |
GRh6R6RIQEWxIGKkKKLYgsEaY8EuKEWRCCrShKjnu/f9hiEhuMecPSdn3zkfHo+Zw/d77yv3LgHwf+Wn |
|
170 |
41fEr/9HfvMzUH+X6Swa7IO3iN8Tf/wJb7+Bd34m7Lvs/zMzC0ywxVth6Vsy5Hk7X0YX1COmcDfiiuvB |
|
171 |
F6fD1iMGtoIYeIhSkV+2G7ml9cgu2YHMou1QFmxDal4tUrI3IzGjBnHKKsQoNiIqqQwWjsFw8pbD0UsO |
|
172 |
B49I2PFlL614kh2kxUywgOcHW/whInfHbNPxK2g50Y3mzm60dV2Hpp4HjCw8YeMcDM8gJZ5NzWKMeDqp |
|
173 |
4snEDB6Pz2B0/DlGnql4NDaN755Mw8w+EFV1+1FZ24ryTc3YUNMEW7fwl6TFssGyMD/Y4u3w7Do0HbuM |
|
174 |
3E3tyN7cjpK6o3MGhLBxCoYwMJUTvNr/BN19j3Hl3mNcvjuKS70jWKllTlhipTZB8/2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YnrPIR7jIWfulivwhg4SHRibxgNCm0syEGeaO4bDmRWKFjtNrDbDFp7oWgfAPK6BT |
|
200 |
mwwHhjAJ5nSSWfRjJP50fBajXNp/6Ps4ceIhRc2Jj05w4qwl09IXwMwhnAiDqX0Y9QIR+FyLM/BXgjWm |
|
201 |
Cw1om/rRi5ZNBycedgIVJnZiVHT2I+dQDzLa7iCx+Qbi991AzN7riG68jsiG65DVX0PYzquQ7LiK4Lpu |
|
202 |
BG3rRuDWbjpw7lT9QmFqFwoTWynMyci/1zgyA38jFhvQNPamlyydTmwsrN1iOAypwdh45hEKTgwh88gD |
|
203 |
pB0aRMrBASQdGED8/n7EtvQhuqkPkfvuQdZ4F+GEtKEXkt091KDy6CZIYETiRjSbkpnlaxxea4C7hmsM |
|
204 |
PF+5+adSCZbDyjkKloQedTllXcPIPaYSV7QPIrltEAlkIK6lH9HNfYgi8Yi9KvHQPb2cgZD6Xq5JZcJq |
|
205 |
jG0l+Gy1/QvSWvAOsB9cR7Rc06FolR7/lQY1oiupFWNo0j56FnbBNesrOKYdhW1yB6wTDsEi9iBM5Adg |
|
206 |
GNGKdaFN0JHsg6a4EatFe7DKfzc+99mF5RoO+EzDnmO5ilf//JdJPmmpWzLOABvsF+aItcvsmWSHhKXp |
|
207 |
Tfz9DfzjR7A1u/9MfD796sEW6kyw7WBf+CVgQaojX2BAPdQf/NLMjSVL/gMGC1sK0EICNQAAAABJRU5E |
|
208 |
rkJggg== |
|
209 |
</value> |
|
210 |
</data> |
|
211 |
</root> |
DTI_PID/ID2PSN/Form/MainForm.Designer.cs | ||
---|---|---|
34 | 34 |
this.defaultLookAndFeel = new DevExpress.LookAndFeel.DefaultLookAndFeel(this.components); |
35 | 35 |
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
36 | 36 |
this.btnSaveAs = new DevExpress.XtraEditors.SimpleButton(); |
37 |
this.spinEditEnd = new DevExpress.XtraEditors.SpinEdit(); |
|
38 |
this.spinEditStart = new DevExpress.XtraEditors.SpinEdit(); |
|
39 | 37 |
this.btnExportPSN = new DevExpress.XtraEditors.SimpleButton(); |
40 |
this.comboBoxEditPBSAttr = new DevExpress.XtraEditors.ComboBoxEdit(); |
|
41 |
this.radioGroupPBS = new DevExpress.XtraEditors.RadioGroup(); |
|
42 | 38 |
this.btnVentDrainSetting = new DevExpress.XtraEditors.SimpleButton(); |
43 |
this.checkEditEquipTag = new DevExpress.XtraEditors.CheckEdit(); |
|
44 |
this.comboBoxEditEquipTagName = new DevExpress.XtraEditors.ComboBoxEdit(); |
|
45 | 39 |
this.btnSave = new DevExpress.XtraEditors.SimpleButton(); |
46 | 40 |
this.btnPriority = new DevExpress.XtraEditors.SimpleButton(); |
47 | 41 |
this.btnRun = new DevExpress.XtraEditors.SimpleButton(); |
... | ... | |
59 | 53 |
this.gridViewPathItems = new DevExpress.XtraGrid.Views.Grid.GridView(); |
60 | 54 |
this.btnKeywordsSetting = new DevExpress.XtraEditors.SimpleButton(); |
61 | 55 |
this.btnReset = new DevExpress.XtraEditors.SimpleButton(); |
56 |
this.EquipmentTagNoSetting = new DevExpress.XtraEditors.SimpleButton(); |
|
57 |
this.PBSSetting = new DevExpress.XtraEditors.SimpleButton(); |
|
62 | 58 |
this.Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
63 | 59 |
this.layoutControlGroupMain = new DevExpress.XtraLayout.LayoutControlGroup(); |
64 | 60 |
this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
65 | 61 |
this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
66 | 62 |
this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); |
67 | 63 |
this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); |
68 |
this.layoutControlGroup3 = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
69 |
this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
70 |
this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
71 | 64 |
this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); |
72 |
this.layoutControlGroup4 = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
73 |
this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
74 |
this.layoutControlItemPBSAttribute = new DevExpress.XtraLayout.LayoutControlItem(); |
|
75 |
this.layoutControlItemStart = new DevExpress.XtraLayout.LayoutControlItem(); |
|
76 |
this.layoutControlItemEnd = new DevExpress.XtraLayout.LayoutControlItem(); |
|
77 | 65 |
this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem(); |
66 |
this.layoutControlItem15 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
67 |
this.layoutControlItem16 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
78 | 68 |
this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); |
79 | 69 |
this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
80 | 70 |
this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); |
... | ... | |
92 | 82 |
((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).BeginInit(); |
93 | 83 |
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); |
94 | 84 |
this.layoutControl1.SuspendLayout(); |
95 |
((System.ComponentModel.ISupportInitialize)(this.spinEditEnd.Properties)).BeginInit(); |
|
96 |
((System.ComponentModel.ISupportInitialize)(this.spinEditStart.Properties)).BeginInit(); |
|
97 |
((System.ComponentModel.ISupportInitialize)(this.comboBoxEditPBSAttr.Properties)).BeginInit(); |
|
98 |
((System.ComponentModel.ISupportInitialize)(this.radioGroupPBS.Properties)).BeginInit(); |
|
99 |
((System.ComponentModel.ISupportInitialize)(this.checkEditEquipTag.Properties)).BeginInit(); |
|
100 |
((System.ComponentModel.ISupportInitialize)(this.comboBoxEditEquipTagName.Properties)).BeginInit(); |
|
101 | 85 |
((System.ComponentModel.ISupportInitialize)(this.xtraTabControlPSN)).BeginInit(); |
102 | 86 |
this.xtraTabControlPSN.SuspendLayout(); |
103 | 87 |
this.pagePSN.SuspendLayout(); |
... | ... | |
115 | 99 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); |
116 | 100 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit(); |
117 | 101 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); |
118 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).BeginInit(); |
|
119 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); |
|
120 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); |
|
121 | 102 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit(); |
122 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).BeginInit(); |
|
123 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit(); |
|
124 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItemPBSAttribute)).BeginInit(); |
|
125 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItemStart)).BeginInit(); |
|
126 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItemEnd)).BeginInit(); |
|
127 | 103 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit(); |
104 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).BeginInit(); |
|
105 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).BeginInit(); |
|
128 | 106 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit(); |
129 | 107 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); |
130 | 108 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit(); |
... | ... | |
161 | 139 |
// layoutControl1 |
162 | 140 |
// |
163 | 141 |
this.layoutControl1.Controls.Add(this.btnSaveAs); |
164 |
this.layoutControl1.Controls.Add(this.spinEditEnd); |
|
165 |
this.layoutControl1.Controls.Add(this.spinEditStart); |
|
166 | 142 |
this.layoutControl1.Controls.Add(this.btnExportPSN); |
167 |
this.layoutControl1.Controls.Add(this.comboBoxEditPBSAttr); |
|
168 |
this.layoutControl1.Controls.Add(this.radioGroupPBS); |
|
169 | 143 |
this.layoutControl1.Controls.Add(this.btnVentDrainSetting); |
170 |
this.layoutControl1.Controls.Add(this.checkEditEquipTag); |
|
171 |
this.layoutControl1.Controls.Add(this.comboBoxEditEquipTagName); |
|
172 | 144 |
this.layoutControl1.Controls.Add(this.btnSave); |
173 | 145 |
this.layoutControl1.Controls.Add(this.btnPriority); |
174 | 146 |
this.layoutControl1.Controls.Add(this.btnRun); |
... | ... | |
177 | 149 |
this.layoutControl1.Controls.Add(this.xtraTabControlPSN); |
178 | 150 |
this.layoutControl1.Controls.Add(this.btnKeywordsSetting); |
179 | 151 |
this.layoutControl1.Controls.Add(this.btnReset); |
152 |
this.layoutControl1.Controls.Add(this.EquipmentTagNoSetting); |
|
153 |
this.layoutControl1.Controls.Add(this.PBSSetting); |
|
180 | 154 |
this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; |
181 | 155 |
this.layoutControl1.Location = new System.Drawing.Point(0, 32); |
182 | 156 |
this.layoutControl1.Name = "layoutControl1"; |
183 |
this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(2158, 216, 650, 400);
|
|
157 |
this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(813, 256, 650, 400);
|
|
184 | 158 |
this.layoutControl1.Root = this.Root; |
185 | 159 |
this.layoutControl1.Size = new System.Drawing.Size(1601, 894); |
186 | 160 |
this.layoutControl1.TabIndex = 1; |
... | ... | |
197 | 171 |
this.btnSaveAs.Text = "Save To Another DB"; |
198 | 172 |
this.btnSaveAs.Click += new System.EventHandler(this.btnSaveAs_Click); |
199 | 173 |
// |
200 |
// spinEditEnd |
|
201 |
// |
|
202 |
this.spinEditEnd.EditValue = new decimal(new int[] { |
|
203 |
2, |
|
204 |
0, |
|
205 |
0, |
|
206 |
0}); |
|
207 |
this.spinEditEnd.Location = new System.Drawing.Point(210, 407); |
|
208 |
this.spinEditEnd.MenuManager = this.ribbonControl; |
|
209 |
this.spinEditEnd.Name = "spinEditEnd"; |
|
210 |
this.spinEditEnd.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
|
211 |
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); |
|
212 |
this.spinEditEnd.Properties.MaxValue = new decimal(new int[] { |
|
213 |
999, |
|
214 |
0, |
|
215 |
0, |
|
216 |
0}); |
|
217 |
this.spinEditEnd.Properties.MinValue = new decimal(new int[] { |
|
218 |
2, |
|
219 |
0, |
|
220 |
0, |
|
221 |
0}); |
|
222 |
this.spinEditEnd.Size = new System.Drawing.Size(50, 20); |
|
223 |
this.spinEditEnd.StyleController = this.layoutControl1; |
|
224 |
this.spinEditEnd.TabIndex = 18; |
|
225 |
// |
|
226 |
// spinEditStart |
|
227 |
// |
|
228 |
this.spinEditStart.EditValue = new decimal(new int[] { |
|
229 |
1, |
|
230 |
0, |
|
231 |
0, |
|
232 |
0}); |
|
233 |
this.spinEditStart.Location = new System.Drawing.Point(96, 407); |
|
234 |
this.spinEditStart.MenuManager = this.ribbonControl; |
|
235 |
this.spinEditStart.Name = "spinEditStart"; |
|
236 |
this.spinEditStart.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
|
237 |
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); |
|
238 |
this.spinEditStart.Properties.MaxValue = new decimal(new int[] { |
|
239 |
999, |
|
240 |
0, |
|
241 |
0, |
|
242 |
0}); |
|
243 |
this.spinEditStart.Properties.MinValue = new decimal(new int[] { |
|
244 |
1, |
|
245 |
0, |
|
246 |
0, |
|
247 |
0}); |
|
248 |
this.spinEditStart.Size = new System.Drawing.Size(50, 20); |
|
249 |
this.spinEditStart.StyleController = this.layoutControl1; |
|
250 |
this.spinEditStart.TabIndex = 17; |
|
251 |
// |
|
252 | 174 |
// btnExportPSN |
253 | 175 |
// |
254 | 176 |
this.btnExportPSN.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnExportPSN.ImageOptions.SvgImage"))); |
... | ... | |
260 | 182 |
this.btnExportPSN.Text = "Export PSN"; |
261 | 183 |
this.btnExportPSN.Click += new System.EventHandler(this.btnExportPSN_Click); |
262 | 184 |
// |
263 |
// comboBoxEditPBSAttr |
|
264 |
// |
|
265 |
this.comboBoxEditPBSAttr.Location = new System.Drawing.Point(96, 383); |
|
266 |
this.comboBoxEditPBSAttr.MenuManager = this.ribbonControl; |
|
267 |
this.comboBoxEditPBSAttr.Name = "comboBoxEditPBSAttr"; |
|
268 |
this.comboBoxEditPBSAttr.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
|
269 |
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); |
|
270 |
this.comboBoxEditPBSAttr.Size = new System.Drawing.Size(164, 20); |
|
271 |
this.comboBoxEditPBSAttr.StyleController = this.layoutControl1; |
|
272 |
this.comboBoxEditPBSAttr.TabIndex = 14; |
|
273 |
// |
|
274 |
// radioGroupPBS |
|
275 |
// |
|
276 |
this.radioGroupPBS.AutoSizeInLayoutControl = true; |
|
277 |
this.radioGroupPBS.Location = new System.Drawing.Point(36, 294); |
|
278 |
this.radioGroupPBS.MenuManager = this.ribbonControl; |
|
279 |
this.radioGroupPBS.Name = "radioGroupPBS"; |
|
280 |
this.radioGroupPBS.Properties.Columns = 1; |
|
281 |
this.radioGroupPBS.Properties.GlyphAlignment = DevExpress.Utils.HorzAlignment.Default; |
|
282 |
this.radioGroupPBS.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] { |
|
283 |
new DevExpress.XtraEditors.Controls.RadioGroupItem("Line Number", "Line Number"), |
|
284 |
new DevExpress.XtraEditors.Controls.RadioGroupItem("Item Attribute", "Item Attribute"), |
|
285 |
new DevExpress.XtraEditors.Controls.RadioGroupItem("Drawing No", "Drawing No"), |
|
286 |
new DevExpress.XtraEditors.Controls.RadioGroupItem("Unit Area", "Unit Area"), |
|
287 |
new DevExpress.XtraEditors.Controls.RadioGroupItem("No selection (Empty PBS)", "No selection (Empty PBS)")}); |
|
288 |
this.radioGroupPBS.Size = new System.Drawing.Size(224, 85); |
|
289 |
this.radioGroupPBS.StyleController = this.layoutControl1; |
|
290 |
this.radioGroupPBS.TabIndex = 13; |
|
291 |
this.radioGroupPBS.SelectedIndexChanged += new System.EventHandler(this.radioGroupPBS_SelectedIndexChanged); |
|
292 |
// |
|
293 | 185 |
// btnVentDrainSetting |
294 | 186 |
// |
295 | 187 |
this.btnVentDrainSetting.Location = new System.Drawing.Point(24, 121); |
... | ... | |
300 | 192 |
this.btnVentDrainSetting.Text = "Vent/Drain Setting"; |
301 | 193 |
this.btnVentDrainSetting.Click += new System.EventHandler(this.btnVentDrainSetting_Click); |
302 | 194 |
// |
303 |
// checkEditEquipTag |
|
304 |
// |
|
305 |
this.checkEditEquipTag.Location = new System.Drawing.Point(36, 204); |
|
306 |
this.checkEditEquipTag.MenuManager = this.ribbonControl; |
|
307 |
this.checkEditEquipTag.Name = "checkEditEquipTag"; |
|
308 |
this.checkEditEquipTag.Properties.Caption = "Use ID2 Attribute"; |
|
309 |
this.checkEditEquipTag.Size = new System.Drawing.Size(224, 19); |
|
310 |
this.checkEditEquipTag.StyleController = this.layoutControl1; |
|
311 |
this.checkEditEquipTag.TabIndex = 11; |
|
312 |
this.checkEditEquipTag.CheckedChanged += new System.EventHandler(this.checkEditEquipTag_CheckedChanged); |
|
313 |
// |
|
314 |
// comboBoxEditEquipTagName |
|
315 |
// |
|
316 |
this.comboBoxEditEquipTagName.Location = new System.Drawing.Point(96, 227); |
|
317 |
this.comboBoxEditEquipTagName.MenuManager = this.ribbonControl; |
|
318 |
this.comboBoxEditEquipTagName.Name = "comboBoxEditEquipTagName"; |
|
319 |
this.comboBoxEditEquipTagName.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
|
320 |
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); |
|
321 |
this.comboBoxEditEquipTagName.Size = new System.Drawing.Size(164, 20); |
|
322 |
this.comboBoxEditEquipTagName.StyleController = this.layoutControl1; |
|
323 |
this.comboBoxEditEquipTagName.TabIndex = 10; |
|
324 |
// |
|
325 | 195 |
// btnSave |
326 | 196 |
// |
327 | 197 |
this.btnSave.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnSave.ImageOptions.Image"))); |
... | ... | |
484 | 354 |
this.btnReset.Text = "Reload"; |
485 | 355 |
this.btnReset.Click += new System.EventHandler(this.btnReset_Click); |
486 | 356 |
// |
357 |
// EquipmentTagNoSetting |
|
358 |
// |
|
359 |
this.EquipmentTagNoSetting.Location = new System.Drawing.Point(24, 173); |
|
360 |
this.EquipmentTagNoSetting.Name = "EquipmentTagNoSetting"; |
|
361 |
this.EquipmentTagNoSetting.Size = new System.Drawing.Size(248, 22); |
|
362 |
this.EquipmentTagNoSetting.StyleController = this.layoutControl1; |
|
363 |
this.EquipmentTagNoSetting.TabIndex = 22; |
|
364 |
this.EquipmentTagNoSetting.Text = "Equipment Tag No Setting"; |
|
365 |
this.EquipmentTagNoSetting.Click += new System.EventHandler(this.EquipmentTagNoSetting_Click); |
|
366 |
// |
|
367 |
// PBSSetting |
|
368 |
// |
|
369 |
this.PBSSetting.Location = new System.Drawing.Point(24, 199); |
|
370 |
this.PBSSetting.Name = "PBSSetting"; |
|
371 |
this.PBSSetting.Size = new System.Drawing.Size(248, 22); |
|
372 |
this.PBSSetting.StyleController = this.layoutControl1; |
|
373 |
this.PBSSetting.TabIndex = 23; |
|
374 |
this.PBSSetting.Text = "PBS Setting"; |
|
375 |
this.PBSSetting.Click += new System.EventHandler(this.PBSSetting_Click); |
|
376 |
// |
|
487 | 377 |
// Root |
488 | 378 |
// |
489 | 379 |
this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
... | ... | |
505 | 395 |
this.layoutControlItem2, |
506 | 396 |
this.emptySpaceItem1, |
507 | 397 |
this.layoutControlItem5, |
508 |
this.layoutControlGroup3, |
|
509 | 398 |
this.layoutControlItem9, |
510 |
this.layoutControlGroup4, |
|
511 |
this.layoutControlItem12}); |
|
399 |
this.layoutControlItem12, |
|
400 |
this.layoutControlItem15, |
|
401 |
this.layoutControlItem16}); |
|
512 | 402 |
this.layoutControlGroupMain.Location = new System.Drawing.Point(0, 0); |
513 | 403 |
this.layoutControlGroupMain.Name = "layoutControlGroupMain"; |
514 | 404 |
this.layoutControlGroupMain.Size = new System.Drawing.Size(276, 671); |
... | ... | |
535 | 425 |
// emptySpaceItem1 |
536 | 426 |
// |
537 | 427 |
this.emptySpaceItem1.AllowHotTrack = false; |
538 |
this.emptySpaceItem1.Location = new System.Drawing.Point(0, 400);
|
|
428 |
this.emptySpaceItem1.Location = new System.Drawing.Point(0, 182);
|
|
539 | 429 |
this.emptySpaceItem1.Name = "emptySpaceItem1"; |
540 |
this.emptySpaceItem1.Size = new System.Drawing.Size(252, 228);
|
|
430 |
this.emptySpaceItem1.Size = new System.Drawing.Size(252, 446);
|
|
541 | 431 |
this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); |
542 | 432 |
// |
543 | 433 |
// layoutControlItem5 |
... | ... | |
549 | 439 |
this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0); |
550 | 440 |
this.layoutControlItem5.TextVisible = false; |
551 | 441 |
// |
552 |
// layoutControlGroup3 |
|
553 |
// |
|
554 |
this.layoutControlGroup3.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
|
555 |
this.layoutControlItem7, |
|
556 |
this.layoutControlItem8}); |
|
557 |
this.layoutControlGroup3.Location = new System.Drawing.Point(0, 130); |
|
558 |
this.layoutControlGroup3.Name = "layoutControlGroup3"; |
|
559 |
this.layoutControlGroup3.Size = new System.Drawing.Size(252, 90); |
|
560 |
this.layoutControlGroup3.Text = "Equipment Tag No Setting"; |
|
561 |
// |
|
562 |
// layoutControlItem7 |
|
563 |
// |
|
564 |
this.layoutControlItem7.Control = this.comboBoxEditEquipTagName; |
|
565 |
this.layoutControlItem7.Location = new System.Drawing.Point(0, 23); |
|
566 |
this.layoutControlItem7.Name = "layoutControlItem7"; |
|
567 |
this.layoutControlItem7.Size = new System.Drawing.Size(228, 24); |
|
568 |
this.layoutControlItem7.Text = "Attr Name"; |
|
569 |
this.layoutControlItem7.TextSize = new System.Drawing.Size(57, 14); |
|
570 |
// |
|
571 |
// layoutControlItem8 |
|
572 |
// |
|
573 |
this.layoutControlItem8.Control = this.checkEditEquipTag; |
|
574 |
this.layoutControlItem8.Location = new System.Drawing.Point(0, 0); |
|
575 |
this.layoutControlItem8.Name = "layoutControlItem8"; |
|
576 |
this.layoutControlItem8.Size = new System.Drawing.Size(228, 23); |
|
577 |
this.layoutControlItem8.TextSize = new System.Drawing.Size(0, 0); |
|
578 |
this.layoutControlItem8.TextVisible = false; |
|
579 |
// |
|
580 | 442 |
// layoutControlItem9 |
581 | 443 |
// |
582 | 444 |
this.layoutControlItem9.Control = this.btnVentDrainSetting; |
... | ... | |
586 | 448 |
this.layoutControlItem9.TextSize = new System.Drawing.Size(0, 0); |
587 | 449 |
this.layoutControlItem9.TextVisible = false; |
588 | 450 |
// |
589 |
// layoutControlGroup4 |
|
590 |
// |
|
591 |
this.layoutControlGroup4.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
|
592 |
this.layoutControlItem10, |
|
593 |
this.layoutControlItemPBSAttribute, |
|
594 |
this.layoutControlItemStart, |
|
595 |
this.layoutControlItemEnd}); |
|
596 |
this.layoutControlGroup4.Location = new System.Drawing.Point(0, 220); |
|
597 |
this.layoutControlGroup4.Name = "layoutControlGroup4"; |
|
598 |
this.layoutControlGroup4.Size = new System.Drawing.Size(252, 180); |
|
599 |
this.layoutControlGroup4.Text = "PBS Setting"; |
|
600 |
// |
|
601 |
// layoutControlItem10 |
|
602 |
// |
|
603 |
this.layoutControlItem10.Control = this.radioGroupPBS; |
|
604 |
this.layoutControlItem10.Location = new System.Drawing.Point(0, 0); |
|
605 |
this.layoutControlItem10.Name = "layoutControlItem10"; |
|
606 |
this.layoutControlItem10.Size = new System.Drawing.Size(228, 89); |
|
607 |
this.layoutControlItem10.TextSize = new System.Drawing.Size(0, 0); |
|
608 |
this.layoutControlItem10.TextVisible = false; |
|
609 |
// |
|
610 |
// layoutControlItemPBSAttribute |
|
611 |
// |
|
612 |
this.layoutControlItemPBSAttribute.Control = this.comboBoxEditPBSAttr; |
|
613 |
this.layoutControlItemPBSAttribute.Location = new System.Drawing.Point(0, 89); |
|
614 |
this.layoutControlItemPBSAttribute.Name = "layoutControlItemPBSAttribute"; |
|
615 |
this.layoutControlItemPBSAttribute.Size = new System.Drawing.Size(228, 24); |
|
616 |
this.layoutControlItemPBSAttribute.Text = "Attr Name"; |
|
617 |
this.layoutControlItemPBSAttribute.TextSize = new System.Drawing.Size(57, 14); |
|
618 |
// |
|
619 |
// layoutControlItemStart |
|
620 |
// |
|
621 |
this.layoutControlItemStart.Control = this.spinEditStart; |
|
622 |
this.layoutControlItemStart.Location = new System.Drawing.Point(0, 113); |
|
623 |
this.layoutControlItemStart.Name = "layoutControlItemStart"; |
|
624 |
this.layoutControlItemStart.Size = new System.Drawing.Size(114, 24); |
|
625 |
this.layoutControlItemStart.Text = "From"; |
|
626 |
this.layoutControlItemStart.TextSize = new System.Drawing.Size(57, 14); |
|
627 |
// |
|
628 |
// layoutControlItemEnd |
|
629 |
// |
|
630 |
this.layoutControlItemEnd.Control = this.spinEditEnd; |
|
631 |
this.layoutControlItemEnd.Location = new System.Drawing.Point(114, 113); |
|
632 |
this.layoutControlItemEnd.Name = "layoutControlItemEnd"; |
|
633 |
this.layoutControlItemEnd.Size = new System.Drawing.Size(114, 24); |
|
634 |
this.layoutControlItemEnd.Text = "To"; |
|
635 |
this.layoutControlItemEnd.TextSize = new System.Drawing.Size(57, 14); |
|
636 |
// |
|
637 | 451 |
// layoutControlItem12 |
638 | 452 |
// |
639 | 453 |
this.layoutControlItem12.Control = this.btnKeywordsSetting; |
... | ... | |
643 | 457 |
this.layoutControlItem12.TextSize = new System.Drawing.Size(0, 0); |
644 | 458 |
this.layoutControlItem12.TextVisible = false; |
645 | 459 |
// |
460 |
// layoutControlItem15 |
|
461 |
// |
|
462 |
this.layoutControlItem15.Control = this.EquipmentTagNoSetting; |
|
463 |
this.layoutControlItem15.Location = new System.Drawing.Point(0, 130); |
|
464 |
this.layoutControlItem15.Name = "layoutControlItem15"; |
|
465 |
this.layoutControlItem15.Size = new System.Drawing.Size(252, 26); |
|
466 |
this.layoutControlItem15.TextSize = new System.Drawing.Size(0, 0); |
|
467 |
this.layoutControlItem15.TextVisible = false; |
|
468 |
// |
|
469 |
// layoutControlItem16 |
|
470 |
// |
|
471 |
this.layoutControlItem16.Control = this.PBSSetting; |
|
472 |
this.layoutControlItem16.Location = new System.Drawing.Point(0, 156); |
|
473 |
this.layoutControlItem16.Name = "layoutControlItem16"; |
|
474 |
this.layoutControlItem16.Size = new System.Drawing.Size(252, 26); |
|
475 |
this.layoutControlItem16.TextSize = new System.Drawing.Size(0, 0); |
|
476 |
this.layoutControlItem16.TextVisible = false; |
|
477 |
// |
|
646 | 478 |
// layoutControlGroup2 |
647 | 479 |
// |
648 | 480 |
this.layoutControlGroup2.GroupStyle = DevExpress.Utils.GroupStyle.Card; |
... | ... | |
776 | 608 |
((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).EndInit(); |
777 | 609 |
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); |
778 | 610 |
this.layoutControl1.ResumeLayout(false); |
779 |
((System.ComponentModel.ISupportInitialize)(this.spinEditEnd.Properties)).EndInit(); |
|
780 |
((System.ComponentModel.ISupportInitialize)(this.spinEditStart.Properties)).EndInit(); |
|
781 |
((System.ComponentModel.ISupportInitialize)(this.comboBoxEditPBSAttr.Properties)).EndInit(); |
|
782 |
((System.ComponentModel.ISupportInitialize)(this.radioGroupPBS.Properties)).EndInit(); |
|
783 |
((System.ComponentModel.ISupportInitialize)(this.checkEditEquipTag.Properties)).EndInit(); |
|
784 |
((System.ComponentModel.ISupportInitialize)(this.comboBoxEditEquipTagName.Properties)).EndInit(); |
|
785 | 611 |
((System.ComponentModel.ISupportInitialize)(this.xtraTabControlPSN)).EndInit(); |
786 | 612 |
this.xtraTabControlPSN.ResumeLayout(false); |
787 | 613 |
this.pagePSN.ResumeLayout(false); |
... | ... | |
799 | 625 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); |
800 | 626 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit(); |
801 | 627 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); |
802 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).EndInit(); |
|
803 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); |
|
804 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); |
|
805 | 628 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit(); |
806 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).EndInit(); |
|
807 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit(); |
|
808 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItemPBSAttribute)).EndInit(); |
|
809 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItemStart)).EndInit(); |
|
810 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItemEnd)).EndInit(); |
|
811 | 629 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit(); |
630 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).EndInit(); |
|
631 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).EndInit(); |
|
812 | 632 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit(); |
813 | 633 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); |
814 | 634 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit(); |
... | ... | |
858 | 678 |
private DevExpress.XtraGrid.Views.Grid.GridView gridViewPathItems; |
859 | 679 |
private System.Windows.Forms.ContextMenuStrip contextMenuPSN; |
860 | 680 |
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemPathItems; |
861 |
private DevExpress.XtraEditors.ComboBoxEdit comboBoxEditEquipTagName; |
|
862 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; |
|
863 |
private DevExpress.XtraEditors.CheckEdit checkEditEquipTag; |
|
864 |
private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup3; |
|
865 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8; |
|
866 | 681 |
private DevExpress.XtraEditors.SimpleButton btnVentDrainSetting; |
867 | 682 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9; |
868 |
private DevExpress.XtraEditors.RadioGroup radioGroupPBS; |
|
869 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem10; |
|
870 |
private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup4; |
|
871 |
private DevExpress.XtraEditors.ComboBoxEdit comboBoxEditPBSAttr; |
|
872 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItemPBSAttribute; |
|
873 | 683 |
private DevExpress.XtraEditors.SimpleButton btnExportPSN; |
874 | 684 |
private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1; |
875 | 685 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem11; |
876 |
private DevExpress.XtraEditors.SpinEdit spinEditEnd; |
|
877 |
private DevExpress.XtraEditors.SpinEdit spinEditStart; |
|
878 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItemStart; |
|
879 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItemEnd; |
|
880 | 686 |
private DevExpress.XtraEditors.SimpleButton btnKeywordsSetting; |
881 | 687 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem12; |
882 | 688 |
private DevExpress.XtraSplashScreen.SplashScreenManager splashScreenManager1; |
... | ... | |
886 | 692 |
private DevExpress.XtraEditors.SimpleButton btnReset; |
887 | 693 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem14; |
888 | 694 |
private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem2; |
695 |
private DevExpress.XtraEditors.SimpleButton EquipmentTagNoSetting; |
|
696 |
private DevExpress.XtraEditors.SimpleButton PBSSetting; |
|
697 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem15; |
|
698 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem16; |
|
889 | 699 |
} |
890 | 700 |
} |
891 | 701 |
|
DTI_PID/ID2PSN/Form/MainForm.cs | ||
---|---|---|
54 | 54 |
toolStripMenuItemPathItems.Click += toolStripPathItemsClick; |
55 | 55 |
|
56 | 56 |
// Equip Attr |
57 |
comboBoxEditEquipTagName.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; |
|
58 |
string equipTag = Settings.Default.EquipTagAttribute; |
|
59 |
DataTable dt = DB.SelectSymbolAttribute(); |
|
60 |
foreach (DataRow row in dt.Rows) |
|
61 |
{ |
|
62 |
string value = row["Attribute"].ToString(); |
|
63 |
comboBoxEditEquipTagName.Properties.Items.Add(value); |
|
64 |
if (!string.IsNullOrEmpty(equipTag) && value.Equals(equipTag)) |
|
65 |
comboBoxEditEquipTagName.SelectedItem = value; |
|
66 |
} |
|
57 |
//comboBoxEditEquipTagName.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
|
|
58 |
//string equipTag = Settings.Default.EquipTagAttribute;
|
|
59 |
//DataTable dt = DB.SelectSymbolAttribute();
|
|
60 |
//foreach (DataRow row in dt.Rows)
|
|
61 |
//{
|
|
62 |
// string value = row["Attribute"].ToString();
|
|
63 |
// comboBoxEditEquipTagName.Properties.Items.Add(value);
|
|
64 |
// if (!string.IsNullOrEmpty(equipTag) && value.Equals(equipTag))
|
|
65 |
// comboBoxEditEquipTagName.SelectedItem = value;
|
|
66 |
//}
|
|
67 | 67 |
|
68 |
checkEditEquipTag.Checked = Settings.Default.UseEquipTag; |
|
69 |
comboBoxEditEquipTagName.Enabled = checkEditEquipTag.Checked; |
|
68 |
//checkEditEquipTag.Checked = Settings.Default.UseEquipTag;
|
|
69 |
//comboBoxEditEquipTagName.Enabled = checkEditEquipTag.Checked;
|
|
70 | 70 |
|
71 | 71 |
|
72 | 72 |
//PBS |
73 |
spinEditStart.Properties.Mask.EditMask = "f0"; |
|
74 |
spinEditEnd.Properties.Mask.EditMask = "f0"; |
|
75 |
comboBoxEditPBSAttr.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; |
|
76 |
radioGroupPBS.SelectedIndex = -1; |
|
77 |
SetPBSSettingUI(); |
|
78 |
|
|
79 |
for (int i = 0; i < radioGroupPBS.Properties.Items.Count; i++) |
|
80 |
{ |
|
81 |
if (string.IsNullOrEmpty(Settings.Default.PBSSetting)) |
|
82 |
{ |
|
83 |
radioGroupPBS.SelectedIndex = 4; |
|
84 |
break; |
|
85 |
} |
|
86 |
|
|
87 |
if (radioGroupPBS.Properties.Items[i].Value.Equals(Settings.Default.PBSSetting)) |
|
88 |
{ |
|
89 |
radioGroupPBS.SelectedIndex = i; |
|
90 |
break; |
|
91 |
} |
|
92 |
} |
|
73 |
//spinEditStart.Properties.Mask.EditMask = "f0"; |
|
74 |
//spinEditEnd.Properties.Mask.EditMask = "f0"; |
|
75 |
//comboBoxEditPBSAttr.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; |
|
76 |
//radioGroupPBS.SelectedIndex = -1; |
|
77 |
//SetPBSSettingUI(); |
|
78 |
|
|
79 |
//for (int i = 0; i < radioGroupPBS.Properties.Items.Count; i++) |
|
80 |
//{ |
|
81 |
// if (string.IsNullOrEmpty(Settings.Default.PBSSetting)) |
|
82 |
// { |
|
83 |
// radioGroupPBS.SelectedIndex = 4; |
|
84 |
// break; |
|
85 |
// } |
|
86 |
|
|
87 |
// if (radioGroupPBS.Properties.Items[i].Value.Equals(Settings.Default.PBSSetting)) |
|
88 |
// { |
내보내기 Unified diff