Beispiel #1
0
        public StatsEditor()
        {
            InitializeComponent();

            ListBox.ItemsSource = StatsBuilder.GetStats();

            ListBox.SelectionChanged += SelectionChanged;
        }
Beispiel #2
0
 private void Reload(object sender, RoutedEventArgs e)
 {
     ListBox.ItemsSource = StatsBuilder.GetStats();
 }
Beispiel #3
0
 private void Save(object sender, RoutedEventArgs e)
 {
     StatsBuilder.Save((List <CreatureBaseStats>)ListBox.ItemsSource);
     Reload(null, null);
 }