public FileNameDialog(FileNameDialogM model, String fileName) { InitializeComponent(); viewModel = new FileNameDialogVM(model, fileName); DataContext = this.viewModel; }
public FileNameDialogVM(FileNameDialogM dialogModel, String fileName) { this.dialogModel = dialogModel; this.FileName = fileName; originalName = fileName; }