/// <summary> /// Creates the default image lists /// </summary> /// <returns></returns> public static ResourceIconCache CreateDefault() { var icons = new ResourceIconCache(); //TODO: Externalize icons._small.Images.Add(ResourceTypes.DrawingSource.ToString(), Properties.Resources.blueprints); icons._small.Images.Add(ResourceTypes.FeatureSource.ToString(), Properties.Resources.database_share); icons._small.Images.Add(ResourceTypes.Folder.ToString(), Properties.Resources.folder_horizontal); icons._small.Images.Add(ResourceTypes.LayerDefinition.ToString(), Properties.Resources.layer); icons._small.Images.Add(ResourceTypes.MapDefinition.ToString(), Properties.Resources.map); icons._small.Images.Add(ResourceTypes.WebLayout.ToString(), Properties.Resources.application_browser); icons._small.Images.Add(ResourceTypes.ApplicationDefinition.ToString(), Properties.Resources.applications_stack); icons._small.Images.Add(ResourceTypes.SymbolLibrary.ToString(), Properties.Resources.images_stack); icons._small.Images.Add(ResourceTypes.PrintLayout.ToString(), Properties.Resources.printer); icons._small.Images.Add(ResourceTypes.TileSetDefinition.ToString(), Properties.Resources.grid); icons._small.Images.Add(Properties.Resources.document); icons._large.Images.Add(ResourceTypes.DrawingSource.ToString(), Properties.Resources.blueprints); icons._large.Images.Add(ResourceTypes.FeatureSource.ToString(), Properties.Resources.database_share); icons._large.Images.Add(ResourceTypes.Folder.ToString(), Properties.Resources.folder_horizontal); icons._large.Images.Add(ResourceTypes.LayerDefinition.ToString(), Properties.Resources.layer); icons._large.Images.Add(ResourceTypes.MapDefinition.ToString(), Properties.Resources.map); icons._large.Images.Add(ResourceTypes.WebLayout.ToString(), Properties.Resources.application_browser); icons._large.Images.Add(ResourceTypes.ApplicationDefinition.ToString(), Properties.Resources.applications_stack); icons._large.Images.Add(ResourceTypes.SymbolLibrary.ToString(), Properties.Resources.images_stack); icons._large.Images.Add(ResourceTypes.PrintLayout.ToString(), Properties.Resources.printer); icons._large.Images.Add(ResourceTypes.TileSetDefinition.ToString(), Properties.Resources.grid); icons._large.Images.Add(Properties.Resources.document); return(icons); }
/// <summary> /// Creates the default image lists /// </summary> /// <returns></returns> public static ResourceIconCache CreateDefault() { var icons = new ResourceIconCache(); //TODO: Externalize icons._small.Images.Add(ResourceTypes.DrawingSource.ToString(), Properties.Resources.blueprints); icons._small.Images.Add(ResourceTypes.FeatureSource.ToString(), Properties.Resources.database_share); icons._small.Images.Add(ResourceTypes.Folder.ToString(), Properties.Resources.folder_horizontal); icons._small.Images.Add(ResourceTypes.LayerDefinition.ToString(), Properties.Resources.layer); icons._small.Images.Add(ResourceTypes.MapDefinition.ToString(), Properties.Resources.map); icons._small.Images.Add(ResourceTypes.WebLayout.ToString(), Properties.Resources.application_browser); icons._small.Images.Add(ResourceTypes.ApplicationDefinition.ToString(), Properties.Resources.applications_stack); icons._small.Images.Add(ResourceTypes.SymbolLibrary.ToString(), Properties.Resources.images_stack); icons._small.Images.Add(ResourceTypes.PrintLayout.ToString(), Properties.Resources.printer); icons._small.Images.Add(Properties.Resources.document); icons._large.Images.Add(ResourceTypes.DrawingSource.ToString(), Properties.Resources.blueprints); icons._large.Images.Add(ResourceTypes.FeatureSource.ToString(), Properties.Resources.database_share); icons._large.Images.Add(ResourceTypes.Folder.ToString(), Properties.Resources.folder_horizontal); icons._large.Images.Add(ResourceTypes.LayerDefinition.ToString(), Properties.Resources.layer); icons._large.Images.Add(ResourceTypes.MapDefinition.ToString(), Properties.Resources.map); icons._large.Images.Add(ResourceTypes.WebLayout.ToString(), Properties.Resources.application_browser); icons._large.Images.Add(ResourceTypes.ApplicationDefinition.ToString(), Properties.Resources.applications_stack); icons._large.Images.Add(ResourceTypes.SymbolLibrary.ToString(), Properties.Resources.images_stack); icons._large.Images.Add(ResourceTypes.PrintLayout.ToString(), Properties.Resources.printer); icons._large.Images.Add(Properties.Resources.document); return icons; }