Esempio n. 1
0
 private void Window_ContentRendered(object sender, EventArgs e)
 {
     var iu = new InstallUpdates();
     iu.Install();
     var dir = Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);
     var enMon = dir + @"/Ester.exe";
     if (File.Exists(enMon))
     {
         Process.Start(enMon);
     }
     Application.Current.Shutdown();
 }
Esempio n. 2
0
        private void Window_ContentRendered(object sender, EventArgs e)
        {
            var iu = new InstallUpdates();

            iu.Install();
            var dir   = Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);
            var enMon = dir + @"/Ester.exe";

            if (File.Exists(enMon))
            {
                Process.Start(enMon);
            }
            Application.Current.Shutdown();
        }