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);
             */
        }
Exemple #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;
        }
Exemple #3
0
 public Master()
 {
     InitializeComponent();
     PageController = new PageController <ViewModels.Pages.Master>(this);
 }
Exemple #4
0
 public Classes()
 {
     InitializeComponent();
     PageController = new PageController <ViewModels.Pages.Classes>(this);
 }
Exemple #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);
 }
Exemple #7
0
 public Calendar()
 {
     InitializeComponent();
     PageController = new PageController <ViewModels.Pages.Calendar>(this);
 }