Exemplo n.º 1
0
        public ActivityControl(int Id, string ActivityName, string Description, string Date, string Time, ActivitiesPage activityPage)
        {
            InitializeComponent();

            this.Id           = Id;
            this.ActivityName = ActivityName;
            this.Description  = Description;
            this.Date         = Date;
            this.Time         = Time;
            this.activityPage = activityPage;
            InitializeInformation();
        }
 private void navigateActivitiesPage(object sender, RoutedEventArgs e)
 {
     btn_sideMenu.IsChecked    = false;
     SideMenu.IsLeftDrawerOpen = false;
     pageLabel.Text            = "Administrator > Dashboard > Activities";
     if (activitiesPage == null)
     {
         activitiesPage        = new ActivitiesPage(this);
         PageContainer.Content = activitiesPage;
     }
     else
     {
         PageContainer.Content = activitiesPage;
     }
 }