Ejemplo n.º 1
0
        void buildingFloorsListBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            Building_Floors bf = buildingFloorsListBox.SelectedItem as Building_Floors;

            if (bf != null)
            {
                OnBuildingFloorChanged(this, new BuildingFloorEventArgs(bf));
                //Map2D.mCurrentSelectedFloor = bf.Number;
            }

            this.NavigationService.GoBack();
        }
Ejemplo n.º 2
0
 public static Building_Floors CreateBuilding_Floors(int ID, int number, int building_ID)
 {
     Building_Floors building_Floors = new Building_Floors();
     building_Floors.ID = ID;
     building_Floors.Number = number;
     building_Floors.Building_ID = building_ID;
     return building_Floors;
 }
Ejemplo n.º 3
0
 public void AddToBuilding_Floors(Building_Floors building_Floors)
 {
     base.AddObject("Building_Floors", building_Floors);
 }
Ejemplo n.º 4
0
 public BuildingFloorEventArgs(Building_Floors bf)
 {
     this.SelectedFloor = bf;
 }