Пример #1
0
        public DocumentAddView()
        {
            InitializeComponent();

            SetDefaultValues();
            SetActions();

            DocumentDateDtPk.Focus();
        }
Пример #2
0
        public DocumentAddView(Document arg)
        {
            InitializeComponent();

            ViewModel   = new DocumentAddViewModel(arg);
            DataContext = ViewModel;
            SetActions();

            DocumentDateDtPk.Focus();
        }