프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

markus / KCOM / App.xaml.cs @ b1c2c6fe

이력 | 보기 | 이력해설 | 다운로드 (23.4 KB)

1

2
using KCOM.Common;
3
using KCOM.Views;
4
using License.Validator;
5
using log4net;
6
using System;
7
using System.ComponentModel;
8
using System.IO;
9
using System.Linq;
10
using System.Net;
11
using System.ServiceModel;
12
using System.Threading.Tasks;
13
using System.Windows;
14
using System.Windows.Input;
15
using System.Windows.Resources;
16

    
17
namespace KCOM
18
{
19
    public class OpenProperties
20
    {
21
        public string DocumentItemID { get; set; }
22
        public bool bPartner { get; set; }
23
        public bool CreateFinalPDFPermission { get; set; }
24
        public bool NewCommentPermission { get; set; }
25
        public string ProjectNO { get; set; }
26
        public string UserID { get; set; }
27
        public int Mode { get; set; }
28
    }
29

    
30
    /// <summary>
31
    /// App.xaml에 대한 상호 작용 논리
32
    /// </summary>
33
    public partial class App : Application
34
    {
35
        public static PageManager.PageStorage PageStorage;
36
        public static string MarkusVersion = "";
37
        public static string BaseAddress;
38
        public static string FileUploadUri;
39
        public static System.ServiceModel.Channels.Binding _binding;
40
        public static EndpointAddress _EndPoint;
41
        public static EndpointAddress _EndPoint_SaveLoad;
42
        public static EndpointAddress _EndPoint_Symbol;
43
        public static string UserName;
44
        public static IKCOM.ViewInfo ViewInfo;
45
        public static string urlHost;
46
        public static string urlPort;
47
        public static string urlHost_DB;
48
        public static string urlPort_DB;
49
        public static string Custom_ViewInfoId;
50
        public static bool ParameterMode = false;
51
        public static bool isExternal = false;
52
        public static bool isAuthenticate = false;
53
        public static string AuthenticateToken = null;
54

    
55
        /// <summary>
56
        /// logger
57
        /// </summary>
58
        public static ILog FileLogger = null;
59
        
60
        public static StreamResourceInfo DefaultArrowCursor;
61

    
62
        public static Stream DefaultArrowCursorStream
63
        {
64
            get {
65
                return Application.GetResourceStream(new Uri(@"pack://application:,,,/Resources/Cursor/customCursor2.cur", UriKind.Absolute)).Stream;
66
                //DefaultArrowCursor.Stream.Position = 0;
67
                //return DefaultArrowCursor.Stream;
68
            }
69
        }
70

    
71
        public static kr.co.devdoftech.cloud.FileUpload FileUploader
72
        {
73
            get { return new kr.co.devdoftech.cloud.FileUpload{ Url = FileUploadUri }; }
74

    
75
            private set {; }
76
        }
77

    
78
        /// <summary>
79
        /// VisualStudio Design Time여부
80
        /// </summary>
81
        public static bool IsDesignMode
82
        {
83
            get
84
            {
85
                try
86
                {
87
                    return DesignerProperties.GetIsInDesignMode(new DependencyObject());
88
                }
89
                catch (Exception)
90
                {
91
                    return false;
92
                }
93
            }
94
            private set { }
95
        }
96

    
97
        /// <summary>
98
        /// Application Data Folder
99
        /// </summary>
100
        public static string AppDataFolder
101
        {
102
            get
103
            {
104
                return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData), "MARKUS");
105
            }
106
        }
107

    
108
        public static IKCOM.KCOM_SystemInfo SystemInfo { get; set; }
109

    
110
        public static OpenProperties ParamDecoding(string DecodingText, System.Text.Encoding oEncoding = null)
111
        {
112
            if (oEncoding == null)
113
                oEncoding = System.Text.Encoding.UTF8;
114

    
115
            byte[] byteArray = Convert.FromBase64String(DecodingText);
116

    
117
            string jsonBack = oEncoding.GetString(byteArray);
118

    
119
            return Newtonsoft.Json.JsonConvert.DeserializeObject<OpenProperties>(jsonBack);
120
        }
121

    
122
        private string versionPath = null;
123
        //public SplashScreen splash = new SplashScreen("splash.png");
124
        public static SplashScreenWindow splashScreen = new SplashScreenWindow();
125

    
126
        public App()
127
        {
128
            Telerik.Windows.Controls.StyleManager.ApplicationTheme = new Telerik.Windows.Controls.VisualStudio2013Theme();
129

    
130
            App.FileLogger = LogManager.GetLogger(typeof(App));
131
        }
132

    
133
        protected override void OnExit(ExitEventArgs e)
134
        {
135
            try
136
            {
137
                if (App.PageStorage != null)
138
                {
139
                    App.PageStorage.Clear();
140
                }
141
            }
142
            catch (Exception)
143
            {
144
            }
145

    
146
            base.OnExit(e);
147
        }
148

    
149
        protected override async void OnStartup(StartupEventArgs e)
150
        {
151
            try
152
            {
153
                DefaultArrowCursor = Application.GetResourceStream(new Uri(@"pack://application:,,,/Resources/Cursor/customCursor2.cur", UriKind.Absolute));
154

    
155
                splashScreen.Show();
156

    
157
                App.Current.DispatcherUnhandledException += Current_DispatcherUnhandledException;
158
                /// up to here
159
                //AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
160

    
161
                #region  //  DNS 체크
162

    
163
                string localdomain = CommonLib.Common.GetConfigString("HOST_DOMAIN", "DOMAIN", "");
164

    
165
                ViewerDataModel.Instance.IsDocumentHistory = Convert.ToBoolean(CommonLib.Common.GetConfigString("COMMON","IsDocumentHistory", "true"));
166

    
167
                var hostEntry = CommonLib.DNSHelper.GetHostEntryTask();
168
                
169
                if (hostEntry == null)
170
                {
171
                    System.Diagnostics.Debug.WriteLine("(hostEntry == null");
172
                    //App.FileLogger.Debug("hostEntry == null");
173
                    isExternal = true;
174
                }
175
                else if (!string.IsNullOrEmpty(localdomain) && !hostEntry.HostName.ToUpper().EndsWith(localdomain.ToUpper()))
176
                {
177
                    // 외부 사용자
178
                     App.FileLogger.Debug(string.Format("You are external user because located out side of given domain({0})\nYour domain is {1}", localdomain, hostEntry.HostName));
179
                    isExternal = true;
180
                }
181
                #endregion
182

    
183

    
184
                if (e.Args.Count() > 0)
185
                {
186
                    var result = ParamDecoding(e.Args[0].Replace(@"kcom://", "").Replace(@"/", ""));
187
                    
188
                    App.ViewInfo = new IKCOM.ViewInfo
189
                    {
190
                        DocumentItemID = result.DocumentItemID,
191
                        EnsembleID = result.DocumentItemID,
192
                        //DocumentItemID = "10001",
193
                        bPartner = result.bPartner,
194
                        CreateFinalPDFPermission = result.CreateFinalPDFPermission,
195
                        NewCommentPermission = result.NewCommentPermission,
196
                        ProjectNO = result.ProjectNO,
197
                        UserID = result.UserID,
198
                        isAdmin = Convert.ToBoolean(result.Mode)
199
                        //UserID = "H2009115",
200
                        //Mode = result.Mode
201
                    };
202
                    ParameterMode = true; 
203
                } 
204
                else
205
                {
206
                    string[] strArg = Environment.GetCommandLineArgs();
207
                    if (strArg.Length > 1)
208
                    {
209
                        var result = ParamDecoding(strArg[1].Replace(@"kcom://", "").Replace(@"/", ""));
210
                        App.ViewInfo = new IKCOM.ViewInfo
211
                        {
212
                            DocumentItemID = result.DocumentItemID,
213
                            EnsembleID = result.DocumentItemID,
214
                            //DocumentItemID = "10001",
215
                            bPartner = result.bPartner,
216
                            CreateFinalPDFPermission = result.CreateFinalPDFPermission,
217
                            NewCommentPermission = result.NewCommentPermission,
218
                            ProjectNO = result.ProjectNO,
219
                            UserID = result.UserID,
220
                            //UserID = "H2009115",
221
                            //Mode = 0 , 1 , 2
222
                        };
223
                        ParameterMode = true;
224
                    }
225
                    else
226
                    {
227
                        MessageBox.Show("문서 정보가 입력되지 않았습니다.\n프로그램이 종료됩니다.", "안내");
228
                        throw new ArgumentException("문서 정보가 입력되지 않았습니다.");
229
                    }
230
                }
231

    
232
                //App.ViewInfo.CreateFinalPDFPermission = false;
233
                //App.ViewInfo.NewCommentPermission = false;
234
                //GetQueryStringParameters();
235
                //_binding = new WSHttpBinding();
236
                //_binding.Security = new WSHttpSecurity { Transport = new HttpTransportSecurity { ClientCredentialType = HttpClientCredentialType.None }, Mode = SecurityMode.Transport };
237
                //_binding.MaxReceivedMessageSize = 2147483647;
238
                //_binding.OpenTimeout = new TimeSpan(0, 1, 0);
239
                //_binding.ReceiveTimeout = new TimeSpan(0, 10, 0);
240
                //_binding.CloseTimeout = new TimeSpan(0, 5, 0);
241
                //_binding.SendTimeout = new TimeSpan(0, 5, 0);
242
#if BASIC_BINDING
243

    
244
                #region 기본 binding
245
                BasicHttpBinding basicHttpBinding = new BasicHttpBinding(BasicHttpSecurityMode.None);
246
                basicHttpBinding.Security = new BasicHttpSecurity { Transport = new HttpTransportSecurity { ClientCredentialType = HttpClientCredentialType.None, ProxyCredentialType = HttpProxyCredentialType.None }, Mode = BasicHttpSecurityMode.None, Message = new BasicHttpMessageSecurity { AlgorithmSuite = System.ServiceModel.Security.SecurityAlgorithmSuite.Basic256, ClientCredentialType = BasicHttpMessageCredentialType.UserName } };
247
                basicHttpBinding.MaxBufferSize = 2147483647;
248
                basicHttpBinding.MaxBufferPoolSize = 2147483647;
249
                basicHttpBinding.MaxReceivedMessageSize = 2147483647;
250
                basicHttpBinding.OpenTimeout = new TimeSpan(4, 30, 0);
251
                basicHttpBinding.ReceiveTimeout = new TimeSpan(4, 30, 0);
252
                basicHttpBinding.CloseTimeout = new TimeSpan(4, 30, 0);
253
                basicHttpBinding.SendTimeout = new TimeSpan(4, 30, 0);
254
                basicHttpBinding.TextEncoding = System.Text.Encoding.UTF8;
255
                basicHttpBinding.TransferMode = TransferMode.Buffered;
256
                basicHttpBinding.MessageEncoding = WSMessageEncoding.Text;
257
                basicHttpBinding.HostNameComparisonMode = HostNameComparisonMode.StrongWildcard;
258

    
259

    
260
                //System.ServiceModel.Channels.ReliableSessionBindingElement reliableSession = new System.ServiceModel.Channels.ReliableSessionBindingElement();
261
                //reliableSession.Ordered = true;
262
                //reliableSession.MaxRetryCount = 3;
263
                //basicHttpBinding.CreateBindingElements().Add(reliableSession);
264
                //basicHttpBinding.ProxyAddress = null;
265
                //basicHttpBinding.AllowCookies = false;
266
                //basicHttpBinding.BypassProxyOnLocal = false;
267
                //basicHttpBinding.UseDefaultWebProxy = false;
268
                //basicHttpBinding.ProxyAddress = new Uri("Http://localhost:8888");
269

    
270
                _binding = basicHttpBinding;
271

    
272
                //System.ServiceModel.Channels.ReliableSessionBindingElement reliableSession = new System.ServiceModel.Channels.ReliableSessionBindingElement();
273
                //reliableSession.Ordered = true;
274

    
275
                //System.ServiceModel.Channels.HttpTransportBindingElement httpTransport = new System.ServiceModel.Channels.HttpTransportBindingElement();
276
                //httpTransport.AuthenticationScheme = System.Net.AuthenticationSchemes.Anonymous;
277
                //httpTransport.HostNameComparisonMode = HostNameComparisonMode.StrongWildcard;
278
                //System.ServiceModel.Channels.CustomBinding binding = new System.ServiceModel.Channels.CustomBinding(reliableSession, httpTransport);
279
                #endregion
280
#elif _CUSTOM_BINDING
281
                #region custombinding
282
                var customBinding = new System.ServiceModel.Channels.CustomBinding()
283
                {
284
                    OpenTimeout = new TimeSpan(0, 30, 0),
285
                    ReceiveTimeout = new TimeSpan(0, 30, 0),
286
                    CloseTimeout = new TimeSpan(0, 30, 0),
287
                    SendTimeout = new TimeSpan(0, 30, 0),
288
                };
289

    
290
                //var messageEncoding = new WcfExtensions.ServiceModel.Channels.CompressionBindingElement();
291
                //messageEncoding.Level = WcfExtensions.ServiceModel.Channels.CompressionLevel.Maximum;
292

    
293
                var httpTranport = new System.ServiceModel.Channels.HttpsTransportBindingElement
294
                {
295
                    MaxBufferPoolSize = Int32.MaxValue,
296
                    MaxBufferSize = Int32.MaxValue,
297
                    MaxReceivedMessageSize = Int32.MaxValue,
298
                    RequestInitializationTimeout = new TimeSpan(0, 30, 0),
299
                    //UseDefaultWebProxy = false,
300
                    //ProxyAddress = new Uri("Http://127.0.0.1:8888")
301
                };
302

    
303
                customBinding.CreateBindingElements();
304
                //customBinding.Elements.Add(messageEncoding);
305
                customBinding.Elements.Add(httpTranport);
306
           
307

    
308
                _binding = customBinding;
309
                #endregion
310

    
311
#elif CUSTOM_BINDING
312
                #region custombinding
313
                var customBinding = new System.ServiceModel.Channels.CustomBinding()
314
                {
315
                    OpenTimeout = new TimeSpan(0, 30, 0),
316
                    ReceiveTimeout = new TimeSpan(0, 30, 0),
317
                    CloseTimeout = new TimeSpan(0, 30, 0),
318
                    SendTimeout = new TimeSpan(0, 30, 0),
319
                };
320

    
321
                //var messageEncoding = new WcfExtensions.ServiceModel.Channels.CompressionBindingElement();
322
                //messageEncoding.Level = WcfExtensions.ServiceModel.Channels.CompressionLevel.Maximum;
323

    
324
                var httpTranport = new System.ServiceModel.Channels.HttpsTransportBindingElement
325
                {
326
                    MaxBufferPoolSize = Int32.MaxValue,
327
                    MaxBufferSize = Int32.MaxValue,
328
                    MaxReceivedMessageSize = Int32.MaxValue,
329
                    RequestInitializationTimeout = new TimeSpan(0, 30, 0),
330
                    //UseDefaultWebProxy = false,
331
                    //ProxyAddress = new Uri("Http://127.0.0.1:8888")
332
                };
333

    
334
                customBinding.CreateBindingElements();
335

    
336
                var reliableSession = new System.ServiceModel.Channels.ReliableSessionBindingElement();
337
                
338
                var encoding = new System.ServiceModel.Channels.TextMessageEncodingBindingElement
339
                {
340
                    MaxReadPoolSize = Int32.MaxValue,
341
                    MaxWritePoolSize = Int32.MaxValue,
342
                    MessageVersion = System.ServiceModel.Channels.MessageVersion.Soap12WSAddressing10,
343
                    WriteEncoding = System.Text.Encoding.UTF8,
344
                    ReaderQuotas = new System.Xml.XmlDictionaryReaderQuotas
345
                    {
346
                        MaxArrayLength = Int32.MaxValue,
347
                        MaxBytesPerRead = Int32.MaxValue,
348
                        MaxDepth = Int32.MaxValue,
349
                        MaxNameTableCharCount = Int32.MaxValue,
350
                        MaxStringContentLength = Int32.MaxValue
351
                    }
352
                };
353
                //reliableSession.Ordered = true; // Set other properties as needed
354
                customBinding.Elements.Add(reliableSession);
355
                //customBinding.Elements.Add(messageEncoding);
356
                //customBinding.Elements.Add(encoding);
357
                customBinding.Elements.Add(httpTranport);
358

    
359
                _binding = customBinding;
360
                #endregion
361

    
362
#else
363

    
364
                #region 기본 binding
365
                //BasicHttpBinding basicHttpBinding = new BasicHttpBinding(BasicHttpSecurityMode.None);
366
                //basicHttpBinding.Security = new BasicHttpSecurity { Transport = new HttpTransportSecurity { ClientCredentialType = HttpClientCredentialType.None, ProxyCredentialType = HttpProxyCredentialType.None }, Mode = BasicHttpSecurityMode.None, Message = new BasicHttpMessageSecurity { AlgorithmSuite = System.ServiceModel.Security.SecurityAlgorithmSuite.Basic256, ClientCredentialType = BasicHttpMessageCredentialType.UserName } };
367
                //basicHttpBinding.MaxBufferSize = 2147483647;
368
                //basicHttpBinding.MaxBufferPoolSize = 2147483647;
369
                //basicHttpBinding.MaxReceivedMessageSize = 2147483647;
370
                //basicHttpBinding.OpenTimeout = new TimeSpan(4, 30, 0);
371
                //basicHttpBinding.ReceiveTimeout = new TimeSpan(4, 30, 0);
372
                //basicHttpBinding.CloseTimeout = new TimeSpan(4, 30, 0);
373
                //basicHttpBinding.SendTimeout = new TimeSpan(4, 30, 0);
374
                //basicHttpBinding.TextEncoding = System.Text.Encoding.UTF8;
375
                //basicHttpBinding.TransferMode = TransferMode.Buffered;
376
                //basicHttpBinding.MessageEncoding = WSMessageEncoding.Text;
377
                //basicHttpBinding.HostNameComparisonMode = HostNameComparisonMode.StrongWildcard;
378

    
379

    
380
                //System.ServiceModel.Channels.ReliableSessionBindingElement reliableSession = new System.ServiceModel.Channels.ReliableSessionBindingElement();
381
                //reliableSession.Ordered = true;
382
                //reliableSession.MaxRetryCount = 3;
383
                //basicHttpBinding.CreateBindingElements().Add(reliableSession);
384

    
385
                //_binding = basicHttpBinding;
386
                #endregion
387
#endif
388

    
389
                //Support.SetLicense();
390

    
391
#if DEBUG
392
                //sBaseServiceURL = CommonLib.Common.GetConfigString("BaseClientAddress", "URL", "", isExternal);
393
                System.Diagnostics.Debug.WriteLine("sBaseServiceURL");
394
                BaseAddress = CommonLib.Common.GetConfigString("BaseClientAddress", "URL", "", isExternal);
395
#else
396
                BaseAddress = CommonLib.Common.GetConfigString("BaseClientAddress", "URL", "", isExternal);
397
#endif
398

    
399
                if (isAuthenticate)
400
                {
401
                    App.AuthenticateToken = Authenticate(BaseAddress);
402
                }
403

    
404
                var UploadAddress = CommonLib.Common.GetConfigString("KCOM_kr_co_devdoftech_cloud_FileUpload", "URL", "");
405

    
406
                if (!string.IsNullOrWhiteSpace(UploadAddress) && !string.IsNullOrWhiteSpace(BaseAddress))
407
                {
408
                    var uploadUri = new UriBuilder(UploadAddress);
409
                    var baseUri = new UriBuilder(BaseAddress);
410

    
411
                    uploadUri.Host = baseUri.Host;
412
                    uploadUri.Port = baseUri.Port;
413

    
414
                    FileUploadUri = uploadUri.ToString();
415
                }
416
#if BASIC_BINDING
417
                _EndPoint = new EndpointAddress(string.Format("{0}/ServiceDeepView.svc", BaseAddress));
418
#elif CUSTOM_BINDING
419
                _EndPoint = new EndpointAddress(string.Format("{0}/ServiceDeepView.svc", BaseAddress));
420

    
421
#else
422
                _EndPoint = new EndpointAddress(string.Format("{0}/ServiceDeepView.svc", BaseAddress));
423
#endif
424

    
425
                App.FileLogger.Debug(_EndPoint.Uri);
426

    
427
#if !DEBUG
428
#endif
429
                //var license = new License.Validator.Valid(BaseAddress + "/License");
430

    
431
                //license.ValidateError += License_ValidateError;
432

    
433
                //license.GetLicense("public.xml");
434

    
435
                //if (license.Activate())
436
                //{
437

    
438
                //}
439
                //else
440
                //{
441

    
442
                //}
443

    
444

    
445
                await SplashScreenAsnyc();
446

    
447
                base.OnStartup(e);
448
                System.Windows.Input.Keyboard.AddPreviewKeyDownHandler(this.MainWindow, KeyDownEvent);
449

    
450

    
451
                //System.Windows.Input.Keyboard.AddKeyDownHandler(this.MainWindow, KeyDownEvent);
452
            }
453
            catch (Exception ex)
454
            {
455
                Logger.sendReqLog("OnStartUp",ex.ToString() + " " + ex.InnerException?.ToString(),1);
456
            }
457
            finally
458
            {
459
                await SplashScreenAsnyc();
460
            }
461
        }
462

    
463

    
464
        private string Authenticate(string baseUri)
465
        {
466
            string result = null;
467

    
468
            try
469
            {
470
                Uri uri = new Uri(baseUri);
471
                string baseUrl = uri.Scheme + "://" + uri.Host + (uri.IsDefaultPort ? "" : ":" + uri.Port);
472

    
473
                using (System.Net.WebClient client = new System.Net.WebClient())
474
                {
475
                    client.Headers.Add(HttpRequestHeader.Authorization, "!dsfadsfa@@~");
476
                    var response = client.DownloadString(baseUrl + "/Authenticate");
477

    
478
                    if (response != null)
479
                    {
480
                        result = response;
481
                    }
482
                }
483
            }
484
            catch (Exception)
485
            {
486

    
487
                throw;
488
            }
489

    
490
            return result;
491
        }
492

    
493
        private void License_ValidateError(object sender, ValidateErrorArgs e)
494
        {
495
            e.Received = true;
496

    
497
            Telerik.Windows.Controls.RadWindow.Alert(new Telerik.Windows.Controls.DialogParameters
498
            {
499
                Content = "License Error : " + e.Message,
500
                Owner = splashScreen
501
            });
502
            ///MessageBox.Show(e.Message);
503
            Application.Current.Shutdown();
504
        }
505

    
506
        private void Current_DispatcherUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e)
507
        {
508
            Logger.sendReqLog("App Error ",e.Exception.ToString() + " " + e.Exception.InnerException?.ToString(), 1);
509
        }
510

    
511
        private void KeyDownEvent(object sender, KeyEventArgs e)
512
        {
513
            //if (e.Key == Key.Escape || e.Key == Key.Delete)
514
            //{
515
                System.Diagnostics.Debug.WriteLine("app key Event");
516
                Common.ViewerDataModel.Instance.SystemMain.KeyEventDownAction(sender, e);
517
            //}
518
        }
519

    
520
        private async Task<bool> SplashScreenAsnyc()
521
        {
522
            int value = 100 / ISplashMessage.SplashMessageCnt;
523

    
524
            for (int i = 1; i < ISplashMessage.SplashMessageCnt; i++)
525
            {
526
                await Task.Delay(1);
527
                await splashScreen.Dispatcher.InvokeAsync(() => splashScreen.Progress = i * value);
528
            }
529

    
530
            //splashScreen.Close();
531

    
532
            return true;
533
        }
534

    
535
        public static void splashString(string text)
536
        {
537
            Task.Factory.StartNew(() =>
538
            {
539
                splashScreen.Dispatcher.Invoke(() => splashScreen.SplashText = text);
540
            }).ConfigureAwait(false);
541
        }
542

    
543

    
544
        /// <summary>
545
        /// log unhandled exception
546
        /// </summary>
547
        /// <author>humkyung</author>
548
        /// <date>2019.05.21</date>
549
        /// <param name="sender"></param>
550
        /// <param name="e"></param>
551
        private static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
552
        {
553
            try
554
            {
555
                App.FileLogger.Fatal(e.ExceptionObject as Exception);
556
            }
557
            catch (Exception ex)
558
            {
559
                Console.WriteLine(ex.InnerException?.ToString());
560
            }
561
            finally
562
            {
563
#if RELEASE
564
                Environment.Exit(0);
565
#endif
566
            }
567
        }
568

    
569
        private void ErrorLogFileWrite(string Err)
570
        {
571
            App.FileLogger.Debug(Err);
572
        }
573
    }
574
}
클립보드 이미지 추가 (최대 크기: 500 MB)