| | |
| | | //开启自动备份提示
|
| | | HdlAutoBackupLogic.ShowAutoBackupPromptedForm();
|
| | | }
|
| | | //显示引导界面
|
| | | ShowGuideForm(result);
|
| | | }
|
| | | //APP缓存加载完成
|
| | | UserCenterResourse.Option.AppCanSignout = true;
|
| | |
| | |
|
| | | #endregion
|
| | |
|
| | | #region ■ 引导界面___________________________
|
| | |
|
| | | /// <summary>
|
| | | /// 显示引导界面
|
| | | /// </summary>
|
| | | /// <param name="result">同步结果 -1:异常 0:已经同步过,不需要同步 1:正常同步 2:没有自动备份数据</param>
|
| | | private static void ShowGuideForm(int result)
|
| | | {
|
| | | var checkFile = System.IO.Path.Combine(Shared.IO.FileUtils.RootPath, DirNameResourse.GuideFile);
|
| | | if (System.IO.File.Exists(checkFile) == true)
|
| | | {
|
| | | //不需要显示
|
| | | return;
|
| | | }
|
| | | if (result == 2 && Config.Instance.Home.IsOthreShare == false)
|
| | | {
|
| | | HdlThreadLogic.Current.RunMain(() =>
|
| | | {
|
| | | var form = new Guide.GuideMainForm();
|
| | | form.ShowFrom();
|
| | | });
|
| | | }
|
| | |
|
| | | //创建一个空文件(标识已经完成引导)
|
| | | var file = System.IO.File.Create(checkFile);
|
| | | file.Close();
|
| | | }
|
| | |
|
| | | #endregion
|
| | |
|
| | | #region ■ 16进制转化_________________________
|
| | |
|
| | | /// <summary>
|