コード例 #1
0
 void client_GetPostByEntityPermCompleted(object sender, GetPostByEntityPermCompletedEventArgs e)
 {
     if (e.Result != null)
     {
         List <T_HR_POST> entlist = e.Result.ToList();
         UICache.CreateCache("SYS_PostInfo", entlist);
     }
     BindPosition();
 }
コード例 #2
0
ファイル: OrgnizationTreeAll.xaml.cs プロジェクト: JuRogn/OA
        void client_GetPostByEntityPermCompleted(object sender, GetPostByEntityPermCompletedEventArgs e)
        {
            try
            {
                if (e.Error == null)
                {

                    if (e.Result != null)
                    {
                        List<T_HR_POST> entlist = e.Result.ToList();
                        UICache.CreateCache("SYS_PostInfo", entlist);
                    }
                    BindPosition();
                }
            }
            catch (Exception ex)
            {
            }
            loadbar.Stop();
        }
コード例 #3
0
ファイル: OrganizationTree.xaml.cs プロジェクト: JuRogn/OA
 void client_GetPostByEntityPermCompleted(object sender, GetPostByEntityPermCompletedEventArgs e)
 {
     if (e.Result != null)
     {
         List<T_HR_POST> entlist = e.Result.ToList();
         UICache.CreateCache("SYS_PostInfo", entlist);
     }
     BindPosition();
 }