JLChen
2020-04-03 be95e839f40eb3ddf64706b60cba6dfcf4fad5e5
Crabtree/SmartHome/UI/SimpleControl/Phone/Register/Databackup.cs
@@ -118,7 +118,7 @@
                                    System.IO.FileInfo fileInfo = new System.IO.FileInfo (IO.FileUtils.RootPath + fileName);
                                    if (fileInfo.Exists) {
                                        fileInfo.MoveTo (oldRegionRootPath + fileName);
                                        Console.WriteLine ("move file : " + fileName);
                                        Utlis.WriteLine ("move file : " + fileName);
                                    }
                                    index++;
                                    Application.RunOnMainThread (() => {
@@ -147,7 +147,7 @@
                                    new Alert ("", Language.StringByID (R.MyInternationalizationString.CheckInternet),
                                               Language.StringByID (R.MyInternationalizationString.Close)).Show ();
                                });
                                Console.WriteLine (ex.Message);
                                Utlis.WriteLine (ex.Message);
                            } finally {
                                Application.RunOnMainThread (() => {
                                    MainPage.Loading.Hide ();
@@ -619,7 +619,7 @@
                    Shared.Application.RunOnMainThread (() => {
                        new Alert ("", Language.StringByID (R.MyInternationalizationString.CheckInternet),
                                   Language.StringByID (R.MyInternationalizationString.Close)).Show ();
                        Console.WriteLine (ex.Message);
                        Utlis.WriteLine (ex.Message);
                    });
                } finally {
                    Shared.Application.RunOnMainThread (() => {
@@ -904,7 +904,7 @@
                                new Alert ("", Language.StringByID (R.MyInternationalizationString.CheckInternet),
                                           Language.StringByID (R.MyInternationalizationString.Close)).Show ();
                            });
                            Console.WriteLine (ex.ToString());
                            Utlis.WriteLine (ex.ToString());
                        } finally {
                            Shared.Application.RunOnMainThread (() => {
                                MainPage.Loading.Hide ();