| | |
| | | FrameLayout frameLayout = new FrameLayout |
| | | { |
| | | Y = Application.GetRealHeight(64 + 84), |
| | | Height = Application.GetRealHeight(667 - 64 - 84), |
| | | Height = Application.GetRealHeight(667 - 64 - 84-104), |
| | | Width = Application.GetRealWidth(TextSize.view375), |
| | | }; |
| | | this.AddChidren(frameLayout); |
| | |
| | | //移除当前界面 |
| | | this.RemoveFromParent(); |
| | | //可能之前已经存在该界面 |
| | | Method.RemoveView("AddControlComplete"); |
| | | PirMethod.RemoveView("AddControlComplete"); |
| | | AddControlComplete addControlComplete = new AddControlComplete(); |
| | | MainPage.BasePageView.AddChidren(addControlComplete); |
| | | addControlComplete.Show(control, false); |
| | |
| | | View.Buttons buttons = new View.Buttons(); |
| | | buttons.AddButton2(vv, control.status, (obj) => |
| | | { |
| | | Method.ThreadSend(control, (responsePackNew) => |
| | | PirMethod.ThreadSend(control, (responsePackNew) => |
| | | { |
| | | var buttonObj = control.status.Find((c) => c.value == obj.value); |
| | | if (buttonObj != null) |