public FinanceViewModel() { this.TodayCommand = new ReallyCommand(new Action(this.Today)); this.YesterdayCommand = new ReallyCommand(new Action(this.Yesterday)); this.LastWeekCommand = new ReallyCommand(new Action(this.LastWeek)); this.LastMonthCommand = new ReallyCommand(new Action(this.LastMonth)); this.FilterNowCommand = new ReallyCommand(new Action(this.FilterNow)); this.SetOneWinCommand = new ReallyCommand <ForkHistory>(new Action <ForkHistory>(this.SetOneWin)); this.SetTwoWinCommand = new ReallyCommand <ForkHistory>(new Action <ForkHistory>(this.SetTwoWin)); this.DeleteCommand = new ReallyCommand(new Action <object>(this.Delete)); this._bd = ForksHistoryBase.Load(); this.Today(); }