개정판 923501a9
dev issue #1286 : attribute text label modeling form
Change-Id: Ib34f6fdec1cc31e8ff3a86daa7bf714a1e738e1f
DTI_PID/SPPIDConverter/ConverterForm.Designer.cs | ||
---|---|---|
133 | 133 |
this.ribbonControl.ShowDisplayOptionsMenuButton = DevExpress.Utils.DefaultBoolean.False; |
134 | 134 |
this.ribbonControl.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.ShowOnMultiplePages; |
135 | 135 |
this.ribbonControl.ShowToolbarCustomizeItem = false; |
136 |
this.ribbonControl.Size = new System.Drawing.Size(1234, 32);
|
|
136 |
this.ribbonControl.Size = new System.Drawing.Size(1242, 32);
|
|
137 | 137 |
this.ribbonControl.Toolbar.ShowCustomizeItem = false; |
138 | 138 |
// |
139 | 139 |
// layoutControl1 |
... | ... | |
153 | 153 |
this.layoutControl1.Name = "layoutControl1"; |
154 | 154 |
this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(982, 292, 650, 400); |
155 | 155 |
this.layoutControl1.Root = this.Root; |
156 |
this.layoutControl1.Size = new System.Drawing.Size(1234, 565);
|
|
156 |
this.layoutControl1.Size = new System.Drawing.Size(1242, 569);
|
|
157 | 157 |
this.layoutControl1.TabIndex = 1; |
158 | 158 |
this.layoutControl1.Text = "layoutControl1"; |
159 | 159 |
// |
160 | 160 |
// btnID2DB |
161 | 161 |
// |
162 | 162 |
this.btnID2DB.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnID2DB.ImageOptions.SvgImage"))); |
163 |
this.btnID2DB.Location = new System.Drawing.Point(967, 58);
|
|
163 |
this.btnID2DB.Location = new System.Drawing.Point(973, 58);
|
|
164 | 164 |
this.btnID2DB.Name = "btnID2DB"; |
165 |
this.btnID2DB.Size = new System.Drawing.Size(243, 36);
|
|
165 |
this.btnID2DB.Size = new System.Drawing.Size(245, 36);
|
|
166 | 166 |
this.btnID2DB.StyleController = this.layoutControl1; |
167 | 167 |
this.btnID2DB.TabIndex = 15; |
168 | 168 |
this.btnID2DB.Text = "Setting"; |
... | ... | |
170 | 170 |
// |
171 | 171 |
// checkEditCloseDocument |
172 | 172 |
// |
173 |
this.checkEditCloseDocument.Location = new System.Drawing.Point(735, 76);
|
|
173 |
this.checkEditCloseDocument.Location = new System.Drawing.Point(741, 76);
|
|
174 | 174 |
this.checkEditCloseDocument.MenuManager = this.ribbonControl; |
175 | 175 |
this.checkEditCloseDocument.Name = "checkEditCloseDocument"; |
176 | 176 |
this.checkEditCloseDocument.Properties.Caption = "Close Document"; |
... | ... | |
191 | 191 |
// |
192 | 192 |
// comboBoxEditDefaultTemplate |
193 | 193 |
// |
194 |
this.comboBoxEditDefaultTemplate.Location = new System.Drawing.Point(609, 76);
|
|
194 |
this.comboBoxEditDefaultTemplate.Location = new System.Drawing.Point(612, 76);
|
|
195 | 195 |
this.comboBoxEditDefaultTemplate.MenuManager = this.ribbonControl; |
196 | 196 |
this.comboBoxEditDefaultTemplate.Name = "comboBoxEditDefaultTemplate"; |
197 | 197 |
this.comboBoxEditDefaultTemplate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
198 | 198 |
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); |
199 | 199 |
this.comboBoxEditDefaultTemplate.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; |
200 |
this.comboBoxEditDefaultTemplate.Size = new System.Drawing.Size(112, 20);
|
|
200 |
this.comboBoxEditDefaultTemplate.Size = new System.Drawing.Size(114, 20);
|
|
201 | 201 |
this.comboBoxEditDefaultTemplate.StyleController = this.layoutControl1; |
202 | 202 |
this.comboBoxEditDefaultTemplate.TabIndex = 12; |
203 | 203 |
this.comboBoxEditDefaultTemplate.SelectedIndexChanged += new System.EventHandler(this.comboBoxEditDefaultTemplate_SelectedIndexChanged); |
204 | 204 |
// |
205 | 205 |
// buttonEditDefaultUnit |
206 | 206 |
// |
207 |
this.buttonEditDefaultUnit.Location = new System.Drawing.Point(392, 76);
|
|
207 |
this.buttonEditDefaultUnit.Location = new System.Drawing.Point(393, 76);
|
|
208 | 208 |
this.buttonEditDefaultUnit.MenuManager = this.ribbonControl; |
209 | 209 |
this.buttonEditDefaultUnit.Name = "buttonEditDefaultUnit"; |
210 | 210 |
this.buttonEditDefaultUnit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
211 | 211 |
new DevExpress.XtraEditors.Controls.EditorButton()}); |
212 | 212 |
this.buttonEditDefaultUnit.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; |
213 |
this.buttonEditDefaultUnit.Size = new System.Drawing.Size(113, 20);
|
|
213 |
this.buttonEditDefaultUnit.Size = new System.Drawing.Size(115, 20);
|
|
214 | 214 |
this.buttonEditDefaultUnit.StyleController = this.layoutControl1; |
215 | 215 |
this.buttonEditDefaultUnit.TabIndex = 11; |
216 | 216 |
this.buttonEditDefaultUnit.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.buttonEditDefaulUnit_ButtonClick); |
... | ... | |
219 | 219 |
// btnRun |
220 | 220 |
// |
221 | 221 |
this.btnRun.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnRun.ImageOptions.SvgImage"))); |
222 |
this.btnRun.Location = new System.Drawing.Point(850, 58);
|
|
222 |
this.btnRun.Location = new System.Drawing.Point(856, 58);
|
|
223 | 223 |
this.btnRun.Name = "btnRun"; |
224 | 224 |
this.btnRun.Size = new System.Drawing.Size(79, 36); |
225 | 225 |
this.btnRun.StyleController = this.layoutControl1; |
... | ... | |
241 | 241 |
// btnItemMapping |
242 | 242 |
// |
243 | 243 |
this.btnItemMapping.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnItemMapping.ImageOptions.SvgImage"))); |
244 |
this.btnItemMapping.Location = new System.Drawing.Point(967, 344);
|
|
244 |
this.btnItemMapping.Location = new System.Drawing.Point(973, 344);
|
|
245 | 245 |
this.btnItemMapping.Name = "btnItemMapping"; |
246 |
this.btnItemMapping.Size = new System.Drawing.Size(243, 36);
|
|
246 |
this.btnItemMapping.Size = new System.Drawing.Size(245, 36);
|
|
247 | 247 |
this.btnItemMapping.StyleController = this.layoutControl1; |
248 | 248 |
this.btnItemMapping.TabIndex = 7; |
249 | 249 |
this.btnItemMapping.Text = "Item Mapping Setting"; |
... | ... | |
252 | 252 |
// btnSPPIDDB |
253 | 253 |
// |
254 | 254 |
this.btnSPPIDDB.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnSPPIDDB.ImageOptions.SvgImage"))); |
255 |
this.btnSPPIDDB.Location = new System.Drawing.Point(967, 210);
|
|
255 |
this.btnSPPIDDB.Location = new System.Drawing.Point(973, 210);
|
|
256 | 256 |
this.btnSPPIDDB.Name = "btnSPPIDDB"; |
257 |
this.btnSPPIDDB.Size = new System.Drawing.Size(243, 36);
|
|
257 |
this.btnSPPIDDB.Size = new System.Drawing.Size(245, 36);
|
|
258 | 258 |
this.btnSPPIDDB.StyleController = this.layoutControl1; |
259 | 259 |
this.btnSPPIDDB.TabIndex = 5; |
260 | 260 |
this.btnSPPIDDB.Text = "Setting"; |
... | ... | |
266 | 266 |
this.gridControlConverter.MainView = this.gridViewConverter; |
267 | 267 |
this.gridControlConverter.MenuManager = this.ribbonControl; |
268 | 268 |
this.gridControlConverter.Name = "gridControlConverter"; |
269 |
this.gridControlConverter.Size = new System.Drawing.Size(905, 441);
|
|
269 |
this.gridControlConverter.Size = new System.Drawing.Size(911, 445);
|
|
270 | 270 |
this.gridControlConverter.TabIndex = 4; |
271 | 271 |
this.gridControlConverter.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { |
272 | 272 |
this.gridViewConverter}); |
... | ... | |
291 | 291 |
this.layoutControlGroupID2Project, |
292 | 292 |
this.splitterItem1}); |
293 | 293 |
this.Root.Name = "Root"; |
294 |
this.Root.Size = new System.Drawing.Size(1234, 565);
|
|
294 |
this.Root.Size = new System.Drawing.Size(1242, 569);
|
|
295 | 295 |
this.Root.TextVisible = false; |
296 | 296 |
// |
297 | 297 |
// layoutControlGroupSPPIDDB |
... | ... | |
304 | 304 |
this.layoutControlItem2, |
305 | 305 |
this.simpleLabelItem2, |
306 | 306 |
this.simpleLabelItem1}); |
307 |
this.layoutControlGroupSPPIDDB.Location = new System.Drawing.Point(943, 152);
|
|
307 |
this.layoutControlGroupSPPIDDB.Location = new System.Drawing.Point(949, 152);
|
|
308 | 308 |
this.layoutControlGroupSPPIDDB.Name = "layoutControlGroupSPPIDDB"; |
309 |
this.layoutControlGroupSPPIDDB.Size = new System.Drawing.Size(271, 134);
|
|
309 |
this.layoutControlGroupSPPIDDB.Size = new System.Drawing.Size(273, 134);
|
|
310 | 310 |
this.layoutControlGroupSPPIDDB.Text = "SPPID DB"; |
311 | 311 |
// |
312 | 312 |
// labelSPPIDPlantName |
... | ... | |
315 | 315 |
this.labelSPPIDPlantName.AppearanceItemCaption.Options.UseForeColor = true; |
316 | 316 |
this.labelSPPIDPlantName.Location = new System.Drawing.Point(78, 40); |
317 | 317 |
this.labelSPPIDPlantName.Name = "labelSPPIDPlantName"; |
318 |
this.labelSPPIDPlantName.Size = new System.Drawing.Size(169, 18);
|
|
318 |
this.labelSPPIDPlantName.Size = new System.Drawing.Size(171, 18);
|
|
319 | 319 |
this.labelSPPIDPlantName.Text = "SPPIDPlantName"; |
320 | 320 |
this.labelSPPIDPlantName.TextSize = new System.Drawing.Size(93, 14); |
321 | 321 |
// |
... | ... | |
325 | 325 |
this.labelSPPIDDBStatus.AppearanceItemCaption.Options.UseForeColor = true; |
326 | 326 |
this.labelSPPIDDBStatus.Location = new System.Drawing.Point(51, 58); |
327 | 327 |
this.labelSPPIDDBStatus.Name = "labelSPPIDDBStatus"; |
328 |
this.labelSPPIDDBStatus.Size = new System.Drawing.Size(196, 18);
|
|
328 |
this.labelSPPIDDBStatus.Size = new System.Drawing.Size(198, 18);
|
|
329 | 329 |
this.labelSPPIDDBStatus.Text = "SPPIDDBStatus"; |
330 | 330 |
this.labelSPPIDDBStatus.TextSize = new System.Drawing.Size(93, 14); |
331 | 331 |
// |
... | ... | |
334 | 334 |
this.layoutControlItem2.Control = this.btnSPPIDDB; |
335 | 335 |
this.layoutControlItem2.Location = new System.Drawing.Point(0, 0); |
336 | 336 |
this.layoutControlItem2.Name = "layoutControlItem2"; |
337 |
this.layoutControlItem2.Size = new System.Drawing.Size(247, 40);
|
|
337 |
this.layoutControlItem2.Size = new System.Drawing.Size(249, 40);
|
|
338 | 338 |
this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); |
339 | 339 |
this.layoutControlItem2.TextVisible = false; |
340 | 340 |
// |
... | ... | |
374 | 374 |
this.layoutControlItem4, |
375 | 375 |
this.labelItemMappingStatus, |
376 | 376 |
this.simpleLabelItem5}); |
377 |
this.layoutControlGroupItemMapping.Location = new System.Drawing.Point(943, 286);
|
|
377 |
this.layoutControlGroupItemMapping.Location = new System.Drawing.Point(949, 286);
|
|
378 | 378 |
this.layoutControlGroupItemMapping.Name = "layoutControlGroupItemMapping"; |
379 |
this.layoutControlGroupItemMapping.Size = new System.Drawing.Size(271, 116);
|
|
379 |
this.layoutControlGroupItemMapping.Size = new System.Drawing.Size(273, 116);
|
|
380 | 380 |
this.layoutControlGroupItemMapping.Text = "Item Mapping"; |
381 | 381 |
// |
382 | 382 |
// layoutControlItem4 |
... | ... | |
384 | 384 |
this.layoutControlItem4.Control = this.btnItemMapping; |
385 | 385 |
this.layoutControlItem4.Location = new System.Drawing.Point(0, 0); |
386 | 386 |
this.layoutControlItem4.Name = "layoutControlItem4"; |
387 |
this.layoutControlItem4.Size = new System.Drawing.Size(247, 40);
|
|
387 |
this.layoutControlItem4.Size = new System.Drawing.Size(249, 40);
|
|
388 | 388 |
this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0); |
389 | 389 |
this.layoutControlItem4.TextVisible = false; |
390 | 390 |
// |
... | ... | |
394 | 394 |
this.labelItemMappingStatus.AppearanceItemCaption.Options.UseForeColor = true; |
395 | 395 |
this.labelItemMappingStatus.Location = new System.Drawing.Point(51, 40); |
396 | 396 |
this.labelItemMappingStatus.Name = "labelItemMappingStatus"; |
397 |
this.labelItemMappingStatus.Size = new System.Drawing.Size(196, 18);
|
|
397 |
this.labelItemMappingStatus.Size = new System.Drawing.Size(198, 18);
|
|
398 | 398 |
this.labelItemMappingStatus.Text = "MappingStatus"; |
399 | 399 |
this.labelItemMappingStatus.TextSize = new System.Drawing.Size(93, 14); |
400 | 400 |
// |
... | ... | |
430 | 430 |
this.emptySpaceItem5}); |
431 | 431 |
this.layoutControlGroupAutoConverter.Location = new System.Drawing.Point(0, 0); |
432 | 432 |
this.layoutControlGroupAutoConverter.Name = "layoutControlGroupAutoConverter"; |
433 |
this.layoutControlGroupAutoConverter.Size = new System.Drawing.Size(933, 545);
|
|
433 |
this.layoutControlGroupAutoConverter.Size = new System.Drawing.Size(939, 549);
|
|
434 | 434 |
this.layoutControlGroupAutoConverter.Text = "Auto Converter"; |
435 | 435 |
// |
436 | 436 |
// layoutControlItem1 |
... | ... | |
438 | 438 |
this.layoutControlItem1.Control = this.gridControlConverter; |
439 | 439 |
this.layoutControlItem1.Location = new System.Drawing.Point(0, 42); |
440 | 440 |
this.layoutControlItem1.Name = "layoutControlItem1"; |
441 |
this.layoutControlItem1.Size = new System.Drawing.Size(909, 445);
|
|
441 |
this.layoutControlItem1.Size = new System.Drawing.Size(915, 449);
|
|
442 | 442 |
this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); |
443 | 443 |
this.layoutControlItem1.TextVisible = false; |
444 | 444 |
// |
... | ... | |
459 | 459 |
this.emptySpaceItem2.AllowHotTrack = false; |
460 | 460 |
this.emptySpaceItem2.Location = new System.Drawing.Point(236, 0); |
461 | 461 |
this.emptySpaceItem2.Name = "emptySpaceItem2"; |
462 |
this.emptySpaceItem2.Size = new System.Drawing.Size(590, 18);
|
|
462 |
this.emptySpaceItem2.Size = new System.Drawing.Size(596, 18);
|
|
463 | 463 |
this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0); |
464 | 464 |
// |
465 | 465 |
// layoutControlItem6 |
466 | 466 |
// |
467 | 467 |
this.layoutControlItem6.Control = this.btnRun; |
468 |
this.layoutControlItem6.Location = new System.Drawing.Point(826, 0);
|
|
468 |
this.layoutControlItem6.Location = new System.Drawing.Point(832, 0);
|
|
469 | 469 |
this.layoutControlItem6.MaxSize = new System.Drawing.Size(83, 40); |
470 | 470 |
this.layoutControlItem6.MinSize = new System.Drawing.Size(83, 40); |
471 | 471 |
this.layoutControlItem6.Name = "layoutControlItem6"; |
... | ... | |
477 | 477 |
// layoutControlItem3 |
478 | 478 |
// |
479 | 479 |
this.layoutControlItem3.Control = this.buttonEditDefaultUnit; |
480 |
this.layoutControlItem3.Location = new System.Drawing.Point(298, 18);
|
|
480 |
this.layoutControlItem3.Location = new System.Drawing.Point(299, 18);
|
|
481 | 481 |
this.layoutControlItem3.Name = "layoutControlItem3"; |
482 |
this.layoutControlItem3.Size = new System.Drawing.Size(187, 24);
|
|
482 |
this.layoutControlItem3.Size = new System.Drawing.Size(189, 24);
|
|
483 | 483 |
this.layoutControlItem3.Text = "Default Unit"; |
484 | 484 |
this.layoutControlItem3.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; |
485 | 485 |
this.layoutControlItem3.TextSize = new System.Drawing.Size(65, 14); |
... | ... | |
488 | 488 |
// layoutControlItem8 |
489 | 489 |
// |
490 | 490 |
this.layoutControlItem8.Control = this.comboBoxEditDefaultTemplate; |
491 |
this.layoutControlItem8.Location = new System.Drawing.Point(485, 18);
|
|
491 |
this.layoutControlItem8.Location = new System.Drawing.Point(488, 18);
|
|
492 | 492 |
this.layoutControlItem8.Name = "layoutControlItem8"; |
493 |
this.layoutControlItem8.Size = new System.Drawing.Size(216, 24);
|
|
493 |
this.layoutControlItem8.Size = new System.Drawing.Size(218, 24);
|
|
494 | 494 |
this.layoutControlItem8.Text = "Default Template"; |
495 | 495 |
this.layoutControlItem8.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; |
496 | 496 |
this.layoutControlItem8.TextSize = new System.Drawing.Size(95, 14); |
... | ... | |
501 | 501 |
this.emptySpaceItem3.AllowHotTrack = false; |
502 | 502 |
this.emptySpaceItem3.Location = new System.Drawing.Point(236, 18); |
503 | 503 |
this.emptySpaceItem3.Name = "emptySpaceItem3"; |
504 |
this.emptySpaceItem3.Size = new System.Drawing.Size(62, 24);
|
|
504 |
this.emptySpaceItem3.Size = new System.Drawing.Size(63, 24);
|
|
505 | 505 |
this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0); |
506 | 506 |
// |
507 | 507 |
// layoutControlItem9 |
... | ... | |
527 | 527 |
// layoutControlItem10 |
528 | 528 |
// |
529 | 529 |
this.layoutControlItem10.Control = this.checkEditCloseDocument; |
530 |
this.layoutControlItem10.Location = new System.Drawing.Point(711, 18);
|
|
530 |
this.layoutControlItem10.Location = new System.Drawing.Point(717, 18);
|
|
531 | 531 |
this.layoutControlItem10.MaxSize = new System.Drawing.Size(115, 24); |
532 | 532 |
this.layoutControlItem10.MinSize = new System.Drawing.Size(115, 24); |
533 | 533 |
this.layoutControlItem10.Name = "layoutControlItem10"; |
... | ... | |
539 | 539 |
// emptySpaceItem5 |
540 | 540 |
// |
541 | 541 |
this.emptySpaceItem5.AllowHotTrack = false; |
542 |
this.emptySpaceItem5.Location = new System.Drawing.Point(701, 18);
|
|
542 |
this.emptySpaceItem5.Location = new System.Drawing.Point(706, 18);
|
|
543 | 543 |
this.emptySpaceItem5.Name = "emptySpaceItem5"; |
544 |
this.emptySpaceItem5.Size = new System.Drawing.Size(10, 24);
|
|
544 |
this.emptySpaceItem5.Size = new System.Drawing.Size(11, 24);
|
|
545 | 545 |
this.emptySpaceItem5.TextSize = new System.Drawing.Size(0, 0); |
546 | 546 |
// |
547 | 547 |
// emptySpaceItem1 |
548 | 548 |
// |
549 | 549 |
this.emptySpaceItem1.AllowHotTrack = false; |
550 |
this.emptySpaceItem1.Location = new System.Drawing.Point(943, 402);
|
|
550 |
this.emptySpaceItem1.Location = new System.Drawing.Point(949, 402);
|
|
551 | 551 |
this.emptySpaceItem1.Name = "emptySpaceItem1"; |
552 |
this.emptySpaceItem1.Size = new System.Drawing.Size(271, 143);
|
|
552 |
this.emptySpaceItem1.Size = new System.Drawing.Size(273, 147);
|
|
553 | 553 |
this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); |
554 | 554 |
// |
555 | 555 |
// layoutControlGroupID2Project |
... | ... | |
564 | 564 |
this.layoutControlItem7, |
565 | 565 |
this.labelDBType, |
566 | 566 |
this.simpleLabelItem7}); |
567 |
this.layoutControlGroupID2Project.Location = new System.Drawing.Point(943, 0);
|
|
567 |
this.layoutControlGroupID2Project.Location = new System.Drawing.Point(949, 0);
|
|
568 | 568 |
this.layoutControlGroupID2Project.Name = "layoutControlGroupID2Project"; |
569 |
this.layoutControlGroupID2Project.Size = new System.Drawing.Size(271, 152);
|
|
569 |
this.layoutControlGroupID2Project.Size = new System.Drawing.Size(273, 152);
|
|
570 | 570 |
this.layoutControlGroupID2Project.Text = "ID2 Project"; |
571 | 571 |
// |
572 | 572 |
// labelID2ProjectName |
... | ... | |
575 | 575 |
this.labelID2ProjectName.AppearanceItemCaption.Options.UseForeColor = true; |
576 | 576 |
this.labelID2ProjectName.Location = new System.Drawing.Point(90, 40); |
577 | 577 |
this.labelID2ProjectName.Name = "labelID2ProjectName"; |
578 |
this.labelID2ProjectName.Size = new System.Drawing.Size(157, 18);
|
|
578 |
this.labelID2ProjectName.Size = new System.Drawing.Size(159, 18);
|
|
579 | 579 |
this.labelID2ProjectName.Text = "ID2ProjectName"; |
580 | 580 |
this.labelID2ProjectName.TextSize = new System.Drawing.Size(93, 14); |
581 | 581 |
// |
... | ... | |
585 | 585 |
this.labelID2ProjectStatus.AppearanceItemCaption.Options.UseForeColor = true; |
586 | 586 |
this.labelID2ProjectStatus.Location = new System.Drawing.Point(51, 76); |
587 | 587 |
this.labelID2ProjectStatus.Name = "labelID2ProjectStatus"; |
588 |
this.labelID2ProjectStatus.Size = new System.Drawing.Size(196, 18);
|
|
588 |
this.labelID2ProjectStatus.Size = new System.Drawing.Size(198, 18);
|
|
589 | 589 |
this.labelID2ProjectStatus.Text = "ID2ProjectStatus"; |
590 | 590 |
this.labelID2ProjectStatus.TextSize = new System.Drawing.Size(93, 14); |
591 | 591 |
// |
... | ... | |
622 | 622 |
this.layoutControlItem7.Control = this.btnID2DB; |
623 | 623 |
this.layoutControlItem7.Location = new System.Drawing.Point(0, 0); |
624 | 624 |
this.layoutControlItem7.Name = "layoutControlItem7"; |
625 |
this.layoutControlItem7.Size = new System.Drawing.Size(247, 40);
|
|
625 |
this.layoutControlItem7.Size = new System.Drawing.Size(249, 40);
|
|
626 | 626 |
this.layoutControlItem7.TextSize = new System.Drawing.Size(0, 0); |
627 | 627 |
this.layoutControlItem7.TextVisible = false; |
628 | 628 |
// |
... | ... | |
633 | 633 |
this.labelDBType.Location = new System.Drawing.Point(63, 58); |
634 | 634 |
this.labelDBType.MinSize = new System.Drawing.Size(97, 18); |
635 | 635 |
this.labelDBType.Name = "labelDBType"; |
636 |
this.labelDBType.Size = new System.Drawing.Size(184, 18);
|
|
636 |
this.labelDBType.Size = new System.Drawing.Size(186, 18);
|
|
637 | 637 |
this.labelDBType.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
638 | 638 |
this.labelDBType.Text = "DB Type"; |
639 | 639 |
this.labelDBType.TextSize = new System.Drawing.Size(93, 14); |
... | ... | |
655 | 655 |
// splitterItem1 |
656 | 656 |
// |
657 | 657 |
this.splitterItem1.AllowHotTrack = true; |
658 |
this.splitterItem1.Location = new System.Drawing.Point(933, 0);
|
|
658 |
this.splitterItem1.Location = new System.Drawing.Point(939, 0);
|
|
659 | 659 |
this.splitterItem1.Name = "splitterItem1"; |
660 |
this.splitterItem1.Size = new System.Drawing.Size(10, 545);
|
|
660 |
this.splitterItem1.Size = new System.Drawing.Size(10, 549);
|
|
661 | 661 |
// |
662 | 662 |
// xtraFolderBrowserDialog |
663 | 663 |
// |
... | ... | |
675 | 675 |
// |
676 | 676 |
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); |
677 | 677 |
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
678 |
this.ClientSize = new System.Drawing.Size(1234, 597);
|
|
678 |
this.ClientSize = new System.Drawing.Size(1242, 601);
|
|
679 | 679 |
this.Controls.Add(this.layoutControl1); |
680 | 680 |
this.Controls.Add(this.ribbonControl); |
681 | 681 |
this.Name = "ConverterForm"; |
DTI_PID/SPPIDConverter/DB/Project_DB.cs | ||
---|---|---|
262 | 262 |
} |
263 | 263 |
|
264 | 264 |
#region Check Column 업데이트시 예비용 |
265 |
//cmd.CommandText = string.Format("SELECT * FROM {0}", SPPID_ATTRIBUTE_MAPPING_TABLE);
|
|
266 |
//using (SQLiteDataReader dr = cmd.ExecuteReader())
|
|
267 |
//using (DataTable dt = new DataTable())
|
|
268 |
//{
|
|
269 |
// dt.Load(dr);
|
|
270 |
// if (!dt.Columns.Contains("ISTEXT"))
|
|
271 |
// {
|
|
272 |
// cmd.CommandText = string.Format("ALTER TABLE {0} ADD COLUMN ISTEXT BIT", SPPID_ATTRIBUTE_MAPPING_TABLE);
|
|
273 |
// cmd.ExecuteNonQuery();
|
|
274 |
// }
|
|
275 |
//}
|
|
265 |
cmd.CommandText = string.Format("SELECT * FROM {0}", SPPID_ATTRIBUTE_MAPPING_TABLE); |
|
266 |
using (SqlDataReader dr = cmd.ExecuteReader())
|
|
267 |
using (DataTable dt = new DataTable()) |
|
268 |
{ |
|
269 |
dt.Load(dr); |
|
270 |
if (!dt.Columns.Contains("ISTEXT")) |
|
271 |
{ |
|
272 |
cmd.CommandText = string.Format("ALTER TABLE {0} ADD ISTEXT BIT", SPPID_ATTRIBUTE_MAPPING_TABLE);
|
|
273 |
cmd.ExecuteNonQuery(); |
|
274 |
} |
|
275 |
} |
|
276 | 276 |
#endregion |
277 | 277 |
} |
278 | 278 |
result = true; |
... | ... | |
944 | 944 |
using (SQLiteCommand cmd = connection.CreateCommand()) |
945 | 945 |
{ |
946 | 946 |
cmd.CommandText = string.Format(@" |
947 |
SELECT sa.UID, sa.DisplayAttribute, st.TYPE, spa.SPPID_ATTRIBUTE, sp.SPPID_SYMBOL_PATH, spl.LOCATION, spl.LEADERLINE, sa.Property |
|
947 |
SELECT sa.UID, sa.DisplayAttribute, st.TYPE, spa.SPPID_ATTRIBUTE, sp.SPPID_SYMBOL_PATH, spa.ISTEXT, spl.LOCATION, spl.LEADERLINE, sa.Property
|
|
948 | 948 |
FROM {1} as sa, {0} as st |
949 | 949 |
LEFT OUTER JOIN {2} as sp |
950 | 950 |
ON sa.UID = SP.UID |
... | ... | |
979 | 979 |
using (SqlCommand cmd = connection.CreateCommand()) |
980 | 980 |
{ |
981 | 981 |
cmd.CommandText = string.Format(@" |
982 |
SELECT sa.UID, sa.DisplayAttribute, st.Type, spa.SPPID_ATTRIBUTE, sp.SPPID_SYMBOL_PATH, spl.LOCATION, spl.LEADERLINE, sa.Property |
|
982 |
SELECT sa.UID, sa.DisplayAttribute, st.Type, spa.SPPID_ATTRIBUTE, sp.SPPID_SYMBOL_PATH, spa.ISTEXT, spl.LOCATION, spl.LEADERLINE, sa.Property
|
|
983 | 983 |
FROM {1} as sa |
984 | 984 |
LEFT OUTER JOIN {2} as sp |
985 | 985 |
ON sa.UID = SP.UID |
... | ... | |
1084 | 1084 |
|
1085 | 1085 |
return dt; |
1086 | 1086 |
} |
1087 |
|
|
1087 | 1088 |
private static DataTable SelectDrawingProjectAttribute2() |
1088 | 1089 |
{ |
1089 | 1090 |
DataTable dt = new DataTable(); |
... | ... | |
1624 | 1625 |
return true; |
1625 | 1626 |
} |
1626 | 1627 |
|
1627 |
public static bool InsertAttributeMapping(List<Tuple<string, string>> datas) |
|
1628 |
public static bool InsertAttributeMapping(List<Tuple<string, string, bool>> datas)
|
|
1628 | 1629 |
{ |
1629 | 1630 |
Project_Info projectInfo = Project_Info.GetInstance(); |
1630 | 1631 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
... | ... | |
1643 | 1644 |
foreach (var item in datas) |
1644 | 1645 |
{ |
1645 | 1646 |
cmd.Parameters.Clear(); |
1646 |
cmd.CommandText = string.Format("INSERT OR REPLACE INTO {0} (UID, SPPID_ATTRIBUTE) VALUES (@UID, @SPPID_ATTRIBUTE)", SPPID_ATTRIBUTE_MAPPING_TABLE);
|
|
1647 |
cmd.CommandText = string.Format("INSERT OR REPLACE INTO {0} (UID, SPPID_ATTRIBUTE, ISTEXT) VALUES (@UID, @SPPID_ATTRIBUTE, @ISTEXT)", SPPID_ATTRIBUTE_MAPPING_TABLE);
|
|
1647 | 1648 |
cmd.Parameters.AddWithValue("@UID", item.Item1); |
1648 | 1649 |
cmd.Parameters.AddWithValue("@SPPID_ATTRIBUTE", item.Item2); |
1650 |
cmd.Parameters.AddWithValue("@ISTEXT", item.Item3); |
|
1649 | 1651 |
cmd.ExecuteNonQuery(); |
1650 | 1652 |
} |
1651 | 1653 |
} |
... | ... | |
1689 | 1691 |
cmd.Parameters.Clear(); |
1690 | 1692 |
cmd.CommandText = string.Format(@" |
1691 | 1693 |
IF EXISTS (SELECT * FROM {0} WHERE UID = '{1}') |
1692 |
UPDATE {0} SET SPPID_ATTRIBUTE = @SPPID_ATTRIBUTE WHERE UID = @UID |
|
1694 |
UPDATE {0} SET SPPID_ATTRIBUTE = @SPPID_ATTRIBUTE, ISTEXT = @ISTEXT WHERE UID = @UID
|
|
1693 | 1695 |
ELSE |
1694 |
INSERT INTO {0} (UID, SPPID_ATTRIBUTE) VALUES (@UID, @SPPID_ATTRIBUTE)", SPPID_ATTRIBUTE_MAPPING_TABLE, item.Item1);
|
|
1696 |
INSERT INTO {0} (UID, SPPID_ATTRIBUTE, ISTEXT) VALUES (@UID, @SPPID_ATTRIBUTE, @ISTEXT)", SPPID_ATTRIBUTE_MAPPING_TABLE, item.Item1);
|
|
1695 | 1697 |
|
1696 | 1698 |
cmd.Parameters.AddWithValue("@UID", item.Item1); |
1697 | 1699 |
if (string.IsNullOrEmpty(item.Item2)) |
1698 | 1700 |
cmd.Parameters.AddWithValue("@SPPID_ATTRIBUTE", DBNull.Value); |
1699 | 1701 |
else |
1700 | 1702 |
cmd.Parameters.AddWithValue("@SPPID_ATTRIBUTE", item.Item2); |
1703 |
cmd.Parameters.AddWithValue("@ISTEXT", item.Item3); |
|
1701 | 1704 |
cmd.ExecuteNonQuery(); |
1702 | 1705 |
} |
1703 | 1706 |
} |
DTI_PID/SPPIDConverter/Form/MappingForm.cs | ||
---|---|---|
147 | 147 |
gridViewAttribute.Columns["LOCATION"].Caption = "Label Location"; |
148 | 148 |
gridViewAttribute.Columns["LOCATION"].Visible = false; |
149 | 149 |
gridViewAttribute.Columns["LEADERLINE"].Caption = "Show Leader Line"; |
150 |
gridViewAttribute.Columns["ISTEXT"].Caption = "Use Text"; |
|
150 | 151 |
gridViewAttribute.Columns["Property"].Visible = false; |
151 | 152 |
|
152 | 153 |
RepositoryItemCheckedComboBoxEdit checkedComboEdit = new RepositoryItemCheckedComboBoxEdit(); |
... | ... | |
160 | 161 |
|
161 | 162 |
if (DBNull.Value.Equals(item["LEADERLINE"])) |
162 | 163 |
item["LEADERLINE"] = false; |
164 |
|
|
165 |
if (DBNull.Value.Equals(item["ISTEXT"])) |
|
166 |
item["ISTEXT"] = false; |
|
163 | 167 |
} |
164 | 168 |
SPPIDAttributeDT.Columns["ITEMTYPE"].Caption = "Item Type"; |
165 | 169 |
RepositoryItemLookUpEdit lookUpEdit = new RepositoryItemLookUpEdit(); |
... | ... | |
214 | 218 |
gridViewLine.Columns["Clear"].MaxWidth = 16; |
215 | 219 |
gridViewAttribute.Columns["Clear"].ColumnEdit = clearButton; |
216 | 220 |
gridViewAttribute.Columns["Clear"].MaxWidth = 16; |
221 |
|
|
222 |
gridViewAttribute.Columns["ISTEXT"].Width = 20; |
|
223 |
gridViewAttribute.Columns["LEADERLINE"].Width = 20; |
|
217 | 224 |
} |
218 | 225 |
|
219 | 226 |
private void lookUpEdit_KeyUp(object sender, KeyEventArgs e) |
... | ... | |
383 | 390 |
{ |
384 | 391 |
Cursor = Cursors.WaitCursor; |
385 | 392 |
List<Tuple<string, string, string, bool>> symbolDatas = new List<Tuple<string, string, string, bool>>(); |
386 |
List<Tuple<string, string>> attributeDatas = new List<Tuple<string, string>>();
|
|
393 |
List<Tuple<string, string, bool>> attributeDatas = new List<Tuple<string, string, bool>>();
|
|
387 | 394 |
List<Tuple<string, int, bool>> labelDatas = new List<Tuple<string, int, bool>>(); |
388 | 395 |
foreach (DataRow row in symbolDT.Rows) |
389 | 396 |
{ |
... | ... | |
410 | 417 |
symbolDatas.Add(new Tuple<string, string, string, bool>(_uid, _name, _SPPIDSymbolPath, false)); |
411 | 418 |
|
412 | 419 |
string _SPPID_Attribute = row["SPPID_ATTRIBUTE"] == DBNull.Value ? null : row["SPPID_ATTRIBUTE"].ToString(); |
413 |
attributeDatas.Add(new Tuple<string, string>(_uid, _SPPID_Attribute));
|
|
420 |
attributeDatas.Add(new Tuple<string, string, bool>(_uid, _SPPID_Attribute, false));
|
|
414 | 421 |
} |
415 | 422 |
|
416 | 423 |
foreach (DataRow row in attributeDT.Rows) |
... | ... | |
420 | 427 |
string _SPPIDSymbolPath = row["SPPID_SYMBOL_PATH"] == DBNull.Value ? null : row["SPPID_SYMBOL_PATH"].ToString(); |
421 | 428 |
symbolDatas.Add(new Tuple<string, string, string, bool>(_uid, _name, _SPPIDSymbolPath, false)); |
422 | 429 |
|
430 |
bool isText = (bool)row["ISTEXT"]; |
|
423 | 431 |
string _SPPID_Attribute = row["SPPID_ATTRIBUTE"] == DBNull.Value ? null : row["SPPID_ATTRIBUTE"].ToString(); |
424 |
attributeDatas.Add(new Tuple<string, string>(_uid, _SPPID_Attribute));
|
|
432 |
attributeDatas.Add(new Tuple<string, string, bool>(_uid, _SPPID_Attribute, isText));
|
|
425 | 433 |
|
426 | 434 |
int _LOCATION = (int)row["LOCATION"]; |
427 | 435 |
bool _LEADERLINE = (bool)row["LEADERLINE"]; |
... | ... | |
432 | 440 |
{ |
433 | 441 |
string _uid = row["UID"].ToString(); |
434 | 442 |
string _SPPID_Attribute = row["SPPID_ATTRIBUTE"] == DBNull.Value ? null : row["SPPID_ATTRIBUTE"].ToString(); |
435 |
attributeDatas.Add(new Tuple<string, string>(_uid, _SPPID_Attribute));
|
|
443 |
attributeDatas.Add(new Tuple<string, string, bool>(_uid, _SPPID_Attribute, false));
|
|
436 | 444 |
} |
437 | 445 |
|
438 | 446 |
#region Setting |
... | ... | |
516 | 524 |
{ |
517 | 525 |
if (gridview.FocusedColumn.Name != "colClear" && |
518 | 526 |
gridview.FocusedColumn.Name != "colSPPID_ATTRIBUTE" && |
519 |
gridview.FocusedColumn.Name != "colLOCATION" && |
|
520 |
gridview.FocusedColumn.Name != "colLEADERLINE") |
|
527 |
gridview.FocusedColumn.Name != "colLOCATION" && |
|
528 |
gridview.FocusedColumn.Name != "colLEADERLINE" && |
|
529 |
gridview.FocusedColumn.Name != "colISTEXT") |
|
521 | 530 |
e.Cancel = true; |
522 | 531 |
} |
523 | 532 |
} |
내보내기 Unified diff