개정판 04c6def2
dev issue #1226 : add template, drawing number, sheet number
Change-Id: I2729bd722d2900559196840d7c5e23c8ed8baa57
DTI_PID/APIDConverter/AVEVA.PID.CustomizationUtility_ACAD2018_x64.csproj | ||
---|---|---|
71 | 71 |
<Reference Include="AVEVA.PID.Common, Version=12.2.1.2, Culture=neutral, processorArchitecture=MSIL"> |
72 | 72 |
<SpecificVersion>False</SpecificVersion> |
73 | 73 |
<HintPath>C:\Program Files\AVEVA\P&ID 12.2.SP1\Install\Exe\AVEVA.PID.Common.dll</HintPath> |
74 |
<Private>False</Private> |
|
74 | 75 |
</Reference> |
75 | 76 |
<Reference Include="AVEVA.PID.Components, Version=12.2.1.2, Culture=neutral, processorArchitecture=AMD64"> |
76 | 77 |
<SpecificVersion>False</SpecificVersion> |
77 | 78 |
<HintPath>C:\Program Files\AVEVA\P&ID 12.2.SP1\Install\Exe\AVEVA.PID.Components.dll</HintPath> |
79 |
<Private>False</Private> |
|
78 | 80 |
</Reference> |
79 | 81 |
<Reference Include="AVEVA.PID.DWGSelector, Version=12.2.1.2, Culture=neutral, processorArchitecture=AMD64"> |
80 | 82 |
<SpecificVersion>False</SpecificVersion> |
81 | 83 |
<HintPath>C:\Program Files\AVEVA\P&ID 12.2.SP1\Install\Exe\AVEVA.PID.DWGSelector.dll</HintPath> |
84 |
<Private>False</Private> |
|
82 | 85 |
</Reference> |
83 | 86 |
<Reference Include="AVEVA.PID.GUI, Version=12.2.1.2, Culture=neutral, processorArchitecture=AMD64"> |
84 | 87 |
<SpecificVersion>False</SpecificVersion> |
DTI_PID/APIDConverter/Form/APIDConverter.Designer.cs | ||
---|---|---|
97 | 97 |
this.ribbonControl.ShowDisplayOptionsMenuButton = DevExpress.Utils.DefaultBoolean.False; |
98 | 98 |
this.ribbonControl.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.ShowOnMultiplePages; |
99 | 99 |
this.ribbonControl.ShowToolbarCustomizeItem = false; |
100 |
this.ribbonControl.Size = new System.Drawing.Size(995, 32);
|
|
100 |
this.ribbonControl.Size = new System.Drawing.Size(1154, 32);
|
|
101 | 101 |
this.ribbonControl.Toolbar.ShowCustomizeItem = false; |
102 | 102 |
// |
103 | 103 |
// layoutControl1 |
... | ... | |
112 | 112 |
this.layoutControl1.Location = new System.Drawing.Point(0, 32); |
113 | 113 |
this.layoutControl1.Name = "layoutControl1"; |
114 | 114 |
this.layoutControl1.Root = this.Root; |
115 |
this.layoutControl1.Size = new System.Drawing.Size(995, 507);
|
|
115 |
this.layoutControl1.Size = new System.Drawing.Size(1154, 576);
|
|
116 | 116 |
this.layoutControl1.TabIndex = 1; |
117 | 117 |
this.layoutControl1.Text = "layoutControl1"; |
118 | 118 |
// |
119 | 119 |
// btnItemMapping |
120 | 120 |
// |
121 | 121 |
this.btnItemMapping.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnItemMapping.ImageOptions.SvgImage"))); |
122 |
this.btnItemMapping.Location = new System.Drawing.Point(719, 210);
|
|
122 |
this.btnItemMapping.Location = new System.Drawing.Point(913, 210);
|
|
123 | 123 |
this.btnItemMapping.Name = "btnItemMapping"; |
124 |
this.btnItemMapping.Size = new System.Drawing.Size(252, 36);
|
|
124 |
this.btnItemMapping.Size = new System.Drawing.Size(217, 36);
|
|
125 | 125 |
this.btnItemMapping.StyleController = this.layoutControl1; |
126 | 126 |
this.btnItemMapping.TabIndex = 9; |
127 | 127 |
this.btnItemMapping.Text = "Setting"; |
... | ... | |
130 | 130 |
// btnRefresh |
131 | 131 |
// |
132 | 132 |
this.btnRefresh.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnRefresh.ImageOptions.SvgImage"))); |
133 |
this.btnRefresh.Location = new System.Drawing.Point(158, 58);
|
|
133 |
this.btnRefresh.Location = new System.Drawing.Point(165, 58);
|
|
134 | 134 |
this.btnRefresh.Name = "btnRefresh"; |
135 | 135 |
this.btnRefresh.Size = new System.Drawing.Size(99, 36); |
136 | 136 |
this.btnRefresh.StyleController = this.layoutControl1; |
... | ... | |
141 | 141 |
// btnRun |
142 | 142 |
// |
143 | 143 |
this.btnRun.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnRun.ImageOptions.SvgImage"))); |
144 |
this.btnRun.Location = new System.Drawing.Point(600, 58);
|
|
144 |
this.btnRun.Location = new System.Drawing.Point(796, 58);
|
|
145 | 145 |
this.btnRun.Name = "btnRun"; |
146 | 146 |
this.btnRun.Size = new System.Drawing.Size(79, 36); |
147 | 147 |
this.btnRun.StyleController = this.layoutControl1; |
... | ... | |
155 | 155 |
this.gridControlConverter.MainView = this.gridViewConverter; |
156 | 156 |
this.gridControlConverter.MenuManager = this.ribbonControl; |
157 | 157 |
this.gridControlConverter.Name = "gridControlConverter"; |
158 |
this.gridControlConverter.Size = new System.Drawing.Size(655, 385);
|
|
158 |
this.gridControlConverter.Size = new System.Drawing.Size(851, 454);
|
|
159 | 159 |
this.gridControlConverter.TabIndex = 5; |
160 | 160 |
this.gridControlConverter.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { |
161 | 161 |
this.gridViewConverter}); |
... | ... | |
180 | 180 |
// btnID2DB |
181 | 181 |
// |
182 | 182 |
this.btnID2DB.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnID2DB.ImageOptions.SvgImage"))); |
183 |
this.btnID2DB.Location = new System.Drawing.Point(719, 58);
|
|
183 |
this.btnID2DB.Location = new System.Drawing.Point(913, 58);
|
|
184 | 184 |
this.btnID2DB.Name = "btnID2DB"; |
185 |
this.btnID2DB.Size = new System.Drawing.Size(252, 36);
|
|
185 |
this.btnID2DB.Size = new System.Drawing.Size(217, 36);
|
|
186 | 186 |
this.btnID2DB.StyleController = this.layoutControl1; |
187 | 187 |
this.btnID2DB.TabIndex = 15; |
188 | 188 |
this.btnID2DB.Text = "Setting"; |
... | ... | |
199 | 199 |
this.splitterItem1, |
200 | 200 |
this.layoutControlGroupID2Project}); |
201 | 201 |
this.Root.Name = "Root"; |
202 |
this.Root.Size = new System.Drawing.Size(995, 507);
|
|
202 |
this.Root.Size = new System.Drawing.Size(1154, 576);
|
|
203 | 203 |
this.Root.TextVisible = false; |
204 | 204 |
// |
205 | 205 |
// layoutControlGroup1 |
... | ... | |
215 | 215 |
this.emptySpaceItem2}); |
216 | 216 |
this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); |
217 | 217 |
this.layoutControlGroup1.Name = "layoutControlGroup1"; |
218 |
this.layoutControlGroup1.Size = new System.Drawing.Size(683, 487);
|
|
218 |
this.layoutControlGroup1.Size = new System.Drawing.Size(879, 556);
|
|
219 | 219 |
this.layoutControlGroup1.Text = "Auto Converter"; |
220 | 220 |
// |
221 | 221 |
// layoutControlItem2 |
... | ... | |
223 | 223 |
this.layoutControlItem2.Control = this.gridControlConverter; |
224 | 224 |
this.layoutControlItem2.Location = new System.Drawing.Point(0, 40); |
225 | 225 |
this.layoutControlItem2.Name = "layoutControlItem2"; |
226 |
this.layoutControlItem2.Size = new System.Drawing.Size(659, 389);
|
|
226 |
this.layoutControlItem2.Size = new System.Drawing.Size(855, 458);
|
|
227 | 227 |
this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); |
228 | 228 |
this.layoutControlItem2.TextVisible = false; |
229 | 229 |
// |
... | ... | |
242 | 242 |
// emptySpaceItem1 |
243 | 243 |
// |
244 | 244 |
this.emptySpaceItem1.AllowHotTrack = false; |
245 |
this.emptySpaceItem1.Location = new System.Drawing.Point(237, 0);
|
|
245 |
this.emptySpaceItem1.Location = new System.Drawing.Point(244, 0);
|
|
246 | 246 |
this.emptySpaceItem1.Name = "emptySpaceItem1"; |
247 |
this.emptySpaceItem1.Size = new System.Drawing.Size(339, 40);
|
|
247 |
this.emptySpaceItem1.Size = new System.Drawing.Size(528, 40);
|
|
248 | 248 |
this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); |
249 | 249 |
// |
250 | 250 |
// layoutControlItem3 |
251 | 251 |
// |
252 | 252 |
this.layoutControlItem3.Control = this.btnRun; |
253 |
this.layoutControlItem3.Location = new System.Drawing.Point(576, 0);
|
|
253 |
this.layoutControlItem3.Location = new System.Drawing.Point(772, 0);
|
|
254 | 254 |
this.layoutControlItem3.MaxSize = new System.Drawing.Size(83, 40); |
255 | 255 |
this.layoutControlItem3.MinSize = new System.Drawing.Size(83, 40); |
256 | 256 |
this.layoutControlItem3.Name = "layoutControlItem3"; |
... | ... | |
262 | 262 |
// layoutControlItem4 |
263 | 263 |
// |
264 | 264 |
this.layoutControlItem4.Control = this.btnRefresh; |
265 |
this.layoutControlItem4.Location = new System.Drawing.Point(134, 0);
|
|
265 |
this.layoutControlItem4.Location = new System.Drawing.Point(141, 0);
|
|
266 | 266 |
this.layoutControlItem4.MaxSize = new System.Drawing.Size(103, 40); |
267 | 267 |
this.layoutControlItem4.MinSize = new System.Drawing.Size(103, 40); |
268 | 268 |
this.layoutControlItem4.Name = "layoutControlItem4"; |
... | ... | |
276 | 276 |
this.emptySpaceItem2.AllowHotTrack = false; |
277 | 277 |
this.emptySpaceItem2.Location = new System.Drawing.Point(114, 0); |
278 | 278 |
this.emptySpaceItem2.Name = "emptySpaceItem2"; |
279 |
this.emptySpaceItem2.Size = new System.Drawing.Size(20, 40);
|
|
279 |
this.emptySpaceItem2.Size = new System.Drawing.Size(27, 40);
|
|
280 | 280 |
this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0); |
281 | 281 |
// |
282 | 282 |
// layoutControlGroup3 |
... | ... | |
285 | 285 |
this.layoutControlGroup3.GroupStyle = DevExpress.Utils.GroupStyle.Card; |
286 | 286 |
this.layoutControlGroup3.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
287 | 287 |
this.layoutControlItem6}); |
288 |
this.layoutControlGroup3.Location = new System.Drawing.Point(695, 152);
|
|
288 |
this.layoutControlGroup3.Location = new System.Drawing.Point(889, 152);
|
|
289 | 289 |
this.layoutControlGroup3.Name = "layoutControlGroup3"; |
290 |
this.layoutControlGroup3.Size = new System.Drawing.Size(280, 98);
|
|
290 |
this.layoutControlGroup3.Size = new System.Drawing.Size(245, 98);
|
|
291 | 291 |
this.layoutControlGroup3.Text = "Item Mapping"; |
292 | 292 |
// |
293 | 293 |
// layoutControlItem6 |
... | ... | |
295 | 295 |
this.layoutControlItem6.Control = this.btnItemMapping; |
296 | 296 |
this.layoutControlItem6.Location = new System.Drawing.Point(0, 0); |
297 | 297 |
this.layoutControlItem6.Name = "layoutControlItem6"; |
298 |
this.layoutControlItem6.Size = new System.Drawing.Size(256, 40);
|
|
298 |
this.layoutControlItem6.Size = new System.Drawing.Size(221, 40);
|
|
299 | 299 |
this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0); |
300 | 300 |
this.layoutControlItem6.TextVisible = false; |
301 | 301 |
// |
302 | 302 |
// emptySpaceItem3 |
303 | 303 |
// |
304 | 304 |
this.emptySpaceItem3.AllowHotTrack = false; |
305 |
this.emptySpaceItem3.Location = new System.Drawing.Point(695, 250);
|
|
305 |
this.emptySpaceItem3.Location = new System.Drawing.Point(889, 250);
|
|
306 | 306 |
this.emptySpaceItem3.Name = "emptySpaceItem3"; |
307 |
this.emptySpaceItem3.Size = new System.Drawing.Size(280, 237);
|
|
307 |
this.emptySpaceItem3.Size = new System.Drawing.Size(245, 306);
|
|
308 | 308 |
this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0); |
309 | 309 |
// |
310 | 310 |
// splitterItem1 |
311 | 311 |
// |
312 | 312 |
this.splitterItem1.AllowHotTrack = true; |
313 |
this.splitterItem1.Location = new System.Drawing.Point(683, 0);
|
|
313 |
this.splitterItem1.Location = new System.Drawing.Point(879, 0);
|
|
314 | 314 |
this.splitterItem1.Name = "splitterItem1"; |
315 |
this.splitterItem1.Size = new System.Drawing.Size(12, 487);
|
|
315 |
this.splitterItem1.Size = new System.Drawing.Size(10, 556);
|
|
316 | 316 |
// |
317 | 317 |
// layoutControlGroupID2Project |
318 | 318 |
// |
... | ... | |
327 | 327 |
this.layoutControlItem7, |
328 | 328 |
this.labelDBType, |
329 | 329 |
this.simpleLabelItem7}); |
330 |
this.layoutControlGroupID2Project.Location = new System.Drawing.Point(695, 0);
|
|
330 |
this.layoutControlGroupID2Project.Location = new System.Drawing.Point(889, 0);
|
|
331 | 331 |
this.layoutControlGroupID2Project.Name = "layoutControlGroupID2Project"; |
332 |
this.layoutControlGroupID2Project.Size = new System.Drawing.Size(280, 152);
|
|
332 |
this.layoutControlGroupID2Project.Size = new System.Drawing.Size(245, 152);
|
|
333 | 333 |
this.layoutControlGroupID2Project.Text = "ID2 Project"; |
334 | 334 |
// |
335 | 335 |
// labelID2ProjectName |
... | ... | |
338 | 338 |
this.labelID2ProjectName.CustomizationFormText = "ID2ProjectName"; |
339 | 339 |
this.labelID2ProjectName.Location = new System.Drawing.Point(90, 40); |
340 | 340 |
this.labelID2ProjectName.Name = "labelID2ProjectName"; |
341 |
this.labelID2ProjectName.Size = new System.Drawing.Size(166, 18);
|
|
341 |
this.labelID2ProjectName.Size = new System.Drawing.Size(131, 18);
|
|
342 | 342 |
this.labelID2ProjectName.Text = "ID2ProjectName"; |
343 | 343 |
this.labelID2ProjectName.TextSize = new System.Drawing.Size(93, 14); |
344 | 344 |
// |
... | ... | |
348 | 348 |
this.labelID2ProjectStatus.CustomizationFormText = "ID2ProjectStatus"; |
349 | 349 |
this.labelID2ProjectStatus.Location = new System.Drawing.Point(51, 76); |
350 | 350 |
this.labelID2ProjectStatus.Name = "labelID2ProjectStatus"; |
351 |
this.labelID2ProjectStatus.Size = new System.Drawing.Size(205, 18);
|
|
351 |
this.labelID2ProjectStatus.Size = new System.Drawing.Size(170, 18);
|
|
352 | 352 |
this.labelID2ProjectStatus.Text = "ID2ProjectStatus"; |
353 | 353 |
this.labelID2ProjectStatus.TextSize = new System.Drawing.Size(93, 14); |
354 | 354 |
// |
... | ... | |
386 | 386 |
this.layoutControlItem7.CustomizationFormText = "layoutControlItem7"; |
387 | 387 |
this.layoutControlItem7.Location = new System.Drawing.Point(0, 0); |
388 | 388 |
this.layoutControlItem7.Name = "layoutControlItem7"; |
389 |
this.layoutControlItem7.Size = new System.Drawing.Size(256, 40);
|
|
389 |
this.layoutControlItem7.Size = new System.Drawing.Size(221, 40);
|
|
390 | 390 |
this.layoutControlItem7.TextSize = new System.Drawing.Size(0, 0); |
391 | 391 |
this.layoutControlItem7.TextVisible = false; |
392 | 392 |
// |
... | ... | |
397 | 397 |
this.labelDBType.Location = new System.Drawing.Point(63, 58); |
398 | 398 |
this.labelDBType.MinSize = new System.Drawing.Size(97, 18); |
399 | 399 |
this.labelDBType.Name = "labelDBType"; |
400 |
this.labelDBType.Size = new System.Drawing.Size(193, 18);
|
|
400 |
this.labelDBType.Size = new System.Drawing.Size(158, 18);
|
|
401 | 401 |
this.labelDBType.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
402 | 402 |
this.labelDBType.Text = "DB Type"; |
403 | 403 |
this.labelDBType.TextSize = new System.Drawing.Size(93, 14); |
... | ... | |
420 | 420 |
// |
421 | 421 |
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); |
422 | 422 |
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
423 |
this.ClientSize = new System.Drawing.Size(995, 539);
|
|
423 |
this.ClientSize = new System.Drawing.Size(1154, 608);
|
|
424 | 424 |
this.Controls.Add(this.layoutControl1); |
425 | 425 |
this.Controls.Add(this.ribbonControl); |
426 | 426 |
this.Name = "APIDConverter"; |
DTI_PID/APIDConverter/Form/APIDConverter.cs | ||
---|---|---|
40 | 40 |
col.Caption = "Drawing File Name"; |
41 | 41 |
col = _ConverterDT.Columns.Add("colDrawingFilePath"); |
42 | 42 |
col.Caption = "DrawingFilePath"; |
43 |
col = _ConverterDT.Columns.Add("colTemplate"); |
|
44 |
col.Caption = "Template"; |
|
45 |
col = _ConverterDT.Columns.Add("colDrawingNumber"); |
|
46 |
col.Caption = "Drawing Number"; |
|
47 |
col = _ConverterDT.Columns.Add("colSheetNumber"); |
|
48 |
col.Caption = "Sheet Number"; |
|
43 | 49 |
col = _ConverterDT.Columns.Add("colStatus"); |
44 | 50 |
col.Caption = "Status"; |
45 | 51 |
col = _ConverterDT.Columns.Add("colUID"); |
... | ... | |
60 | 66 |
|
61 | 67 |
gridViewConverter.BestFitColumns(); |
62 | 68 |
#endregion |
69 |
|
|
70 |
#region set lookUpEdit |
|
71 |
DataTable templateTable = Project_DB.GetDrawingTemplate(); |
|
72 |
RepositoryItemGridLookUpEdit lookUpEdit = new RepositoryItemGridLookUpEdit(); |
|
73 |
lookUpEdit.BeginInit(); |
|
74 |
lookUpEdit.DataSource = templateTable; |
|
75 |
lookUpEdit.DisplayMember = "Name"; |
|
76 |
lookUpEdit.ValueMember = "ID"; |
|
77 |
lookUpEdit.NullText = ""; |
|
78 |
lookUpEdit.BestFitMode = BestFitMode.BestFitResizePopup; |
|
79 |
lookUpEdit.EndInit(); |
|
80 |
|
|
81 |
lookUpEdit.View.OptionsBehavior.AutoPopulateColumns = false; |
|
82 |
DevExpress.XtraGrid.Columns.GridColumn colName = lookUpEdit.View.Columns.AddField("Name"); |
|
83 |
colName.VisibleIndex = 0; |
|
84 |
DevExpress.XtraGrid.Columns.GridColumn colDate = lookUpEdit.View.Columns.AddField("DateCreation"); |
|
85 |
colDate.VisibleIndex = 1; |
|
86 |
DevExpress.XtraGrid.Columns.GridColumn colMachineName = lookUpEdit.View.Columns.AddField("MachineName"); |
|
87 |
colMachineName.VisibleIndex = 2; |
|
88 |
|
|
89 |
gridControlConverter.RepositoryItems.Add(lookUpEdit); |
|
90 |
gridViewConverter.Columns["colTemplate"].ColumnEdit = lookUpEdit; |
|
91 |
#endregion |
|
63 | 92 |
} |
64 | 93 |
|
65 | 94 |
private void btnLoadFile_Click(object sender, EventArgs e) |
DTI_PID/APIDConverter/Form/MappingForm.Designer.cs | ||
---|---|---|
29 | 29 |
private void InitializeComponent() |
30 | 30 |
{ |
31 | 31 |
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MappingForm)); |
32 |
DevExpress.XtraBars.Ribbon.GalleryItemGroup galleryItemGroup4 = new DevExpress.XtraBars.Ribbon.GalleryItemGroup();
|
|
32 |
DevExpress.XtraBars.Ribbon.GalleryItemGroup galleryItemGroup1 = new DevExpress.XtraBars.Ribbon.GalleryItemGroup();
|
|
33 | 33 |
this.ribbonControl = new DevExpress.XtraBars.Ribbon.RibbonControl(); |
34 | 34 |
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
35 |
this.gridControlLine = new DevExpress.XtraGrid.GridControl(); |
|
36 |
this.gridViewLine = new DevExpress.XtraGrid.Views.Grid.GridView(); |
|
35 | 37 |
this.btnRefreshSymbol = new DevExpress.XtraEditors.SimpleButton(); |
36 | 38 |
this.galleryControlAvevaSymbols = new DevExpress.XtraBars.Ribbon.GalleryControl(); |
37 | 39 |
this.galleryControlClient1 = new DevExpress.XtraBars.Ribbon.GalleryControlClient(); |
... | ... | |
45 | 47 |
this.Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
46 | 48 |
this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); |
47 | 49 |
this.tabbedControlGroup = new DevExpress.XtraLayout.TabbedControlGroup(); |
50 |
this.GroupLine = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
51 |
this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
52 |
this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
48 | 53 |
this.GroupSymbol = new DevExpress.XtraLayout.LayoutControlGroup(); |
49 | 54 |
this.splitterItem2 = new DevExpress.XtraLayout.SplitterItem(); |
50 | 55 |
this.splitterItem3 = new DevExpress.XtraLayout.SplitterItem(); |
... | ... | |
54 | 59 |
this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); |
55 | 60 |
this.layoutControlGroup7 = new DevExpress.XtraLayout.LayoutControlGroup(); |
56 | 61 |
this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
57 |
this.GroupLine = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
58 | 62 |
this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
59 | 63 |
this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
60 | 64 |
this.splitterItem1 = new DevExpress.XtraLayout.SplitterItem(); |
... | ... | |
65 | 69 |
this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); |
66 | 70 |
this.splitterItem4 = new DevExpress.XtraLayout.SplitterItem(); |
67 | 71 |
this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); |
68 |
this.gridControlLine = new DevExpress.XtraGrid.GridControl(); |
|
69 |
this.gridViewLine = new DevExpress.XtraGrid.Views.Grid.GridView(); |
|
70 |
this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
71 |
this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
72 | 72 |
((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).BeginInit(); |
73 | 73 |
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); |
74 | 74 |
this.layoutControl1.SuspendLayout(); |
75 |
((System.ComponentModel.ISupportInitialize)(this.gridControlLine)).BeginInit(); |
|
76 |
((System.ComponentModel.ISupportInitialize)(this.gridViewLine)).BeginInit(); |
|
75 | 77 |
((System.ComponentModel.ISupportInitialize)(this.galleryControlAvevaSymbols)).BeginInit(); |
76 | 78 |
this.galleryControlAvevaSymbols.SuspendLayout(); |
77 | 79 |
((System.ComponentModel.ISupportInitialize)(this.pictureEditMapped.Properties)).BeginInit(); |
... | ... | |
82 | 84 |
((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit(); |
83 | 85 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit(); |
84 | 86 |
((System.ComponentModel.ISupportInitialize)(this.tabbedControlGroup)).BeginInit(); |
87 |
((System.ComponentModel.ISupportInitialize)(this.GroupLine)).BeginInit(); |
|
88 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); |
|
89 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit(); |
|
85 | 90 |
((System.ComponentModel.ISupportInitialize)(this.GroupSymbol)).BeginInit(); |
86 | 91 |
((System.ComponentModel.ISupportInitialize)(this.splitterItem2)).BeginInit(); |
87 | 92 |
((System.ComponentModel.ISupportInitialize)(this.splitterItem3)).BeginInit(); |
... | ... | |
91 | 96 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); |
92 | 97 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup7)).BeginInit(); |
93 | 98 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); |
94 |
((System.ComponentModel.ISupportInitialize)(this.GroupLine)).BeginInit(); |
|
95 | 99 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); |
96 | 100 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); |
97 | 101 |
((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).BeginInit(); |
... | ... | |
102 | 106 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); |
103 | 107 |
((System.ComponentModel.ISupportInitialize)(this.splitterItem4)).BeginInit(); |
104 | 108 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); |
105 |
((System.ComponentModel.ISupportInitialize)(this.gridControlLine)).BeginInit(); |
|
106 |
((System.ComponentModel.ISupportInitialize)(this.gridViewLine)).BeginInit(); |
|
107 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit(); |
|
108 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); |
|
109 | 109 |
this.SuspendLayout(); |
110 | 110 |
// |
111 | 111 |
// ribbonControl |
... | ... | |
142 | 142 |
this.layoutControl1.TabIndex = 1; |
143 | 143 |
this.layoutControl1.Text = "layoutControl1"; |
144 | 144 |
// |
145 |
// gridControlLine |
|
146 |
// |
|
147 |
this.gridControlLine.Location = new System.Drawing.Point(36, 79); |
|
148 |
this.gridControlLine.MainView = this.gridViewLine; |
|
149 |
this.gridControlLine.MenuManager = this.ribbonControl; |
|
150 |
this.gridControlLine.Name = "gridControlLine"; |
|
151 |
this.gridControlLine.Size = new System.Drawing.Size(709, 575); |
|
152 |
this.gridControlLine.TabIndex = 13; |
|
153 |
this.gridControlLine.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { |
|
154 |
this.gridViewLine}); |
|
155 |
// |
|
156 |
// gridViewLine |
|
157 |
// |
|
158 |
this.gridViewLine.GridControl = this.gridControlLine; |
|
159 |
this.gridViewLine.Name = "gridViewLine"; |
|
160 |
this.gridViewLine.OptionsView.ShowGroupPanel = false; |
|
161 |
// |
|
145 | 162 |
// btnRefreshSymbol |
146 | 163 |
// |
147 | 164 |
this.btnRefreshSymbol.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnRefreshSymbol.ImageOptions.SvgImage"))); |
... | ... | |
159 | 176 |
// |
160 | 177 |
// |
161 | 178 |
// |
162 |
galleryItemGroup4.Caption = "Items";
|
|
179 |
galleryItemGroup1.Caption = "Items";
|
|
163 | 180 |
this.galleryControlAvevaSymbols.Gallery.Groups.AddRange(new DevExpress.XtraBars.Ribbon.GalleryItemGroup[] { |
164 |
galleryItemGroup4});
|
|
181 |
galleryItemGroup1});
|
|
165 | 182 |
this.galleryControlAvevaSymbols.Gallery.ItemDoubleClick += new DevExpress.XtraBars.Ribbon.GalleryItemClickEventHandler(this.galleryControlAvevaSymbols_Gallery_ItemDoubleClick); |
166 | 183 |
this.galleryControlAvevaSymbols.Location = new System.Drawing.Point(795, 357); |
167 | 184 |
this.galleryControlAvevaSymbols.Name = "galleryControlAvevaSymbols"; |
... | ... | |
278 | 295 |
// |
279 | 296 |
this.tabbedControlGroup.Location = new System.Drawing.Point(0, 0); |
280 | 297 |
this.tabbedControlGroup.Name = "tabbedControlGroup"; |
281 |
this.tabbedControlGroup.SelectedTabPage = this.GroupLine;
|
|
298 |
this.tabbedControlGroup.SelectedTabPage = this.GroupSymbol;
|
|
282 | 299 |
this.tabbedControlGroup.Size = new System.Drawing.Size(761, 670); |
283 | 300 |
this.tabbedControlGroup.TabPages.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
284 | 301 |
this.GroupSymbol, |
285 | 302 |
this.GroupLine}); |
286 | 303 |
// |
304 |
// GroupLine |
|
305 |
// |
|
306 |
this.GroupLine.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
|
307 |
this.layoutControlGroup1}); |
|
308 |
this.GroupLine.Location = new System.Drawing.Point(0, 0); |
|
309 |
this.GroupLine.Name = "GroupLine"; |
|
310 |
this.GroupLine.Size = new System.Drawing.Size(737, 624); |
|
311 |
this.GroupLine.Text = "Line"; |
|
312 |
// |
|
313 |
// layoutControlGroup1 |
|
314 |
// |
|
315 |
this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
|
316 |
this.layoutControlItem9}); |
|
317 |
this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); |
|
318 |
this.layoutControlGroup1.Name = "layoutControlGroup1"; |
|
319 |
this.layoutControlGroup1.Size = new System.Drawing.Size(737, 624); |
|
320 |
this.layoutControlGroup1.Text = "ID2 Line List"; |
|
321 |
// |
|
322 |
// layoutControlItem9 |
|
323 |
// |
|
324 |
this.layoutControlItem9.Control = this.gridControlLine; |
|
325 |
this.layoutControlItem9.Location = new System.Drawing.Point(0, 0); |
|
326 |
this.layoutControlItem9.Name = "layoutControlItem9"; |
|
327 |
this.layoutControlItem9.Size = new System.Drawing.Size(713, 579); |
|
328 |
this.layoutControlItem9.TextSize = new System.Drawing.Size(0, 0); |
|
329 |
this.layoutControlItem9.TextVisible = false; |
|
330 |
// |
|
287 | 331 |
// GroupSymbol |
288 | 332 |
// |
289 | 333 |
this.GroupSymbol.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
... | ... | |
365 | 409 |
this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0); |
366 | 410 |
this.layoutControlItem4.TextVisible = false; |
367 | 411 |
// |
368 |
// GroupLine |
|
369 |
// |
|
370 |
this.GroupLine.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
|
371 |
this.layoutControlGroup1}); |
|
372 |
this.GroupLine.Location = new System.Drawing.Point(0, 0); |
|
373 |
this.GroupLine.Name = "GroupLine"; |
|
374 |
this.GroupLine.Size = new System.Drawing.Size(737, 624); |
|
375 |
this.GroupLine.Text = "Line"; |
|
376 |
// |
|
377 | 412 |
// layoutControlItem2 |
378 | 413 |
// |
379 | 414 |
this.layoutControlItem2.Control = this.btnSave; |
... | ... | |
468 | 503 |
this.layoutControlItem8.TextSize = new System.Drawing.Size(0, 0); |
469 | 504 |
this.layoutControlItem8.TextVisible = false; |
470 | 505 |
// |
471 |
// gridControlLine |
|
472 |
// |
|
473 |
this.gridControlLine.Location = new System.Drawing.Point(36, 79); |
|
474 |
this.gridControlLine.MainView = this.gridViewLine; |
|
475 |
this.gridControlLine.MenuManager = this.ribbonControl; |
|
476 |
this.gridControlLine.Name = "gridControlLine"; |
|
477 |
this.gridControlLine.Size = new System.Drawing.Size(709, 575); |
|
478 |
this.gridControlLine.TabIndex = 13; |
|
479 |
this.gridControlLine.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { |
|
480 |
this.gridViewLine}); |
|
481 |
// |
|
482 |
// gridViewLine |
|
483 |
// |
|
484 |
this.gridViewLine.GridControl = this.gridControlLine; |
|
485 |
this.gridViewLine.Name = "gridViewLine"; |
|
486 |
this.gridViewLine.OptionsView.ShowGroupPanel = false; |
|
487 |
// |
|
488 |
// layoutControlItem9 |
|
489 |
// |
|
490 |
this.layoutControlItem9.Control = this.gridControlLine; |
|
491 |
this.layoutControlItem9.Location = new System.Drawing.Point(0, 0); |
|
492 |
this.layoutControlItem9.Name = "layoutControlItem9"; |
|
493 |
this.layoutControlItem9.Size = new System.Drawing.Size(713, 579); |
|
494 |
this.layoutControlItem9.TextSize = new System.Drawing.Size(0, 0); |
|
495 |
this.layoutControlItem9.TextVisible = false; |
|
496 |
// |
|
497 |
// layoutControlGroup1 |
|
498 |
// |
|
499 |
this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
|
500 |
this.layoutControlItem9}); |
|
501 |
this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); |
|
502 |
this.layoutControlGroup1.Name = "layoutControlGroup1"; |
|
503 |
this.layoutControlGroup1.Size = new System.Drawing.Size(737, 624); |
|
504 |
this.layoutControlGroup1.Text = "ID2 Line List"; |
|
505 |
// |
|
506 | 506 |
// MappingForm |
507 | 507 |
// |
508 | 508 |
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); |
... | ... | |
519 | 519 |
((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).EndInit(); |
520 | 520 |
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); |
521 | 521 |
this.layoutControl1.ResumeLayout(false); |
522 |
((System.ComponentModel.ISupportInitialize)(this.gridControlLine)).EndInit(); |
|
523 |
((System.ComponentModel.ISupportInitialize)(this.gridViewLine)).EndInit(); |
|
522 | 524 |
((System.ComponentModel.ISupportInitialize)(this.galleryControlAvevaSymbols)).EndInit(); |
523 | 525 |
this.galleryControlAvevaSymbols.ResumeLayout(false); |
524 | 526 |
((System.ComponentModel.ISupportInitialize)(this.pictureEditMapped.Properties)).EndInit(); |
... | ... | |
529 | 531 |
((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit(); |
530 | 532 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit(); |
531 | 533 |
((System.ComponentModel.ISupportInitialize)(this.tabbedControlGroup)).EndInit(); |
534 |
((System.ComponentModel.ISupportInitialize)(this.GroupLine)).EndInit(); |
|
535 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); |
|
536 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit(); |
|
532 | 537 |
((System.ComponentModel.ISupportInitialize)(this.GroupSymbol)).EndInit(); |
533 | 538 |
((System.ComponentModel.ISupportInitialize)(this.splitterItem2)).EndInit(); |
534 | 539 |
((System.ComponentModel.ISupportInitialize)(this.splitterItem3)).EndInit(); |
... | ... | |
538 | 543 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); |
539 | 544 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup7)).EndInit(); |
540 | 545 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); |
541 |
((System.ComponentModel.ISupportInitialize)(this.GroupLine)).EndInit(); |
|
542 | 546 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); |
543 | 547 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); |
544 | 548 |
((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).EndInit(); |
... | ... | |
549 | 553 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); |
550 | 554 |
((System.ComponentModel.ISupportInitialize)(this.splitterItem4)).EndInit(); |
551 | 555 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); |
552 |
((System.ComponentModel.ISupportInitialize)(this.gridControlLine)).EndInit(); |
|
553 |
((System.ComponentModel.ISupportInitialize)(this.gridViewLine)).EndInit(); |
|
554 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit(); |
|
555 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); |
|
556 | 556 |
this.ResumeLayout(false); |
557 | 557 |
this.PerformLayout(); |
558 | 558 |
|
내보내기 Unified diff