개정판 4b97b147
add local license check for sppid
Change-Id: If25facd4d3520ce0bb105a868a3cd93457406c61
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(1297, 32);
|
|
136 |
this.ribbonControl.Size = new System.Drawing.Size(1297, 27);
|
|
137 | 137 |
this.ribbonControl.Toolbar.ShowCustomizeItem = false; |
138 | 138 |
// |
139 | 139 |
// layoutControl1 |
... | ... | |
150 | 150 |
this.layoutControl1.Controls.Add(this.btnSPPIDDB); |
151 | 151 |
this.layoutControl1.Controls.Add(this.gridControlConverter); |
152 | 152 |
this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; |
153 |
this.layoutControl1.Location = new System.Drawing.Point(0, 32);
|
|
153 |
this.layoutControl1.Location = new System.Drawing.Point(0, 27);
|
|
154 | 154 |
this.layoutControl1.Name = "layoutControl1"; |
155 | 155 |
this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(982, 292, 650, 400); |
156 | 156 |
this.layoutControl1.Root = this.Root; |
157 |
this.layoutControl1.Size = new System.Drawing.Size(1297, 585);
|
|
157 |
this.layoutControl1.Size = new System.Drawing.Size(1297, 590);
|
|
158 | 158 |
this.layoutControl1.TabIndex = 1; |
159 | 159 |
this.layoutControl1.Text = "layoutControl1"; |
160 | 160 |
// |
161 | 161 |
// comboBoxEditBulk |
162 | 162 |
// |
163 |
this.comboBoxEditBulk.Location = new System.Drawing.Point(700, 76);
|
|
163 |
this.comboBoxEditBulk.Location = new System.Drawing.Point(700, 82);
|
|
164 | 164 |
this.comboBoxEditBulk.MenuManager = this.ribbonControl; |
165 | 165 |
this.comboBoxEditBulk.Name = "comboBoxEditBulk"; |
166 | 166 |
this.comboBoxEditBulk.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
... | ... | |
174 | 174 |
// btnID2DB |
175 | 175 |
// |
176 | 176 |
this.btnID2DB.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnID2DB.ImageOptions.SvgImage"))); |
177 |
this.btnID2DB.Location = new System.Drawing.Point(1051, 58);
|
|
177 |
this.btnID2DB.Location = new System.Drawing.Point(1044, 64);
|
|
178 | 178 |
this.btnID2DB.Name = "btnID2DB"; |
179 |
this.btnID2DB.Size = new System.Drawing.Size(222, 36);
|
|
179 |
this.btnID2DB.Size = new System.Drawing.Size(229, 38);
|
|
180 | 180 |
this.btnID2DB.StyleController = this.layoutControl1; |
181 | 181 |
this.btnID2DB.TabIndex = 15; |
182 | 182 |
this.btnID2DB.Text = "Setting"; |
... | ... | |
184 | 184 |
// |
185 | 185 |
// checkEditCloseDocument |
186 | 186 |
// |
187 |
this.checkEditCloseDocument.Location = new System.Drawing.Point(817, 76);
|
|
187 |
this.checkEditCloseDocument.Location = new System.Drawing.Point(817, 82);
|
|
188 | 188 |
this.checkEditCloseDocument.MenuManager = this.ribbonControl; |
189 | 189 |
this.checkEditCloseDocument.Name = "checkEditCloseDocument"; |
190 | 190 |
this.checkEditCloseDocument.Properties.Caption = "Close Document"; |
... | ... | |
195 | 195 |
// btnRefresh |
196 | 196 |
// |
197 | 197 |
this.btnRefresh.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnRefresh.ImageOptions.SvgImage"))); |
198 |
this.btnRefresh.Location = new System.Drawing.Point(155, 58);
|
|
198 |
this.btnRefresh.Location = new System.Drawing.Point(155, 64);
|
|
199 | 199 |
this.btnRefresh.Name = "btnRefresh"; |
200 | 200 |
this.btnRefresh.Size = new System.Drawing.Size(101, 38); |
201 | 201 |
this.btnRefresh.StyleController = this.layoutControl1; |
... | ... | |
205 | 205 |
// |
206 | 206 |
// comboBoxEditDefaultTemplate |
207 | 207 |
// |
208 |
this.comboBoxEditDefaultTemplate.Location = new System.Drawing.Point(523, 76);
|
|
208 |
this.comboBoxEditDefaultTemplate.Location = new System.Drawing.Point(523, 82);
|
|
209 | 209 |
this.comboBoxEditDefaultTemplate.MenuManager = this.ribbonControl; |
210 | 210 |
this.comboBoxEditDefaultTemplate.Name = "comboBoxEditDefaultTemplate"; |
211 | 211 |
this.comboBoxEditDefaultTemplate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
... | ... | |
218 | 218 |
// |
219 | 219 |
// buttonEditDefaultUnit |
220 | 220 |
// |
221 |
this.buttonEditDefaultUnit.Location = new System.Drawing.Point(330, 76);
|
|
221 |
this.buttonEditDefaultUnit.Location = new System.Drawing.Point(330, 82);
|
|
222 | 222 |
this.buttonEditDefaultUnit.MenuManager = this.ribbonControl; |
223 | 223 |
this.buttonEditDefaultUnit.Name = "buttonEditDefaultUnit"; |
224 | 224 |
this.buttonEditDefaultUnit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
... | ... | |
233 | 233 |
// btnRun |
234 | 234 |
// |
235 | 235 |
this.btnRun.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnRun.ImageOptions.SvgImage"))); |
236 |
this.btnRun.Location = new System.Drawing.Point(932, 58);
|
|
236 |
this.btnRun.Location = new System.Drawing.Point(932, 64);
|
|
237 | 237 |
this.btnRun.Name = "btnRun"; |
238 | 238 |
this.btnRun.Size = new System.Drawing.Size(79, 36); |
239 | 239 |
this.btnRun.StyleController = this.layoutControl1; |
... | ... | |
244 | 244 |
// btnLoadFile |
245 | 245 |
// |
246 | 246 |
this.btnLoadFile.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnLoadFile.ImageOptions.SvgImage"))); |
247 |
this.btnLoadFile.Location = new System.Drawing.Point(24, 58);
|
|
247 |
this.btnLoadFile.Location = new System.Drawing.Point(24, 64);
|
|
248 | 248 |
this.btnLoadFile.Name = "btnLoadFile"; |
249 | 249 |
this.btnLoadFile.Size = new System.Drawing.Size(110, 36); |
250 | 250 |
this.btnLoadFile.StyleController = this.layoutControl1; |
... | ... | |
255 | 255 |
// btnItemMapping |
256 | 256 |
// |
257 | 257 |
this.btnItemMapping.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnItemMapping.ImageOptions.SvgImage"))); |
258 |
this.btnItemMapping.Location = new System.Drawing.Point(1051, 344);
|
|
258 |
this.btnItemMapping.Location = new System.Drawing.Point(1044, 366);
|
|
259 | 259 |
this.btnItemMapping.Name = "btnItemMapping"; |
260 |
this.btnItemMapping.Size = new System.Drawing.Size(222, 36);
|
|
260 |
this.btnItemMapping.Size = new System.Drawing.Size(229, 38);
|
|
261 | 261 |
this.btnItemMapping.StyleController = this.layoutControl1; |
262 | 262 |
this.btnItemMapping.TabIndex = 7; |
263 | 263 |
this.btnItemMapping.Text = "Item Mapping Setting"; |
... | ... | |
266 | 266 |
// btnSPPIDDB |
267 | 267 |
// |
268 | 268 |
this.btnSPPIDDB.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnSPPIDDB.ImageOptions.SvgImage"))); |
269 |
this.btnSPPIDDB.Location = new System.Drawing.Point(1051, 210);
|
|
269 |
this.btnSPPIDDB.Location = new System.Drawing.Point(1044, 224);
|
|
270 | 270 |
this.btnSPPIDDB.Name = "btnSPPIDDB"; |
271 |
this.btnSPPIDDB.Size = new System.Drawing.Size(222, 36);
|
|
271 |
this.btnSPPIDDB.Size = new System.Drawing.Size(229, 38);
|
|
272 | 272 |
this.btnSPPIDDB.StyleController = this.layoutControl1; |
273 | 273 |
this.btnSPPIDDB.TabIndex = 5; |
274 | 274 |
this.btnSPPIDDB.Text = "Setting"; |
... | ... | |
276 | 276 |
// |
277 | 277 |
// gridControlConverter |
278 | 278 |
// |
279 |
this.gridControlConverter.Location = new System.Drawing.Point(24, 100);
|
|
279 |
this.gridControlConverter.Location = new System.Drawing.Point(24, 106);
|
|
280 | 280 |
this.gridControlConverter.MainView = this.gridViewConverter; |
281 | 281 |
this.gridControlConverter.MenuManager = this.ribbonControl; |
282 | 282 |
this.gridControlConverter.Name = "gridControlConverter"; |
283 |
this.gridControlConverter.Size = new System.Drawing.Size(987, 461);
|
|
283 |
this.gridControlConverter.Size = new System.Drawing.Size(987, 460);
|
|
284 | 284 |
this.gridControlConverter.TabIndex = 4; |
285 | 285 |
this.gridControlConverter.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { |
286 | 286 |
this.gridViewConverter}); |
... | ... | |
305 | 305 |
this.layoutControlGroupID2Project, |
306 | 306 |
this.splitterItem1}); |
307 | 307 |
this.Root.Name = "Root"; |
308 |
this.Root.Size = new System.Drawing.Size(1297, 585);
|
|
308 |
this.Root.Size = new System.Drawing.Size(1297, 590);
|
|
309 | 309 |
this.Root.TextVisible = false; |
310 | 310 |
// |
311 | 311 |
// layoutControlGroupSPPIDDB |
... | ... | |
318 | 318 |
this.layoutControlItem2, |
319 | 319 |
this.simpleLabelItem2, |
320 | 320 |
this.simpleLabelItem1}); |
321 |
this.layoutControlGroupSPPIDDB.Location = new System.Drawing.Point(1027, 152);
|
|
321 |
this.layoutControlGroupSPPIDDB.Location = new System.Drawing.Point(1020, 160);
|
|
322 | 322 |
this.layoutControlGroupSPPIDDB.Name = "layoutControlGroupSPPIDDB"; |
323 |
this.layoutControlGroupSPPIDDB.Size = new System.Drawing.Size(250, 134);
|
|
323 |
this.layoutControlGroupSPPIDDB.Size = new System.Drawing.Size(257, 142);
|
|
324 | 324 |
this.layoutControlGroupSPPIDDB.Text = "SPPID DB"; |
325 | 325 |
// |
326 | 326 |
// labelSPPIDPlantName |
327 | 327 |
// |
328 | 328 |
this.labelSPPIDPlantName.AllowHotTrack = false; |
329 | 329 |
this.labelSPPIDPlantName.AppearanceItemCaption.Options.UseForeColor = true; |
330 |
this.labelSPPIDPlantName.Location = new System.Drawing.Point(78, 40);
|
|
330 |
this.labelSPPIDPlantName.Location = new System.Drawing.Point(78, 42);
|
|
331 | 331 |
this.labelSPPIDPlantName.Name = "labelSPPIDPlantName"; |
332 |
this.labelSPPIDPlantName.Size = new System.Drawing.Size(148, 18);
|
|
332 |
this.labelSPPIDPlantName.Size = new System.Drawing.Size(155, 18);
|
|
333 | 333 |
this.labelSPPIDPlantName.Text = "SPPIDPlantName"; |
334 | 334 |
this.labelSPPIDPlantName.TextSize = new System.Drawing.Size(93, 14); |
335 | 335 |
// |
... | ... | |
337 | 337 |
// |
338 | 338 |
this.labelSPPIDDBStatus.AllowHotTrack = false; |
339 | 339 |
this.labelSPPIDDBStatus.AppearanceItemCaption.Options.UseForeColor = true; |
340 |
this.labelSPPIDDBStatus.Location = new System.Drawing.Point(51, 58);
|
|
340 |
this.labelSPPIDDBStatus.Location = new System.Drawing.Point(51, 60);
|
|
341 | 341 |
this.labelSPPIDDBStatus.Name = "labelSPPIDDBStatus"; |
342 |
this.labelSPPIDDBStatus.Size = new System.Drawing.Size(175, 18);
|
|
342 |
this.labelSPPIDDBStatus.Size = new System.Drawing.Size(182, 18);
|
|
343 | 343 |
this.labelSPPIDDBStatus.Text = "SPPIDDBStatus"; |
344 | 344 |
this.labelSPPIDDBStatus.TextSize = new System.Drawing.Size(93, 14); |
345 | 345 |
// |
... | ... | |
348 | 348 |
this.layoutControlItem2.Control = this.btnSPPIDDB; |
349 | 349 |
this.layoutControlItem2.Location = new System.Drawing.Point(0, 0); |
350 | 350 |
this.layoutControlItem2.Name = "layoutControlItem2"; |
351 |
this.layoutControlItem2.Size = new System.Drawing.Size(226, 40);
|
|
351 |
this.layoutControlItem2.Size = new System.Drawing.Size(233, 42);
|
|
352 | 352 |
this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); |
353 | 353 |
this.layoutControlItem2.TextVisible = false; |
354 | 354 |
// |
... | ... | |
356 | 356 |
// |
357 | 357 |
this.simpleLabelItem2.AllowHotTrack = false; |
358 | 358 |
this.simpleLabelItem2.AppearanceItemCaption.Options.UseForeColor = true; |
359 |
this.simpleLabelItem2.Location = new System.Drawing.Point(0, 58);
|
|
359 |
this.simpleLabelItem2.Location = new System.Drawing.Point(0, 60);
|
|
360 | 360 |
this.simpleLabelItem2.MaxSize = new System.Drawing.Size(51, 18); |
361 | 361 |
this.simpleLabelItem2.MinSize = new System.Drawing.Size(51, 18); |
362 | 362 |
this.simpleLabelItem2.Name = "simpleLabelItem2"; |
... | ... | |
370 | 370 |
// |
371 | 371 |
this.simpleLabelItem1.AllowHotTrack = false; |
372 | 372 |
this.simpleLabelItem1.AppearanceItemCaption.Options.UseForeColor = true; |
373 |
this.simpleLabelItem1.Location = new System.Drawing.Point(0, 40);
|
|
373 |
this.simpleLabelItem1.Location = new System.Drawing.Point(0, 42);
|
|
374 | 374 |
this.simpleLabelItem1.MaxSize = new System.Drawing.Size(78, 18); |
375 | 375 |
this.simpleLabelItem1.MinSize = new System.Drawing.Size(78, 18); |
376 | 376 |
this.simpleLabelItem1.Name = "simpleLabelItem1"; |
... | ... | |
388 | 388 |
this.layoutControlItem4, |
389 | 389 |
this.labelItemMappingStatus, |
390 | 390 |
this.simpleLabelItem5}); |
391 |
this.layoutControlGroupItemMapping.Location = new System.Drawing.Point(1027, 286);
|
|
391 |
this.layoutControlGroupItemMapping.Location = new System.Drawing.Point(1020, 302);
|
|
392 | 392 |
this.layoutControlGroupItemMapping.Name = "layoutControlGroupItemMapping"; |
393 |
this.layoutControlGroupItemMapping.Size = new System.Drawing.Size(250, 116);
|
|
393 |
this.layoutControlGroupItemMapping.Size = new System.Drawing.Size(257, 124);
|
|
394 | 394 |
this.layoutControlGroupItemMapping.Text = "Item Mapping"; |
395 | 395 |
// |
396 | 396 |
// layoutControlItem4 |
... | ... | |
398 | 398 |
this.layoutControlItem4.Control = this.btnItemMapping; |
399 | 399 |
this.layoutControlItem4.Location = new System.Drawing.Point(0, 0); |
400 | 400 |
this.layoutControlItem4.Name = "layoutControlItem4"; |
401 |
this.layoutControlItem4.Size = new System.Drawing.Size(226, 40);
|
|
401 |
this.layoutControlItem4.Size = new System.Drawing.Size(233, 42);
|
|
402 | 402 |
this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0); |
403 | 403 |
this.layoutControlItem4.TextVisible = false; |
404 | 404 |
// |
... | ... | |
406 | 406 |
// |
407 | 407 |
this.labelItemMappingStatus.AllowHotTrack = false; |
408 | 408 |
this.labelItemMappingStatus.AppearanceItemCaption.Options.UseForeColor = true; |
409 |
this.labelItemMappingStatus.Location = new System.Drawing.Point(51, 40);
|
|
409 |
this.labelItemMappingStatus.Location = new System.Drawing.Point(51, 42);
|
|
410 | 410 |
this.labelItemMappingStatus.Name = "labelItemMappingStatus"; |
411 |
this.labelItemMappingStatus.Size = new System.Drawing.Size(175, 18);
|
|
411 |
this.labelItemMappingStatus.Size = new System.Drawing.Size(182, 18);
|
|
412 | 412 |
this.labelItemMappingStatus.Text = "MappingStatus"; |
413 | 413 |
this.labelItemMappingStatus.TextSize = new System.Drawing.Size(93, 14); |
414 | 414 |
// |
... | ... | |
416 | 416 |
// |
417 | 417 |
this.simpleLabelItem5.AllowHotTrack = false; |
418 | 418 |
this.simpleLabelItem5.AppearanceItemCaption.Options.UseForeColor = true; |
419 |
this.simpleLabelItem5.Location = new System.Drawing.Point(0, 40);
|
|
419 |
this.simpleLabelItem5.Location = new System.Drawing.Point(0, 42);
|
|
420 | 420 |
this.simpleLabelItem5.MaxSize = new System.Drawing.Size(51, 18); |
421 | 421 |
this.simpleLabelItem5.MinSize = new System.Drawing.Size(51, 18); |
422 | 422 |
this.simpleLabelItem5.Name = "simpleLabelItem5"; |
... | ... | |
443 | 443 |
this.layoutControlItem11}); |
444 | 444 |
this.layoutControlGroupAutoConverter.Location = new System.Drawing.Point(0, 0); |
445 | 445 |
this.layoutControlGroupAutoConverter.Name = "layoutControlGroupAutoConverter"; |
446 |
this.layoutControlGroupAutoConverter.Size = new System.Drawing.Size(1015, 565);
|
|
446 |
this.layoutControlGroupAutoConverter.Size = new System.Drawing.Size(1015, 570);
|
|
447 | 447 |
this.layoutControlGroupAutoConverter.Text = "Auto Converter"; |
448 | 448 |
// |
449 | 449 |
// layoutControlItem1 |
... | ... | |
451 | 451 |
this.layoutControlItem1.Control = this.gridControlConverter; |
452 | 452 |
this.layoutControlItem1.Location = new System.Drawing.Point(0, 42); |
453 | 453 |
this.layoutControlItem1.Name = "layoutControlItem1"; |
454 |
this.layoutControlItem1.Size = new System.Drawing.Size(991, 465);
|
|
454 |
this.layoutControlItem1.Size = new System.Drawing.Size(991, 464);
|
|
455 | 455 |
this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); |
456 | 456 |
this.layoutControlItem1.TextVisible = false; |
457 | 457 |
// |
... | ... | |
555 | 555 |
// emptySpaceItem1 |
556 | 556 |
// |
557 | 557 |
this.emptySpaceItem1.AllowHotTrack = false; |
558 |
this.emptySpaceItem1.Location = new System.Drawing.Point(1027, 402);
|
|
558 |
this.emptySpaceItem1.Location = new System.Drawing.Point(1020, 426);
|
|
559 | 559 |
this.emptySpaceItem1.Name = "emptySpaceItem1"; |
560 |
this.emptySpaceItem1.Size = new System.Drawing.Size(250, 163);
|
|
560 |
this.emptySpaceItem1.Size = new System.Drawing.Size(257, 144);
|
|
561 | 561 |
this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); |
562 | 562 |
// |
563 | 563 |
// layoutControlGroupID2Project |
... | ... | |
572 | 572 |
this.layoutControlItem7, |
573 | 573 |
this.labelDBType, |
574 | 574 |
this.simpleLabelItem7}); |
575 |
this.layoutControlGroupID2Project.Location = new System.Drawing.Point(1027, 0);
|
|
575 |
this.layoutControlGroupID2Project.Location = new System.Drawing.Point(1020, 0);
|
|
576 | 576 |
this.layoutControlGroupID2Project.Name = "layoutControlGroupID2Project"; |
577 |
this.layoutControlGroupID2Project.Size = new System.Drawing.Size(250, 152);
|
|
577 |
this.layoutControlGroupID2Project.Size = new System.Drawing.Size(257, 160);
|
|
578 | 578 |
this.layoutControlGroupID2Project.Text = "ID2 Project"; |
579 | 579 |
// |
580 | 580 |
// labelID2ProjectName |
581 | 581 |
// |
582 | 582 |
this.labelID2ProjectName.AllowHotTrack = false; |
583 | 583 |
this.labelID2ProjectName.AppearanceItemCaption.Options.UseForeColor = true; |
584 |
this.labelID2ProjectName.Location = new System.Drawing.Point(90, 40);
|
|
584 |
this.labelID2ProjectName.Location = new System.Drawing.Point(90, 42);
|
|
585 | 585 |
this.labelID2ProjectName.Name = "labelID2ProjectName"; |
586 |
this.labelID2ProjectName.Size = new System.Drawing.Size(136, 18);
|
|
586 |
this.labelID2ProjectName.Size = new System.Drawing.Size(143, 18);
|
|
587 | 587 |
this.labelID2ProjectName.Text = "ID2ProjectName"; |
588 | 588 |
this.labelID2ProjectName.TextSize = new System.Drawing.Size(93, 14); |
589 | 589 |
// |
... | ... | |
591 | 591 |
// |
592 | 592 |
this.labelID2ProjectStatus.AllowHotTrack = false; |
593 | 593 |
this.labelID2ProjectStatus.AppearanceItemCaption.Options.UseForeColor = true; |
594 |
this.labelID2ProjectStatus.Location = new System.Drawing.Point(51, 76);
|
|
594 |
this.labelID2ProjectStatus.Location = new System.Drawing.Point(51, 78);
|
|
595 | 595 |
this.labelID2ProjectStatus.Name = "labelID2ProjectStatus"; |
596 |
this.labelID2ProjectStatus.Size = new System.Drawing.Size(175, 18);
|
|
596 |
this.labelID2ProjectStatus.Size = new System.Drawing.Size(182, 18);
|
|
597 | 597 |
this.labelID2ProjectStatus.Text = "ID2ProjectStatus"; |
598 | 598 |
this.labelID2ProjectStatus.TextSize = new System.Drawing.Size(93, 14); |
599 | 599 |
// |
... | ... | |
601 | 601 |
// |
602 | 602 |
this.simpleLabelItem3.AllowHotTrack = false; |
603 | 603 |
this.simpleLabelItem3.AppearanceItemCaption.Options.UseForeColor = true; |
604 |
this.simpleLabelItem3.Location = new System.Drawing.Point(0, 40);
|
|
604 |
this.simpleLabelItem3.Location = new System.Drawing.Point(0, 42);
|
|
605 | 605 |
this.simpleLabelItem3.MaxSize = new System.Drawing.Size(90, 18); |
606 | 606 |
this.simpleLabelItem3.MinSize = new System.Drawing.Size(90, 18); |
607 | 607 |
this.simpleLabelItem3.Name = "simpleLabelItem3"; |
... | ... | |
615 | 615 |
// |
616 | 616 |
this.simpleLabelItem4.AllowHotTrack = false; |
617 | 617 |
this.simpleLabelItem4.AppearanceItemCaption.Options.UseForeColor = true; |
618 |
this.simpleLabelItem4.Location = new System.Drawing.Point(0, 76);
|
|
618 |
this.simpleLabelItem4.Location = new System.Drawing.Point(0, 78);
|
|
619 | 619 |
this.simpleLabelItem4.MaxSize = new System.Drawing.Size(51, 18); |
620 | 620 |
this.simpleLabelItem4.MinSize = new System.Drawing.Size(51, 18); |
621 | 621 |
this.simpleLabelItem4.Name = "simpleLabelItem4"; |
... | ... | |
630 | 630 |
this.layoutControlItem7.Control = this.btnID2DB; |
631 | 631 |
this.layoutControlItem7.Location = new System.Drawing.Point(0, 0); |
632 | 632 |
this.layoutControlItem7.Name = "layoutControlItem7"; |
633 |
this.layoutControlItem7.Size = new System.Drawing.Size(226, 40);
|
|
633 |
this.layoutControlItem7.Size = new System.Drawing.Size(233, 42);
|
|
634 | 634 |
this.layoutControlItem7.TextSize = new System.Drawing.Size(0, 0); |
635 | 635 |
this.layoutControlItem7.TextVisible = false; |
636 | 636 |
// |
... | ... | |
638 | 638 |
// |
639 | 639 |
this.labelDBType.AllowHotTrack = false; |
640 | 640 |
this.labelDBType.AppearanceItemCaption.Options.UseForeColor = true; |
641 |
this.labelDBType.Location = new System.Drawing.Point(63, 58);
|
|
641 |
this.labelDBType.Location = new System.Drawing.Point(63, 60);
|
|
642 | 642 |
this.labelDBType.MinSize = new System.Drawing.Size(97, 18); |
643 | 643 |
this.labelDBType.Name = "labelDBType"; |
644 |
this.labelDBType.Size = new System.Drawing.Size(163, 18);
|
|
644 |
this.labelDBType.Size = new System.Drawing.Size(170, 18);
|
|
645 | 645 |
this.labelDBType.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
646 | 646 |
this.labelDBType.Text = "DB Type"; |
647 | 647 |
this.labelDBType.TextSize = new System.Drawing.Size(93, 14); |
... | ... | |
650 | 650 |
// |
651 | 651 |
this.simpleLabelItem7.AllowHotTrack = false; |
652 | 652 |
this.simpleLabelItem7.AppearanceItemCaption.Options.UseForeColor = true; |
653 |
this.simpleLabelItem7.Location = new System.Drawing.Point(0, 58);
|
|
653 |
this.simpleLabelItem7.Location = new System.Drawing.Point(0, 60);
|
|
654 | 654 |
this.simpleLabelItem7.MaxSize = new System.Drawing.Size(63, 18); |
655 | 655 |
this.simpleLabelItem7.MinSize = new System.Drawing.Size(63, 18); |
656 | 656 |
this.simpleLabelItem7.Name = "simpleLabelItem7"; |
... | ... | |
665 | 665 |
this.splitterItem1.AllowHotTrack = true; |
666 | 666 |
this.splitterItem1.Location = new System.Drawing.Point(1015, 0); |
667 | 667 |
this.splitterItem1.Name = "splitterItem1"; |
668 |
this.splitterItem1.Size = new System.Drawing.Size(12, 565);
|
|
668 |
this.splitterItem1.Size = new System.Drawing.Size(5, 570);
|
|
669 | 669 |
// |
670 | 670 |
// xtraFolderBrowserDialog |
671 | 671 |
// |
DTI_PID/SPPIDConverter/License.cs | ||
---|---|---|
148 | 148 |
{ |
149 | 149 |
bool result = false; |
150 | 150 | |
151 |
return true; |
|
151 |
// return true;
|
|
152 | 152 | |
153 | 153 |
try |
154 | 154 |
{ |
... | ... | |
156 | 156 |
if (!string.IsNullOrEmpty(key)) |
157 | 157 |
{ |
158 | 158 |
key = Crypt.decrypt(key, "dof1073#"); |
159 | ||
160 |
if (CheckLocalKey(key)) |
|
161 |
{ |
|
162 |
Settings.Default.LicenseKey = Crypt.encrypt(key, "dof1073#"); |
|
163 |
Settings.Default.Save(); |
|
164 | ||
165 |
return true; |
|
166 |
} |
|
159 | 167 |
} |
160 | 168 |
else |
161 | 169 |
{ |
... | ... | |
168 | 176 |
if (dlg.ShowDialog() == DialogResult.OK) |
169 | 177 |
{ |
170 | 178 |
key = dlg.key; |
179 | ||
180 |
if (CheckLocalKey(key)) |
|
181 |
{ |
|
182 |
Settings.Default.LicenseKey = Crypt.encrypt(key, "dof1073#"); |
|
183 |
Settings.Default.Save(); |
|
184 | ||
185 |
return true; |
|
186 |
} |
|
171 | 187 |
} |
172 | 188 | |
173 | 189 |
if (CheckLicense(key)) |
... | ... | |
196 | 212 |
return result; |
197 | 213 |
} |
198 | 214 | |
215 |
public static bool CheckLocalKey(string key) |
|
216 |
{ |
|
217 |
//return false; // for erase key |
|
218 |
try |
|
219 |
{ |
|
220 |
string _key = "Image Drawing to Intelligent Drawing"; |
|
221 | ||
222 |
string incoming = key.Replace('_', '/').Replace('-', '+'); |
|
223 |
switch (key.Length % 4) |
|
224 |
{ |
|
225 |
case 2: incoming += "=="; break; |
|
226 |
case 3: incoming += "="; break; |
|
227 |
} |
|
228 |
byte[] bytes = Convert.FromBase64String(incoming); |
|
229 |
string originalText = Encoding.ASCII.GetString(bytes); |
|
230 | ||
231 |
string decodeText = ""; |
|
232 |
//for (int i = 0; i < originalText.Length; i++) |
|
233 |
//{ |
|
234 |
// var key_c = _key[i % _key.Length]; |
|
235 |
// var dec_c = (char)((256 + originalText[i] - (key_c)) % 256); |
|
236 |
// decodeText += dec_c; |
|
237 |
//} |
|
238 |
for (int i = 0; i < bytes.Length; i++) |
|
239 |
{ |
|
240 |
var key_c = _key[i % _key.Length]; |
|
241 |
var dec_c = (char)((256 + bytes[i] - (key_c)) % 256); |
|
242 |
decodeText += dec_c; |
|
243 |
} |
|
244 | ||
245 |
if (SystemInformation.ComputerName == decodeText) |
|
246 |
{ |
|
247 |
return true; |
|
248 |
} |
|
249 |
} |
|
250 |
catch (Exception ex) |
|
251 |
{ |
|
252 |
// local key가 아님 |
|
253 |
} |
|
254 | ||
255 |
return false; |
|
256 |
} |
|
257 | ||
199 | 258 |
public static bool CheckLicense(string key) |
200 | 259 |
{ |
201 |
// return false; // for erase key
|
|
260 |
//return false; // for erase key |
|
202 | 261 |
try |
203 | 262 |
{ |
204 | 263 |
const string secret = "795hi#(7qq5&p#f3ysa#n-449h8g_n95olca)b%t23s7!w%v0m"; |
내보내기 Unified diff