Esempio n. 1
0
 public SecondFloor()
 {
     this.InitializeComponent();
     this.activityQueryHandler = new ActivityQueryHandler();                                     //to store button name
     DisplayInformation.AutoRotationPreferences = DisplayOrientations.Landscape;                 //Rotates screen (only for mobile)
     activityQueryHandler.CurrentFloorGetSet    = ActivityQueryHandler.CurrentFloor.secondfloor; //Changes enum to keep track of the current selected floor
 }
 ActivityQueryHandler activityQueryHandler; //To create the queries and display the text (query results) on the screen
 public ActivityPopup()
 {
     this.InitializeComponent();
     this.activityQueryHandler = new ActivityQueryHandler();
     MakeQueriesAndTextBlocks(); //As soon as the page is loaded, the query results are drawn on it on runtime (dynamic)
 }