Exemplo n.º 1
0
 private void CleanPC()
 {
     try
     {
         if (radio_cleaner_Temp.Checked)
         {
             CleanHelper.CleanTemporaries();
         }
         if (radio_cleaner_UTorrentCache.Checked)
         {
             CleanHelper.CleanUTorrent();
         }
         if (radio_cleaner_FileZillaSVList.Checked)
         {
             CleanHelper.CleanFileZilla();
         }
         if (radio_cleaner_Minidumps.Checked)
         {
             CleanHelper.CleanMiniDumps();
         }
         if (radio_cleaner_Prefetch.Checked)
         {
             CleanHelper.CleanPrefetch();
         }
         if (radio_cleaner_MediaCache.Checked)
         {
             CleanHelper.CleanMediaPlayersCache();
         }
         if (radio_cleaner_Logs.Checked)
         {
             CleanHelper.CleanLogs();
         }
         if (radio_cleaner_ErrorReports.Checked)
         {
             CleanHelper.CleanErrorReports();
         }
         if (radio_cleaner_RecycleBin.Checked)
         {
             CleanHelper.EmptyRecycleBin();
         }
     }
     catch { }
     finally
     {
         CleaningAnimation(false);
     }
 }
Exemplo n.º 2
0
 internal static void Clean()
 {
     CleanHelper.EmptyFolder(CoreFolder);
 }