public DocumentAddView() { InitializeComponent(); SetDefaultValues(); SetActions(); DocumentDateDtPk.Focus(); }
public DocumentAddView(Document arg) { InitializeComponent(); ViewModel = new DocumentAddViewModel(arg); DataContext = ViewModel; SetActions(); DocumentDateDtPk.Focus(); }