| | |
| | | UnSelectedImagePath="Item/SelectFloor_Left.png" |
| | | }; |
| | | dialog.AddChidren(bg); |
| | | if(direction==CommonForm.Direction.Right) |
| | | if (direction == CommonForm.Direction.Right) |
| | | { |
| | | bg.UnSelectedImagePath = ""; |
| | | bg.UnSelectedImagePath = "Item/SelectFloor_Right.png"; |
| | | } |
| | | |
| | | var backgroundFL = new FrameLayout |
| | |
| | | { |
| | | ((sender as Button).Parent as CommonForm.LeftIconButtonRow).IsSelected = true; |
| | | Config.Instance.Home.CurrentFloorId = (sender as Button).Tag.ToString(); |
| | | Config.Instance.Home.Save(); |
| | | FloorAction?.Invoke(Config.Instance.Home.GetCurrentFloorName); |
| | | RemoveFromParent(); |
| | | } |