Beispiel #1
0
        void PermClient_SysUserLoginHistoryRecordInfoAddCompleted(object sender, SysUserLoginHistoryRecordInfoAddCompletedEventArgs e)
        {
            if (!e.Cancelled)
            {
                if (e.Result)
                {
                    //Common.CurrentConfig.CurrentUser = null;

                    //Common.CurrentConfig.CurrentEmpploy = null;
                    //Common.CurrentConfig.CurrentUser = null;
                    //Common.CurrentConfig.CurrentPermissions = null;
                    HtmlWindow html = HtmlPage.Window;
                    html.Navigate(new Uri("http://localhost:1604/PermissionService.svc"));
                    //html.Navigate(new Uri("/Views/SysRole"));
                }
            }
        }
Beispiel #2
0
 void PermClient_SysUserLoginHistoryRecordInfoAddCompleted(object sender, SysUserLoginHistoryRecordInfoAddCompletedEventArgs e)
 {
     if (!e.Cancelled)
     {
         if (e.Result)
         {
             //Common.CurrentConfig.CurrentUser = null;
             
             //Common.CurrentConfig.CurrentEmpploy = null;
             //Common.CurrentConfig.CurrentUser = null;
             //Common.CurrentConfig.CurrentPermissions = null;
             HtmlWindow html = HtmlPage.Window;
             html.Navigate(new Uri("http://localhost:1604/PermissionService.svc"));
             //html.Navigate(new Uri("/Views/SysRole"));
         }
     }
 }