| | |
| | | /// </summary> |
| | | /// <param name="isGuide">是否Guide</param> |
| | | /// <param name="bFromLogin">是否来自登录界面</param> |
| | | public static void Init (bool isGuide = false, bool bFromLogin = false) |
| | | public static void Init (bool isGuide = false, bool bFromLogin = false,bool logout = true) |
| | | { |
| | | if (MainPage.LoginUser == null) |
| | | MainPage.LoginUser = Newtonsoft.Json.JsonConvert.DeserializeObject<UserInfo> (System.Text.Encoding.UTF8.GetString (Shared.IO.FileUtils.ReadFile (UserInfo.GlobalRegisterFile))); |
| | |
| | | |
| | | UserHomePage.FrameLayoutMain.AddChidren (guidePageView); |
| | | var guide = new GuideAddResidence (); |
| | | guide.IsHideBack = true; |
| | | guide.IsHideBack = logout; |
| | | guidePageView.AddChidren (guide); |
| | | |
| | | guide.ShowHomeView (true); |