private void Mi_AddFolder_Click(object sender, RoutedEventArgs e) { ChangeFolder cf = new ChangeFolder(new ViewModels.WatchedFile()); if (cf.ShowDialog() == true) { addItem(cf.sourceFile); } }
private void Mi_ChangeFolder_Click(object sender, RoutedEventArgs e) { ChangeFolder cf = new ChangeFolder(selectedWF); if (cf.ShowDialog() == true) { changeItem(cf.sourceFile); //addItem(cf.sourceFile); } }