| | |
| | | |
| | | namespace Shared.Phone.Device.CommonForm |
| | | { |
| | | public class SelectZone : FrameLayout |
| | | public class SelectZone |
| | | { |
| | | public Action<Common.Room> ZoneAction; |
| | | |
| | |
| | | { |
| | | curRoom = rooms[index1][index2]; |
| | | ZoneAction?.Invoke(curRoom); |
| | | RemoveFromParent(); |
| | | //RemoveFromParent(); |
| | | }, 0, 0, Language.StringByID(R.MyInternationalizationString.BelongFloor), |
| | | Language.StringByID(R.MyInternationalizationString.Confrim), |
| | | Language.StringByID(R.MyInternationalizationString.Cancel)); |
| | |
| | | { |
| | | curRoom = rs[index1]; |
| | | ZoneAction?.Invoke(curRoom); |
| | | RemoveFromParent(); |
| | | }, 0, Language.StringByID(R.MyInternationalizationString.BelongFloor), |
| | | //RemoveFromParent(); |
| | | }, 0, Language.StringByID(R.MyInternationalizationString.AddTo), |
| | | Language.StringByID(R.MyInternationalizationString.Confrim), |
| | | Language.StringByID(R.MyInternationalizationString.Cancel)); |
| | | } |
| | |
| | | roomList.Add(room.Name); |
| | | roomIdList.Add(room.Id); |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// <param name="mouseEventArgs"></param> |
| | | private void Close(object sender, MouseEventArgs mouseEventArgs) |
| | | { |
| | | RemoveFromParent(); |
| | | //RemoveFromParent(); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// <param name="mouseEventArgs"></param> |
| | | private void Confrim_MouseEvent(object sender, MouseEventArgs mouseEventArgs) |
| | | { |
| | | ZoneAction?.Invoke(curRoom); |
| | | RemoveFromParent(); |
| | | //ZoneAction?.Invoke(curRoom); |
| | | //RemoveFromParent(); |
| | | } |
| | | } |
| | | } |