프로젝트

일반

사용자정보

개정판 88365b05

ID88365b0533069adcaef10ccfbf9bbedea593d27f
상위 60a617ec
하위 e00e891d

gaqhf 이(가) 약 6년 전에 추가함

dev issue #000 : edit ui and add etc setting

Change-Id: I4bb6b6629a0dbd6b3041b6c0dd71e8d3b1ff35e1

차이점 보기:

DTI_PID/SPPIDConverter_AutoModeling/Form/MappingForm.Designer.cs
30 30
        {
31 31
            this.ribbonControl = new DevExpress.XtraBars.Ribbon.RibbonControl();
32 32
            this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
33
            this.textEdit1 = new DevExpress.XtraEditors.TextEdit();
34
            this.textBoxNoteSymbolPath = new DevExpress.XtraEditors.ButtonEdit();
35
            this.textBoxTextSymbolPath = new DevExpress.XtraEditors.ButtonEdit();
33 36
            this.textBoxLineNumberPath = new DevExpress.XtraEditors.ButtonEdit();
34 37
            this.gridControlLineNumber = new DevExpress.XtraGrid.GridControl();
35 38
            this.gridViewLineNumber = new DevExpress.XtraGrid.Views.Grid.GridView();
......
55 58
            this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem();
56 59
            this.splitterItem3 = new DevExpress.XtraLayout.SplitterItem();
57 60
            this.tabbedControlGroup = new DevExpress.XtraLayout.TabbedControlGroup();
58
            this.GroupLineNumber = new DevExpress.XtraLayout.LayoutControlGroup();
59
            this.layoutControlGroup8 = new DevExpress.XtraLayout.LayoutControlGroup();
60
            this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem();
61
            this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
61
            this.GroupETCSetting = new DevExpress.XtraLayout.LayoutControlGroup();
62
            this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem();
63
            this.layoutControlGroup9 = new DevExpress.XtraLayout.LayoutControlGroup();
64
            this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
65
            this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
66
            this.layoutControlGroup10 = new DevExpress.XtraLayout.LayoutControlGroup();
67
            this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem();
62 68
            this.GroupSymbol = new DevExpress.XtraLayout.LayoutControlGroup();
63 69
            this.splitterItem1 = new DevExpress.XtraLayout.SplitterItem();
64 70
            this.layoutControlGroup3 = new DevExpress.XtraLayout.LayoutControlGroup();
......
71 77
            this.GroupLine = new DevExpress.XtraLayout.LayoutControlGroup();
72 78
            this.layoutControlGroup6 = new DevExpress.XtraLayout.LayoutControlGroup();
73 79
            this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem();
80
            this.GroupLineNumber = new DevExpress.XtraLayout.LayoutControlGroup();
81
            this.layoutControlGroup8 = new DevExpress.XtraLayout.LayoutControlGroup();
82
            this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem();
83
            this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
74 84
            this.GroupAssociation = new DevExpress.XtraLayout.LayoutControlGroup();
75 85
            this.layoutControlGroup7 = new DevExpress.XtraLayout.LayoutControlGroup();
76 86
            this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem();
......
80 90
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).BeginInit();
81 91
            ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
82 92
            this.layoutControl1.SuspendLayout();
93
            ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit();
94
            ((System.ComponentModel.ISupportInitialize)(this.textBoxNoteSymbolPath.Properties)).BeginInit();
95
            ((System.ComponentModel.ISupportInitialize)(this.textBoxTextSymbolPath.Properties)).BeginInit();
83 96
            ((System.ComponentModel.ISupportInitialize)(this.textBoxLineNumberPath.Properties)).BeginInit();
84 97
            ((System.ComponentModel.ISupportInitialize)(this.gridControlLineNumber)).BeginInit();
85 98
            ((System.ComponentModel.ISupportInitialize)(this.gridViewLineNumber)).BeginInit();
......
103 116
            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit();
104 117
            ((System.ComponentModel.ISupportInitialize)(this.splitterItem3)).BeginInit();
105 118
            ((System.ComponentModel.ISupportInitialize)(this.tabbedControlGroup)).BeginInit();
106
            ((System.ComponentModel.ISupportInitialize)(this.GroupLineNumber)).BeginInit();
107
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup8)).BeginInit();
108
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit();
109
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
119
            ((System.ComponentModel.ISupportInitialize)(this.GroupETCSetting)).BeginInit();
120
            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit();
121
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup9)).BeginInit();
122
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
123
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
124
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup10)).BeginInit();
125
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit();
110 126
            ((System.ComponentModel.ISupportInitialize)(this.GroupSymbol)).BeginInit();
111 127
            ((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).BeginInit();
112 128
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).BeginInit();
......
119 135
            ((System.ComponentModel.ISupportInitialize)(this.GroupLine)).BeginInit();
120 136
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup6)).BeginInit();
121 137
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit();
138
            ((System.ComponentModel.ISupportInitialize)(this.GroupLineNumber)).BeginInit();
139
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup8)).BeginInit();
140
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit();
141
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
122 142
            ((System.ComponentModel.ISupportInitialize)(this.GroupAssociation)).BeginInit();
123 143
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup7)).BeginInit();
124 144
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit();
......
144 164
            // 
145 165
            // layoutControl1
146 166
            // 
167
            this.layoutControl1.Controls.Add(this.textEdit1);
168
            this.layoutControl1.Controls.Add(this.textBoxNoteSymbolPath);
169
            this.layoutControl1.Controls.Add(this.textBoxTextSymbolPath);
147 170
            this.layoutControl1.Controls.Add(this.textBoxLineNumberPath);
148 171
            this.layoutControl1.Controls.Add(this.gridControlLineNumber);
149 172
            this.layoutControl1.Controls.Add(this.btnClose);
......
163 186
            this.layoutControl1.TabIndex = 2;
164 187
            this.layoutControl1.Text = "layoutControl1";
165 188
            // 
189
            // textEdit1
190
            // 
191
            this.textEdit1.Location = new System.Drawing.Point(206, 172);
192
            this.textEdit1.MenuManager = this.ribbonControl;
193
            this.textEdit1.Name = "textEdit1";
194
            this.textEdit1.Size = new System.Drawing.Size(493, 20);
195
            this.textEdit1.StyleController = this.layoutControl1;
196
            this.textEdit1.TabIndex = 26;
197
            // 
198
            // textBoxNoteSymbolPath
199
            // 
200
            this.textBoxNoteSymbolPath.Location = new System.Drawing.Point(206, 103);
201
            this.textBoxNoteSymbolPath.MenuManager = this.ribbonControl;
202
            this.textBoxNoteSymbolPath.Name = "textBoxNoteSymbolPath";
203
            this.textBoxNoteSymbolPath.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
204
            new DevExpress.XtraEditors.Controls.EditorButton()});
205
            this.textBoxNoteSymbolPath.Size = new System.Drawing.Size(493, 20);
206
            this.textBoxNoteSymbolPath.StyleController = this.layoutControl1;
207
            this.textBoxNoteSymbolPath.TabIndex = 25;
208
            this.textBoxNoteSymbolPath.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.textBoxETC_ButtonClick);
209
            // 
210
            // textBoxTextSymbolPath
211
            // 
212
            this.textBoxTextSymbolPath.Location = new System.Drawing.Point(206, 79);
213
            this.textBoxTextSymbolPath.MenuManager = this.ribbonControl;
214
            this.textBoxTextSymbolPath.Name = "textBoxTextSymbolPath";
215
            this.textBoxTextSymbolPath.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
216
            new DevExpress.XtraEditors.Controls.EditorButton()});
217
            this.textBoxTextSymbolPath.Size = new System.Drawing.Size(493, 20);
218
            this.textBoxTextSymbolPath.StyleController = this.layoutControl1;
219
            this.textBoxTextSymbolPath.TabIndex = 24;
220
            this.textBoxTextSymbolPath.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.textBoxETC_ButtonClick);
221
            // 
166 222
            // textBoxLineNumberPath
167 223
            // 
168 224
            this.textBoxLineNumberPath.Location = new System.Drawing.Point(206, 79);
......
402 458
            // 
403 459
            this.tabbedControlGroup.Location = new System.Drawing.Point(0, 0);
404 460
            this.tabbedControlGroup.Name = "tabbedControlGroup";
405
            this.tabbedControlGroup.SelectedTabPage = this.GroupLineNumber;
461
            this.tabbedControlGroup.SelectedTabPage = this.GroupETCSetting;
406 462
            this.tabbedControlGroup.Size = new System.Drawing.Size(715, 678);
407 463
            this.tabbedControlGroup.TabPages.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
408 464
            this.GroupSymbol,
409 465
            this.GroupLine,
410 466
            this.GroupLineNumber,
411
            this.GroupAssociation});
412
            // 
413
            // GroupLineNumber
414
            // 
415
            this.GroupLineNumber.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
416
            this.layoutControlGroup8});
417
            this.GroupLineNumber.Location = new System.Drawing.Point(0, 0);
418
            this.GroupLineNumber.Name = "GroupLineNumber";
419
            this.GroupLineNumber.Size = new System.Drawing.Size(691, 632);
420
            this.GroupLineNumber.Text = "Line Number";
421
            // 
422
            // layoutControlGroup8
423
            // 
424
            this.layoutControlGroup8.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
425
            this.layoutControlItem13,
426
            this.layoutControlItem3});
427
            this.layoutControlGroup8.Location = new System.Drawing.Point(0, 0);
428
            this.layoutControlGroup8.Name = "layoutControlGroup8";
429
            this.layoutControlGroup8.Size = new System.Drawing.Size(691, 632);
430
            this.layoutControlGroup8.Text = "ID2 Line Number";
431
            // 
432
            // layoutControlItem13
433
            // 
434
            this.layoutControlItem13.Control = this.gridControlLineNumber;
435
            this.layoutControlItem13.Location = new System.Drawing.Point(0, 24);
436
            this.layoutControlItem13.Name = "layoutControlItem13";
437
            this.layoutControlItem13.Size = new System.Drawing.Size(667, 563);
438
            this.layoutControlItem13.TextSize = new System.Drawing.Size(0, 0);
439
            this.layoutControlItem13.TextVisible = false;
440
            // 
441
            // layoutControlItem3
442
            // 
443
            this.layoutControlItem3.Control = this.textBoxLineNumberPath;
444
            this.layoutControlItem3.Location = new System.Drawing.Point(0, 0);
445
            this.layoutControlItem3.Name = "layoutControlItem3";
446
            this.layoutControlItem3.Size = new System.Drawing.Size(667, 24);
447
            this.layoutControlItem3.Text = "SPPID Line Number Label Path";
448
            this.layoutControlItem3.TextSize = new System.Drawing.Size(167, 14);
467
            this.GroupAssociation,
468
            this.GroupETCSetting});
469
            // 
470
            // GroupETCSetting
471
            // 
472
            this.GroupETCSetting.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
473
            this.emptySpaceItem3,
474
            this.layoutControlGroup9,
475
            this.layoutControlGroup10});
476
            this.GroupETCSetting.Location = new System.Drawing.Point(0, 0);
477
            this.GroupETCSetting.Name = "GroupETCSetting";
478
            this.GroupETCSetting.Size = new System.Drawing.Size(691, 632);
479
            this.GroupETCSetting.Text = "ETC Setting";
480
            // 
481
            // emptySpaceItem3
482
            // 
483
            this.emptySpaceItem3.AllowHotTrack = false;
484
            this.emptySpaceItem3.Location = new System.Drawing.Point(0, 162);
485
            this.emptySpaceItem3.Name = "emptySpaceItem3";
486
            this.emptySpaceItem3.Size = new System.Drawing.Size(691, 470);
487
            this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0);
488
            // 
489
            // layoutControlGroup9
490
            // 
491
            this.layoutControlGroup9.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
492
            this.layoutControlItem5,
493
            this.layoutControlItem7});
494
            this.layoutControlGroup9.Location = new System.Drawing.Point(0, 0);
495
            this.layoutControlGroup9.Name = "layoutControlGroup9";
496
            this.layoutControlGroup9.Size = new System.Drawing.Size(691, 93);
497
            this.layoutControlGroup9.Text = "Text && Note Setting";
498
            // 
499
            // layoutControlItem5
500
            // 
501
            this.layoutControlItem5.Control = this.textBoxTextSymbolPath;
502
            this.layoutControlItem5.Location = new System.Drawing.Point(0, 0);
503
            this.layoutControlItem5.Name = "layoutControlItem5";
504
            this.layoutControlItem5.Size = new System.Drawing.Size(667, 24);
505
            this.layoutControlItem5.Text = "SPPID Text Symbol Path";
506
            this.layoutControlItem5.TextSize = new System.Drawing.Size(167, 14);
507
            // 
508
            // layoutControlItem7
509
            // 
510
            this.layoutControlItem7.Control = this.textBoxNoteSymbolPath;
511
            this.layoutControlItem7.Location = new System.Drawing.Point(0, 24);
512
            this.layoutControlItem7.Name = "layoutControlItem7";
513
            this.layoutControlItem7.Size = new System.Drawing.Size(667, 24);
514
            this.layoutControlItem7.Text = "SPPID Note Symbol Path";
515
            this.layoutControlItem7.TextSize = new System.Drawing.Size(167, 14);
516
            // 
517
            // layoutControlGroup10
518
            // 
519
            this.layoutControlGroup10.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
520
            this.layoutControlItem14});
521
            this.layoutControlGroup10.Location = new System.Drawing.Point(0, 93);
522
            this.layoutControlGroup10.Name = "layoutControlGroup10";
523
            this.layoutControlGroup10.Size = new System.Drawing.Size(691, 69);
524
            this.layoutControlGroup10.Text = "Drain Valve Setting";
525
            // 
526
            // layoutControlItem14
527
            // 
528
            this.layoutControlItem14.Control = this.textEdit1;
529
            this.layoutControlItem14.Location = new System.Drawing.Point(0, 0);
530
            this.layoutControlItem14.Name = "layoutControlItem14";
531
            this.layoutControlItem14.Size = new System.Drawing.Size(667, 24);
532
            this.layoutControlItem14.Text = "Drain Valve Size";
533
            this.layoutControlItem14.TextSize = new System.Drawing.Size(167, 14);
449 534
            // 
450 535
            // GroupSymbol
451 536
            // 
......
555 640
            this.layoutControlItem10.TextSize = new System.Drawing.Size(0, 0);
556 641
            this.layoutControlItem10.TextVisible = false;
557 642
            // 
643
            // GroupLineNumber
644
            // 
645
            this.GroupLineNumber.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
646
            this.layoutControlGroup8});
647
            this.GroupLineNumber.Location = new System.Drawing.Point(0, 0);
648
            this.GroupLineNumber.Name = "GroupLineNumber";
649
            this.GroupLineNumber.Size = new System.Drawing.Size(691, 632);
650
            this.GroupLineNumber.Text = "Line Number";
651
            // 
652
            // layoutControlGroup8
653
            // 
654
            this.layoutControlGroup8.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
655
            this.layoutControlItem13,
656
            this.layoutControlItem3});
657
            this.layoutControlGroup8.Location = new System.Drawing.Point(0, 0);
658
            this.layoutControlGroup8.Name = "layoutControlGroup8";
659
            this.layoutControlGroup8.Size = new System.Drawing.Size(691, 632);
660
            this.layoutControlGroup8.Text = "ID2 Line Number";
661
            // 
662
            // layoutControlItem13
663
            // 
664
            this.layoutControlItem13.Control = this.gridControlLineNumber;
665
            this.layoutControlItem13.Location = new System.Drawing.Point(0, 24);
666
            this.layoutControlItem13.Name = "layoutControlItem13";
667
            this.layoutControlItem13.Size = new System.Drawing.Size(667, 563);
668
            this.layoutControlItem13.TextSize = new System.Drawing.Size(0, 0);
669
            this.layoutControlItem13.TextVisible = false;
670
            // 
671
            // layoutControlItem3
672
            // 
673
            this.layoutControlItem3.Control = this.textBoxLineNumberPath;
674
            this.layoutControlItem3.Location = new System.Drawing.Point(0, 0);
675
            this.layoutControlItem3.Name = "layoutControlItem3";
676
            this.layoutControlItem3.Size = new System.Drawing.Size(667, 24);
677
            this.layoutControlItem3.Text = "SPPID Line Number Label Path";
678
            this.layoutControlItem3.TextSize = new System.Drawing.Size(167, 14);
679
            // 
558 680
            // GroupAssociation
559 681
            // 
560 682
            this.GroupAssociation.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
......
628 750
            this.Ribbon = this.ribbonControl;
629 751
            this.ShowIcon = false;
630 752
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
631
            this.Text = "Item Mapping";
753
            this.Text = "Item Mapping & Setting";
632 754
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
633 755
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).EndInit();
634 756
            ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
635 757
            this.layoutControl1.ResumeLayout(false);
758
            ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit();
759
            ((System.ComponentModel.ISupportInitialize)(this.textBoxNoteSymbolPath.Properties)).EndInit();
760
            ((System.ComponentModel.ISupportInitialize)(this.textBoxTextSymbolPath.Properties)).EndInit();
636 761
            ((System.ComponentModel.ISupportInitialize)(this.textBoxLineNumberPath.Properties)).EndInit();
637 762
            ((System.ComponentModel.ISupportInitialize)(this.gridControlLineNumber)).EndInit();
638 763
            ((System.ComponentModel.ISupportInitialize)(this.gridViewLineNumber)).EndInit();
......
656 781
            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit();
657 782
            ((System.ComponentModel.ISupportInitialize)(this.splitterItem3)).EndInit();
658 783
            ((System.ComponentModel.ISupportInitialize)(this.tabbedControlGroup)).EndInit();
659
            ((System.ComponentModel.ISupportInitialize)(this.GroupLineNumber)).EndInit();
660
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup8)).EndInit();
661
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit();
662
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
784
            ((System.ComponentModel.ISupportInitialize)(this.GroupETCSetting)).EndInit();
785
            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit();
786
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup9)).EndInit();
787
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
788
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
789
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup10)).EndInit();
790
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit();
663 791
            ((System.ComponentModel.ISupportInitialize)(this.GroupSymbol)).EndInit();
664 792
            ((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).EndInit();
665 793
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).EndInit();
......
672 800
            ((System.ComponentModel.ISupportInitialize)(this.GroupLine)).EndInit();
673 801
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup6)).EndInit();
674 802
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit();
803
            ((System.ComponentModel.ISupportInitialize)(this.GroupLineNumber)).EndInit();
804
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup8)).EndInit();
805
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit();
806
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
675 807
            ((System.ComponentModel.ISupportInitialize)(this.GroupAssociation)).EndInit();
676 808
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup7)).EndInit();
677 809
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit();
......
734 866
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
735 867
        private DevExpress.XtraEditors.ButtonEdit textBoxLineNumberPath;
736 868
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
869
        private DevExpress.XtraLayout.LayoutControlGroup GroupETCSetting;
870
        private DevExpress.XtraEditors.ButtonEdit textBoxTextSymbolPath;
871
        private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem3;
872
        private DevExpress.XtraEditors.ButtonEdit textBoxNoteSymbolPath;
873
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7;
874
        private DevExpress.XtraEditors.TextEdit textEdit1;
875
        private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup9;
876
        private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup10;
877
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem14;
878
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5;
737 879
    }
738 880
}
DTI_PID/SPPIDConverter_AutoModeling/Form/MappingForm.cs
26 26
        DataTable lineDT;
27 27
        DataTable linePropertyDT;
28 28
        DataTable associationDT;
29

  
30
        ButtonEdit currentButtonEdit;
29 31
        public MappingForm(DataTable symbolDT, DataTable SPPIDSymbolPathDT, DataTable lineDT, DataTable linePropertyDT, DataTable associationDT)
30 32
        {
31 33
            InitializeComponent();
......
36 38
            this.associationDT = associationDT;
37 39
            InitID2GridView();
38 40
            InitSPPIDSymbolTree();
41
            InitETCSetting();
39 42

  
40 43
            this.gridViewSymbol.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gridViewID2Symbol_FocusedRowChanged);
41 44
            textBoxLineNumberPath.Properties.Buttons[0].Kind = ButtonPredefines.Glyph;
......
52 55
            clearButton.Buttons[0].Kind = ButtonPredefines.Glyph;
53 56
            clearButton.Buttons[0].Image = Resources.cancel_16x16;
54 57
            clearButton.ButtonClick += repositoryItemButtonEdit_ButtonClick;
55
            //clearButton.TextEditStyle = TextEditStyles.DisableTextEditor;
56 58
            clearButton.TextEditStyle = TextEditStyles.HideTextEditor;
57
            //gridViewID2Symbol.OptionsView.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowAlways;
58 59

  
59 60
            gridControlSymbol.DataSource = symbolDT;
60 61
            gridViewSymbol.Columns["UID"].Visible = false;
......
120 121
            treeListSPPIDTreeList.ExpandToLevel(0);
121 122
        }
122 123

  
124
        private void InitETCSetting()
125
        {
126
            textBoxTextSymbolPath.Properties.TextEditStyle = TextEditStyles.DisableTextEditor;
127
            textBoxTextSymbolPath.Properties.Buttons[0].Kind = ButtonPredefines.Glyph;
128
            textBoxTextSymbolPath.Properties.Buttons[0].Image = Resources.pencolor_16x16;
129
            textBoxNoteSymbolPath.Properties.TextEditStyle = TextEditStyles.DisableTextEditor;
130
            textBoxNoteSymbolPath.Properties.Buttons[0].Kind = ButtonPredefines.Glyph;
131
            textBoxNoteSymbolPath.Properties.Buttons[0].Image = Resources.pencolor_16x16;
132
        }
133

  
134
        private void textBoxETC_ButtonClick(object sender, ButtonPressedEventArgs e)
135
        {
136
            textBoxTextSymbolPath.Properties.Buttons[0].Image = Resources.pencolor_16x16;
137
            textBoxNoteSymbolPath.Properties.Buttons[0].Image = Resources.pencolor_16x16;
138

  
139
            ButtonEdit buttonEdit = sender as ButtonEdit;
140
            if (currentButtonEdit != buttonEdit)
141
            {
142
                currentButtonEdit = buttonEdit;
143
                buttonEdit.Text = null;
144
                buttonEdit.Properties.Buttons[0].Image = Resources.cancel_16x16;
145
            }
146
            else
147
            {
148
                currentButtonEdit = null;
149
            }
150
        }
151

  
123 152
        private void textBoxLineNumberPath_ButtonClick(object sender, ButtonPressedEventArgs e)
124 153
        {
125 154
            ButtonEdit buttonEdit = sender as ButtonEdit;
......
231 260
            }
232 261
        }
233 262

  
234

  
235 263
        private void gridView_ShowingEditor(object sender, CancelEventArgs e)
236 264
        {
237 265
            DevExpress.XtraGrid.Views.Grid.GridView gridview = sender as DevExpress.XtraGrid.Views.Grid.GridView;
......
267 295
                    {
268 296
                        gridViewAssociation.SetRowCellValue(gridViewAssociation.FocusedRowHandle, "SPPID_SYMBOL_PATH", node.GetValue("FullPath").ToString());
269 297
                    }
298
                    else if (tabbedControlGroup.SelectedTabPage.Name == "GroupETCSetting" && currentButtonEdit != null)
299
                    {
300
                        currentButtonEdit.Properties.Buttons[0].Image = Resources.pencolor_16x16;
301
                        currentButtonEdit.Text = node.GetValue("FullPath").ToString();
302
                        currentButtonEdit = null;
303
                    }
270 304
                }
271 305
            }
272 306
        }
DTI_PID/SPPIDConverter_AutoModeling/Model/ETCSetting.cs
1
using System;
2
using System.Collections.Generic;
3
using System.Linq;
4
using System.Text;
5
using System.Threading.Tasks;
6

  
7
namespace Converter.AutoModeling.SPPID
8
{
9
    public class ETCSetting
10
    {
11
        private static ETCSetting setting;
12
        private string _TextSymbolPath;
13
        private string _NoteSymbolPath;
14
        private string _DrainValveSize;
15

  
16
        public string TextSymbolPath { get => _TextSymbolPath; set => _TextSymbolPath = value; }
17
        public string NoteSymbolPath { get => _NoteSymbolPath; set => _NoteSymbolPath = value; }
18
        public string DrainValveSize { get => _DrainValveSize; set => _DrainValveSize = value; }
19

  
20
        public static ETCSetting GetInstance()
21
        {
22
            if (setting == null)
23
                setting = new ETCSetting();
24

  
25
            return setting;
26
        }
27
    }
28
}
DTI_PID/SPPIDConverter_AutoModeling/Model/SPPID_Document.cs
13 13
        {
14 14

  
15 15
        }
16

  
16 17
        public List<SymbolMapping> SymbolMappings { get; set; }
17 18
        public List<LineMapping> LineMappings { get; set; }
18 19
        public List<LineNumberMapping> LineNumberMappings { get; set; }
DTI_PID/SPPIDConverter_AutoModeling/Properties/Resources.Designer.cs
171 171
        }
172 172
        
173 173
        /// <summary>
174
        ///   System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
175
        /// </summary>
176
        internal static System.Drawing.Bitmap pencolor_16x16 {
177
            get {
178
                object obj = ResourceManager.GetObject("pencolor_16x16", resourceCulture);
179
                return ((System.Drawing.Bitmap)(obj));
180
            }
181
        }
182
        
183
        /// <summary>
174 184
        ///   DevExpress.Utils.Svg.SvgImage 형식의 지역화된 리소스를 찾습니다.
175 185
        /// </summary>
176 186
        internal static DevExpress.Utils.Svg.SvgImage properties {
DTI_PID/SPPIDConverter_AutoModeling/Properties/Resources.resx
142 142
  <data name="actions_image" type="System.Resources.ResXFileRef, System.Windows.Forms">
143 143
    <value>..\Resources\actions_image.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
144 144
  </data>
145
  <data name="apply_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms">
146
    <value>..\Resources\apply_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
147
  </data>
145 148
  <data name="cancel_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms">
146 149
    <value>..\Resources\cancel_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
147 150
  </data>
......
157 160
  <data name="actions_database" type="System.Resources.ResXFileRef, System.Windows.Forms">
158 161
    <value>..\Resources\actions_database.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
159 162
  </data>
160
  <data name="apply_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms">
161
    <value>..\Resources\apply_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
163
  <data name="pencolor_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms">
164
    <value>..\Resources\pencolor_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
162 165
  </data>
163 166
</root>
DTI_PID/SPPIDConverter_AutoModeling/SPPIDConverter_AutoModeling.csproj
122 122
    <Compile Include="MainWrapper.Designer.cs">
123 123
      <DependentUpon>MainWrapper.cs</DependentUpon>
124 124
    </Compile>
125
    <Compile Include="Model\ETCSetting.cs" />
125 126
    <Compile Include="Model\LineNumberMapping.cs" />
126 127
    <Compile Include="Model\SPPID_Document.cs" />
127 128
    <Compile Include="Model\LineMapping.cs" />
......
270 271
  <ItemGroup>
271 272
    <None Include="Resources\apply_16x16.png" />
272 273
  </ItemGroup>
274
  <ItemGroup>
275
    <None Include="Resources\pencolor_16x16.png" />
276
  </ItemGroup>
273 277
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
274 278
</Project>

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)