Beispiel #1
0
 private void btnSave_Click(object sender, RoutedEventArgs e)
 {
     AILoader loader = new AILoader();
     loader.SaveToFile(mRules, Name);
 }
Beispiel #2
0
 private void btnLoad_Click(object sender, RoutedEventArgs e)
 {
     AILoader saved = new AILoader();
     mRules = saved.LoadFromFile(Name);
     list.DataContext = mRules;
 }