Beispiel #1
0
        /// <summary>
        /// 注销后重新登录
        /// </summary>
        public async void Logout()
        {
            // 先停止接收,再清空用户信息
            PushHandler.StopRecvPush();
            // 注销时清空用户信息
            Kit.ResetUser();

            AtState.DeleteCookie("LoginPhone");
            AtState.DeleteCookie("LoginPwd");

            await Kit.Stub.OnLogout();

            Startup.ShowLogin(false);
        }
Beispiel #2
0
 void OnClear(object sender, RoutedEventArgs e)
 {
     AtState.DeleteCookie("FileTransDemo");
     _fl.Data = null;
 }