| | |
| | | //移除当前界面 |
| | | 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) |