public MonthView()
        {
            // Required to initialize variables
            InitializeComponent();

            //start on the current month
            viewModel = new CommunityCalender.ViewModels.MonthViewModel();
            this.DataContext = viewModel;
        }
 public void TestSetup()
 {
     monthViewModel = new MonthViewModel();
 }
 /// <summary>
 /// Callback for the authentication call. Displays a control based on the 
 /// login status of the user
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void clientProxy_IsLoggedInCompleted(object sender, CommunityCalender.AuthenticationService.IsLoggedInCompletedEventArgs e)
 {
     if (e.Result == true)
     {
         MonthViewModel model = new MonthViewModel();
         model.UserGreeting = "Hi there ";
         SetActiveView(ApplicationPage.MonthView, model);
     }
     else
         SetActiveView(ApplicationPage.MonthView, null);
 }