Esempio n. 1
0
 private void OnIconFiles_ListChanged(object sender, ListChangedEventArgs e)
 {
     switch (e.ListChangedType)
     {
     case ListChangedType.ItemAdded:
         IconFile newIcon = m_iconFiles[e.NewIndex];
         break;
     }
 }
Esempio n. 2
0
 public IconFileContainer()
 {
     m_iconFiles = new ObservableCollection <IconFile>();
     m_iconFiles.CollectionChanged += OnIconFiles_CollectionChanged;
     m_selectedIcon = null;
 }