Ejemplo n.º 1
0
            private void UpdateLicensePlatesStyles()
            {
                var styles = FilesStorage.Instance.GetContentDirectories(ContentCategory.LicensePlates).ToList();

                foreach (var item in SkinItems.OfType <PaintShop.LicensePlate>())
                {
                    item.SetStyles(styles);
                }
            }
Ejemplo n.º 2
0
 public void Dispose()
 {
     SkinItems?.DisposeEverything();
     FilesStorage.Instance.Watcher(ContentCategory.LicensePlates).Update -= OnLicensePlatesChanged;
 }