Beispiel #1
0
        public Students()
        {
            InitializeComponent();
            PageController = new PageController <ViewModels.Pages.Students>(this);

            // TODO: Add student to club

            /*
             * var addStudentToolbarItem = new ToolbarItem("Add student", "ic_add_white_48dp.png", null, ToolbarItemOrder.Primary);
             * addStudentToolbarItem.SetBinding(MenuItem.CommandProperty, new Binding("AddStudentCommand"));
             * ToolbarItems.Add(addStudentToolbarItem);
             */
        }
Beispiel #2
0
        public MasterDetail()
        {
            InitializeComponent();
            PageController = new PageController <ViewModels.Pages.MasterDetail>(this);

            var masterPage = new Views.Pages.Master();

            Master = masterPage;
            Detail = new NavigationPage(new Views.Pages.Calendar());

            masterPage.MasterListView.ItemSelected += ListView_OnItemSelected;

            masterPage.ProfileTapped += Profile_OnTapped;
        }
Beispiel #3
0
 public Master()
 {
     InitializeComponent();
     PageController = new PageController <ViewModels.Pages.Master>(this);
 }
Beispiel #4
0
 public Classes()
 {
     InitializeComponent();
     PageController = new PageController <ViewModels.Pages.Classes>(this);
 }
Beispiel #5
0
 public Login()
 {
     InitializeComponent();
     PageController = new PageController <ViewModels.Pages.Login>(this);
     NavigationPage.SetHasNavigationBar(this, false);
 }
 public Evaluations()
 {
     InitializeComponent();
     PageController = new PageController<ViewModels.Pages.Evaluations>(this);
 }
Beispiel #7
0
 public Calendar()
 {
     InitializeComponent();
     PageController = new PageController <ViewModels.Pages.Calendar>(this);
 }