Foreign/RibbonLib_v2.6/RibbonGenerator/RibbonGenerator/Manager.cs
/// <summary>
/// Delete all temporary files created during CreateRibbon
/// </summary>
Delete all temporary files created during CreateRibbon
Delete all temporary files created during CreateRibbon
void Cleanup()
        {
            foreach (string cleanupFile in this.CleanupFiles)
            {
                try
                {
                    if(File.Exists(cleanupFile))
                        File.Delete(cleanupFile);
                }
                catch(Exception ex) 
                {
                    Util.LogError(new Exception(string.Format("Cleanup fails for file '{0}'", cleanupFile), ex));
                }
            }
        }
void Cleanup ( ) { foreach ( string cleanupFile in this . CleanupFiles ) { try { if ( File . Exists ( cleanupFile ) ) File . Delete ( cleanupFile ) ; } catch ( Exception ex ) { Util . LogError ( new Exception ( string . Format ( " " , cleanupFile ) , ex ) ) ; } } }
Delete all temporary files created during CreateRibbon
Delete all temporary files created during CreateRibbon