| | |
| | | }; |
| | | topView.AddChidren(title); |
| | | |
| | | var back = new Device.CommonForm.BackButton() { };
topView.AddChidren(back); |
| | | var back = new UserCenter.BackViewControl();
topView.AddChidren(back); |
| | | back.InitControl(); |
| | | |
| | | back.MouseUpEventHandler += (sender, e) => |
| | | back.ButtonClickEvent += (sender, e) => |
| | | { |
| | | this.RemoveFromParent(); |
| | | }; |
| | |
| | | }; |
| | | this.AddChidren(midFl); |
| | | |
| | | |
| | | int k = 0; |
| | | for (int j = 0; j < 3; j++) |
| | | for (int j = 0; j < 11; j++) |
| | | { |
| | | var itemView = new FrameLayout() |
| | | { |
| | |
| | | Y = Application.GetRealHeight(58), |
| | | Width = Application.GetRealWidth(467), |
| | | Height = Application.GetRealHeight(311), |
| | | ImagePath = $"RoomIcon/{k}.JPG", |
| | | ImagePath = $"RoomIcon/{k}.jpg", |
| | | Radius = (uint)Application.GetRealHeight(17) |
| | | }; |
| | | itemView.AddChidren(icon); |