예제 #1
0
 public FileNameDialog(FileNameDialogM model, String fileName)
 {
     InitializeComponent();
     viewModel   = new FileNameDialogVM(model, fileName);
     DataContext = this.viewModel;
 }
예제 #2
0
 public FileNameDialogVM(FileNameDialogM dialogModel, String fileName)
 {
     this.dialogModel = dialogModel;
     this.FileName    = fileName;
     originalName     = fileName;
 }