| | |
| | | var library = libraryList[index]; |
| | | var control = GetControl(spk, testBtn.TextID, library); |
| | | Method method = new Method(); |
| | | method.ThreadAddControl(control, this, true); |
| | | method.ThreadAddControl(control, this,(control1) => { |
| | | MainPage.BasePageView.RemoveViewByTag("PirView"); |
| | | AddControlComplete addControlComplete = new AddControlComplete(); |
| | | MainPage.BasePageView.AddChidren(addControlComplete); |
| | | addControlComplete.Show(control1,true); |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |
| | | }); |
| | | |
| | | } |
| | | }; |
| | |
| | | int textValue = 0; |
| | | switch (spk) |
| | | { |
| | | case SPK.AcStandard: |
| | | case SPK.AcIr: |
| | | { |
| | | switch (code) |
| | | { |