示例#1
0
        public StatsEditor()
        {
            InitializeComponent();

            ListBox.ItemsSource = StatsBuilder.GetStats();

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