public AddTaskWindow(TermsheetViewModel termsheetVM) { _addTaskViewModel = new AddTaskViewModel(); _termsheetVM = termsheetVM; InitializeComponent(); DataContext = _addTaskViewModel; }
public TermsheetUC(TermsheetViewModel viewModel) { _termsheetVM = viewModel; Init(); }