Ejemplo n.º 1
0
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            AppInitializer.CheckNumberOfInstances(programInstancesCount);

            AppInitializer.InitializeDomain();
            AppInitializer.InitialzeTaskbarIcon((s, ev) => Current.MainWindow.Show());
            AppInitializer.InitializeCulture();
            AppInitializer.InitializeConfig();
            AppInitializer.InitializeFileWatcher(async(s, ev) =>
            {
                FileWatcher.EnableRaisingEvents = false;
                await RecivePackDetailsDataAsync();
                FileWatcher.EnableRaisingEvents = true;
            });
        }