public DashBoard() { InitializeComponent(); opened = false; viewModel = new DashBoardViewModel(); this.DataContext = viewModel; previousButton = btnShowClients; UnpaidQuotationCountChanged += DashBoardViewModel_UnpaidQuotationCountChanged; OnUnpaidQuotationChanged(); dashBoard = this; }
public DashBoard() { InitializeComponent(); opened = false; viewModel = new DashBoardViewModel(); this.DataContext = viewModel; previousButton = btnShowPeople; BirthDayCountChanged += DashBoardViewModel_BirthDayCountCountChanged; OnBirthDayCountChanged(); dashBoard = this; //var m = new TextBlock(); }