프로젝트

일반

사용자정보

개정판 cf1cc862

IDcf1cc86209f30c6cca4ed6ad8249fe7539cc5421
상위 1305c420
하위 d21e9c15

김태성이(가) 3년 이상 전에 추가함

licensing 수정

Change-Id: I3bffa280e0205be1031c133bf4716929fcbd7c54

차이점 보기:

KCOM/App.xaml.cs
275 275

  
276 276
                App.FileLogger.Debug(string.Format("{0}/ServiceDeepView.svc", BaseAddress));
277 277
                _EndPoint = new EndpointAddress(string.Format("{0}/ServiceDeepView.svc", BaseAddress));
278

  
279 278
                
280

  
281
                await SplashScreenAsnyc();
282

  
283
                var license = new License.Validator.Valid(BaseAddress + "/License");
279
                var license = new License.Validator.Valid(BaseAddress + "/License1");
284 280

  
285 281
                license.ValidateError += License_ValidateError;
286 282

  
......
288 284

  
289 285
                if (license.Activate())
290 286
                {
291
                    base.OnStartup(e);
292
                    System.Windows.Input.Keyboard.AddPreviewKeyDownHandler(this.MainWindow, KeyDownEvent);
287
    
293 288
                }
294 289
                else
295 290
                {
291

  
296 292
                }
297
                
293

  
294
                await SplashScreenAsnyc();
295

  
296
                base.OnStartup(e);
297
                System.Windows.Input.Keyboard.AddPreviewKeyDownHandler(this.MainWindow, KeyDownEvent);
298

  
299

  
298 300
                //System.Windows.Input.Keyboard.AddKeyDownHandler(this.MainWindow, KeyDownEvent);
299 301
            }
300 302
            catch (Exception ex)
......
311 313
        {
312 314
            e.Received = true;
313 315

  
314
            MessageBox.Show(e.Message);
316
            Telerik.Windows.Controls.RadWindow.Alert(new Telerik.Windows.Controls.DialogParameters
317
            {
318
                Content = "License Error : " + e.Message,
319
                Owner = splashScreen
320
            });
321
            ///MessageBox.Show(e.Message);
315 322
            Application.Current.Shutdown();
316 323
        }
317 324

  

내보내기 Unified diff

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