コード例 #1
0
        void OnItemPropertyChanged(object sender, PropertyChangedEventArgs e)
        {
            CmdrIcon item = sender as CmdrIcon;

            if (item != null)
            {
                ModifiedItems.Add(item);
            }
        }
コード例 #2
0
 public DSdyn()
 {
     //CmdrIcons.CollectionChanged += CmdrIconsChanged;
     //foreach (string race in DSdata.s_races)
     foreach (string race in DSdata.s_races_cmdr)
     {
         CmdrIcon icon = new CmdrIcon(race, false);
         CmdrIcons.Add(icon);
     }
 }