//============================================================ // <T>测试处理。</T> // // @param args 参数 //============================================================ public override void Test(SUiTestArgs args) { // 检查有效性 if (!PageControlResource.OptionValid) { return; } // 开始测试 bool result = OnTest(args); // 子控件测试 if (result) { if (_activePage != null) { // 测试分页 _activePage.Test(args); // 绘制节点 if (_components != null) { foreach (FUiComponent componment in _components) { FUiControl control = componment as FUiControl; if (control == null) { continue; } if (control is FUiPage) { continue; } control.Test(args); } } } } }