old mode 100755
new mode 100644
| | |
| | | /// 关闭所有打开了的界面
|
| | | /// </summary>
|
| | | /// <param name="tagetFrom">目标界面,如果指定了的话,则关闭目标界面上层的全部界面(它自身不关闭)</param>
|
| | | public static void CloseAllOpenForm(string tagetFrom = "")
|
| | | public static void CloseAllOpenForm(string tagetFrom = null)
|
| | | {
|
| | | while (UserView.HomePage.Instance.ChildrenCount > 0)
|
| | | {
|
| | | var view = UserView.HomePage.Instance.GetChildren(UserView.HomePage.Instance.ChildrenCount - 1);
|
| | | //(因底层控件修改了, 父控件移除时, 不触发子控件的移除事件)
|
| | | //(因底层控件修改了, 父控件移除时, 不触;发子控件的移除事件)
|
| | | if (view is ViewGroup)
|
| | | {
|
| | | //关闭加载在ViewGroup里面的自定义界面Form
|