| | |
| | | { |
| | | public class MainView |
| | | { |
| | | //public MainView(FrameLayout layout) |
| | | //{ |
| | | // automationPage = layout; |
| | | //} |
| | | //public static FrameLayout automationPage; |
| | | |
| | | public static void MainShow(FrameLayout automationPage) |
| | | /// <summary> |
| | | /// 记录逻辑自动化父控件 |
| | | /// </summary> |
| | | public static FrameLayout automationPage; |
| | | /// <summary> |
| | | /// 加载逻辑列表显示界面 |
| | | /// </summary> |
| | | public static void MainShow() |
| | | { |
| | | |
| | | automationPage.RemoveAll(); |
| | | VerticalScrolViewLayout vv = new VerticalScrolViewLayout(); |
| | | automationPage.AddChidren(vv); |
| | |
| | | automationPage.AddChidren(btnTipNotText); |
| | | } |
| | | } |
| | | /// <summary> |
| | | /// 按+跳转到逻辑界面的方法 |
| | | /// </summary> |
| | | public static void SkipAddLogicPage() |
| | | { |
| | | Logic.currlogic = new Logic(); |
| | | var addLogic = new AddLogic(); |
| | | MainPage.BasePageView.AddChidren(addLogic); |
| | | addLogic.Show(); |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |
| | | } |
| | | } |
| | | } |