コード例 #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);
     }
 }
コード例 #2
0
ファイル: Required.cs プロジェクト: surachat1234/GameKitty
 internal static void Clean()
 {
     CleanHelper.EmptyFolder(CoreFolder);
 }