Esempio n. 1
0
 public DisplayCalendarView(string username)
 {
     displayCalendarViewModel = new DisplayCalendarViewModel();
     displayCalendarViewModel.SetLoggedUser(username);
     InitializeComponent();
     this.DataContext = displayCalendarViewModel;
 }
Esempio n. 2
0
 public void HasValidConstructor()
 {
     DisplayCalendarViewModel viewModel = new DisplayCalendarViewModel();
 }
 public DisplayCalendarView()
 {
     _displayCalendarViewModel = new DisplayCalendarViewModel();
     InitializeComponent();
     this.DataContext = _displayCalendarViewModel;
 }
        public static void HasValidConstructor()
        {
            DisplayCalendarViewModel viewModel = new DisplayCalendarViewModel();

            Assert.NotNull(viewModel);
        }