개정판 1ed8da93
issue #1187: fixed MARKUS.ini for SNI
Change-Id: I37db1a085a2b994e8d36485150040025da0418f2
KCOM/App.xaml.cs | ||
---|---|---|
100 | 100 |
|
101 | 101 |
protected override async void OnStartup(StartupEventArgs e) |
102 | 102 |
{ |
103 |
|
|
104 | 103 |
try |
105 | 104 |
{ |
106 |
|
|
107 |
|
|
108 | 105 |
splashScreen.Show(); |
109 | 106 |
|
110 | 107 |
/// create log database and table |
... | ... | |
129 | 126 |
if (hostEntry == null) |
130 | 127 |
{ |
131 | 128 |
System.Diagnostics.Debug.WriteLine("(hostEntry == null"); |
132 |
App.FileLogger.Fatal("hostEntry == null");
|
|
129 |
App.FileLogger.Debug("hostEntry == null");
|
|
133 | 130 |
isExternal = true; |
134 | 131 |
} |
135 | 132 |
else if (!hostEntry.HostName.EndsWith(localdomain)) |
136 | 133 |
{ |
137 | 134 |
// 외부 사용자 |
138 |
App.FileLogger.Fatal("hostEntry != localdomain :" + hostEntry.HostName);
|
|
135 |
App.FileLogger.Debug(string.Format("You are external user because located out side of given domain({0})\nYour domain is {1}", localdomain, hostEntry.HostName));
|
|
139 | 136 |
isExternal = true; |
140 | 137 |
} |
141 | 138 |
#endregion |
142 |
//splash.Show(false, false); |
|
143 | 139 |
|
144 | 140 |
if (e.Args.Count() > 0) |
145 | 141 |
{ |
... | ... | |
164 | 160 |
string[] strArg = Environment.GetCommandLineArgs(); |
165 | 161 |
if (strArg.Length > 1) |
166 | 162 |
{ |
167 |
//label1.Text = strArg[1]; |
|
168 |
|
|
169 | 163 |
var result = ParamDecoding(strArg[1].Replace(@"kcom://", "").Replace(@"/", "")); |
170 | 164 |
App.ViewInfo = new IKCOM.ViewInfo |
171 | 165 |
{ |
... | ... | |
182 | 176 |
}; |
183 | 177 |
ParameterMode = true; |
184 | 178 |
} |
179 |
else |
|
180 |
{ |
|
181 |
MessageBox.Show("문서 정보가 입력되지 않았습니다.\n프로그램이 종료됩니다.", "안내"); |
|
182 |
throw new ArgumentException("문서 정보가 입력되지 않았습니다."); |
|
183 |
} |
|
185 | 184 |
} |
186 | 185 |
|
187 | 186 |
//App.ViewInfo.CreateFinalPDFPermission = false; |
... | ... | |
212 | 211 |
|
213 | 212 |
await SplashScreenAsnyc(); |
214 | 213 |
base.OnStartup(e); |
215 |
|
|
216 |
//this.MainWindow = new MainWindow(); |
|
217 |
|
|
218 | 214 |
} |
219 | 215 |
catch (Exception ex) |
220 | 216 |
{ |
... | ... | |
262 | 258 |
try |
263 | 259 |
{ |
264 | 260 |
App.FileLogger.Fatal(e.ExceptionObject as Exception); |
265 |
//App.DBLogger.Fatal(e.ExceptionObject as Exception); |
|
266 | 261 |
} |
267 | 262 |
catch (Exception ex) |
268 | 263 |
{ |
내보내기 Unified diff