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