示例#1
0
        private void ShowDayCosts(object parameter)
        {
            if (SelectedCost != null)
            {
                var dayCostsView = new DayCostsView(SelectedCost.Date);
                dayCostsView.ShowDialog();

                _costs.Clear();
                _costs = BC.GetInfoCosts(SelectedYear, SelectedMonth).ToList();
                Filter();

                BC.RefreshContext();
            }
        }
示例#2
0
        private void DayCosts_OnClick(object sender, RoutedEventArgs e)
        {
            var costView = new DayCostsView(DateTime.Now);

            costView.ShowDialog();
        }