Esempio n. 1
0
        public MainWindow()
        {
            appDataPath  = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "\\Programs\\CleanDesk\\";
            settingsPath = appDataPath + "app.dat";

            settings    = Settings.Load(settingsPath);
            userDesktop = new UserDesktop(settings.Categories);
            debug       = new Debug(appDataPath + "app.log");
            debug.CreateInstance();

            InitializeComponent();
        }
Esempio n. 2
0
 private void ShowStatistics(string prefix = "")
 {
     ChangeStats(UserDesktop.GetDesktopIcons().Length, prefix);
 }