Exemplo n.º 1
0
        //Open configuration folder
        static void ShowConfiguration()
        {
            try
            {
                if (!Configurator.ConfigExists())
                {
                    Configurator.CreateConfig();
                }
                Process.Start("explorer.exe", Configurator.folder);
            }
            catch
            {
                MessageBox.Show("Cannot access configuration folder:\n" + Configurator.folder, "ScreenSaver", MessageBoxButton.OK, MessageBoxImage.Error);
            }

            Application.Current.Shutdown();
        }