Ejemplo n.º 1
0
        private void DoCottagerCmd()
        {
            CottagerView      cottagerView      = new CottagerView();
            CottagerViewModel cottagerViewModel = new CottagerViewModel(_UnitOfWork, _MonthList, _selectedMonthId, cottagerView);

            cottagerView.DataContext = cottagerViewModel;

            cottagerView.ShowDialog();

            if (cottagerView.DialogResult.HasValue && cottagerView.DialogResult.Value)
            {
            }

            RefreshList(_selectedMonthId);
        }
Ejemplo n.º 2
0
        private void DoCottagerCmd()
        {
            CottagerView cottagerView = new CottagerView();
            CottagerViewModel cottagerViewModel = new CottagerViewModel(_UnitOfWork, _MonthList, _selectedMonthId, cottagerView);
            cottagerView.DataContext = cottagerViewModel;

            cottagerView.ShowDialog();

            if (cottagerView.DialogResult.HasValue && cottagerView.DialogResult.Value)
            {
             
            }

            RefreshList(_selectedMonthId);

        }