After a disappointing result on Good Friday against Mansfield, the Chairboys bounced back quickly thanks to goals from Sam Saunders and Joe Jacobson; cutting the gap between them and the play-offs to just two points with three left to play.
With superb performances on show in all areas of the pitch, the manager is looking build on the win at the Hive and take maximum points in the run-in.
"Today we deserved what we were given," Ainsworth said speaking after the match.
"We deserved it because we've got a fantastic goalkeeper in the goal and he's made a fantastic save at 1-0 which possibly no other keeper in the league can do.
"With his reach he is such a big unit in goal, but he is so agile and what a tip on to the post that was, and that's what he's there for.
"But I thought the boys defended well, we had a change of shape second half because Barnet changed theirs and came at us, and everything worked out today and I'm really pleased.
"A moment of genius from Sam earlier on in the game - what a goal that was, and JJ tucked his penalty away.
"So it's pleasing, but focus now is on Doncaster, I really want to put a performance in there, and let's try and make these play-offs."
The League Two leaders are up next at Adams Park this Saturday, and Rovers will be looking to go one-step closer to the title with a win.
So with both teams with everything to play for, it's got the real ingredients for a tasty affair, though Gareth believes with only one defeat in six against the division's top three teams in all competitions, his team have got what it takes to win the game after two strong performances over the Easter weekend.
"We did everything but stick it in the net on Friday and today we deserved that," he added.
"We've really worked hard in both games and I'm pleased to get a win today, it was important.
"The play-off dream is still alive and I'm sure if we win our three games we'll be in those play-offs, and that's the intention with some tough tests coming up.
"I really believe we have got it in us to win those three, but all I want to do now is get the boys rested and have a good look at Doncaster.
"We know we're in for a tough game, but it's just like Wycombe to do it the hard way."
Back the Chairboys this Saturday vs Doncaster Rovers at Adams Park! - Click here for ticket information