개정판 567a90cc
issue #0000
ID2 Connection 테스트 로직 삭제
Gembox licenses 등록 위치 변경
Change-Id: I524e942a010ca3497fe928be87bc1d7990d9fe92
ID2.Manager/ID2.Manager/Main.cs | ||
---|---|---|
47 | 47 |
Telerik.WinControls.RadControlSpy.RadControlSpyForm radControlSpyForm = new Telerik.WinControls.RadControlSpy.RadControlSpyForm(); |
48 | 48 |
radControlSpyForm.Show(); |
49 | 49 |
|
50 |
SpreadsheetInfo.SetLicense(Properties.Settings.Default.GemBoxLicense); |
|
51 |
|
|
52 | 50 |
this.Load += Main_Load; |
53 | 51 |
|
54 | 52 |
this.radButtonElementRefreshCommand.Click += RadButtonElementRefreshCommand_Click; |
... | ... | |
798 | 796 |
} |
799 | 797 |
catch (Exception ex) |
800 | 798 |
{ |
801 |
if (e.Row.DataBoundItem is Documents doc) |
|
802 |
{ |
|
803 |
try |
|
804 |
{ |
|
805 |
var returnDoc = new DocumentController().SetID2Worker(new Documents() |
|
806 |
{ |
|
807 |
DocID = doc.DocID, |
|
808 |
ID2StartDate = DateTime.Now, |
|
809 |
Worker = informations.ActiveUser.ID |
|
810 |
}, informations.ActiveUser.ID); |
|
811 |
|
|
812 |
if (returnDoc != null) |
|
813 |
{ |
|
814 |
doc.ID2StartDate = returnDoc.ID2StartDate; |
|
815 |
doc.Worker = returnDoc.Worker; |
|
816 |
doc.ID2JobTime = returnDoc.ID2JobTime; |
|
817 |
} |
|
818 |
} |
|
819 |
catch { } |
|
820 |
} |
|
821 |
|
|
822 | 799 |
RadMessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, RadMessageIcon.Error); |
823 | 800 |
} |
824 | 801 |
break; |
ID2.Manager/ID2.Manager/Program.cs | ||
---|---|---|
6 | 6 |
using ID2.Manager.Common; |
7 | 7 |
using ID2.Manager.Forms; |
8 | 8 |
using log4net; |
9 |
using GemBox.Spreadsheet; |
|
9 | 10 |
|
10 | 11 |
namespace ID2.Manager |
11 | 12 |
{ |
... | ... | |
25 | 26 |
{ |
26 | 27 |
logger = LogManager.GetLogger(typeof(Program)); |
27 | 28 |
devDept.LicenseManager.Unlock(typeof(devDept.Eyeshot.Workspace), "US22-CKTU9-RX12F-3SF6-R1X9"); |
29 |
SpreadsheetInfo.SetLicense(Properties.Settings.Default.GemBoxLicense); |
|
28 | 30 |
|
29 | 31 |
Application.EnableVisualStyles(); |
30 | 32 |
Application.SetCompatibleTextRenderingDefault(false); |
내보내기 Unified diff