| | |
| | | { |
| | | Console.WriteLine("OnActivated"); |
| | | base.OnActivated(application); |
| | | HDL_ON.DriverLayer.Control.Ins.SearchLoaclGateway(); |
| | | |
| | | //if (haveToSignOut == true) |
| | | //{ |
| | | ////强制下线 |
| | | //UserInfo.Current.LastTime = DateTime.MinValue; |
| | | //UserInfo.Current.headImagePagePath = "LoginIcon/2.png";//重置用户头像 |
| | | //UserInfo.Current.SaveUserInfo(); |
| | | //HDLCommon.Current.ShowAlert(Language.StringByID(StringId.LoggedOnOtherDevices)); |
| | | ////强制下线 |
| | | //UserInfo.Current.LastTime = DateTime.MinValue; |
| | | //UserInfo.Current.headImagePagePath = "LoginIcon/2.png";//重置用户头像 |
| | | //UserInfo.Current.SaveUserInfo(); |
| | | //HDLCommon.Current.ShowAlert(Language.StringByID(StringId.LoggedOnOtherDevices)); |
| | | //} |
| | | |
| | | } |