Ejemplo n.º 1
0
        public App()
        {
            string exeDir = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);

            Directory.SetCurrentDirectory(exeDir);
            AssemblyResolver.Init();
            LicenseKeyLocator.FindandRegisterLicenseKey();
            this.DispatcherUnhandledException += App_DispatcherUnhandledException1;
        }
Ejemplo n.º 2
0
        public App()
        {
#if STORE
            string exeDir = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
            Directory.SetCurrentDirectory(exeDir);
#else
            AssemblyResolver.Init();
            LicenseKeyLocator.FindandRegisterLicenseKey();
            this.DispatcherUnhandledException += new System.Windows.Threading.DispatcherUnhandledExceptionEventHandler(App_DispatcherUnhandledException);
#endif
        }
Ejemplo n.º 3
0
 public App()
 {
     AssemblyResolver.Init();
     LicenseKeyLocator.FindandRegisterLicenseKey();
     this.DispatcherUnhandledException += App_DispatcherUnhandledException1;
 }