public void MakeWWPKBK(object sender, RoutedEventArgs e) { viewModel.SetWWPKBK(new WWPKBKFile()); PKBKString strin = new PKBKString(""); viewModel.AddPath(strin); }
private void AddEntry(object sender, RoutedEventArgs e) { if (viewModel.wwpkbk != null) { PKBKString strin = new PKBKString(""); viewModel.AddPath(strin); } else { MessageBox.Show("File not Loaded!"); } }
public void AddPath(PKBKString path) { wwpkbk.paths.Add(path); OnPropertyChanged("pkbk"); }