Ejemplo n.º 1
0
        public Login()
        {
            InitializeComponent();

            //client.GetFlowUserInfoByRoleIDAsync("1b694223-19cf-48e3-93bd-7746021396c0");
            client.GetSysLeftMenuFilterPermissionToNewFrameAsync("DAD32DB2-B07A-49b1-9710-61158D81B863");

            client.GetSystemTypeByUserIDAsync("DAD32DB2-B07A-49b1-9710-61158D81B863", "");
            //client.GetSysLeftMenuFilterPermissionToNewFrameAsync("bfd9528c-1f4e-4b06-b9f8-704364d04f56");
            this.Loaded += new RoutedEventHandler(Login_Loaded);
            organClient.GetCompanyAllCompleted    += new EventHandler <GetCompanyAllCompletedEventArgs>(organClient_GetCompanyAllCompleted);
            organClient.GetDepartmentAllCompleted += new EventHandler <GetDepartmentAllCompletedEventArgs>(organClient_GetDepartmentAllCompleted);
            organClient.GetPostAllCompleted       += new EventHandler <GetPostAllCompletedEventArgs>(organClient_GetPostAllCompleted);
            //organClient.GetCompanyAllAsync("");
            //client.GetUserByEmployeeIDAsync("f12547ca-f2c5-44d5-aee1-f65cfb36761e");
            //client.GetSysLeftMenuFilterPermissionToNewFrameAndPermissionAsync("39e1cd45-5b9f-4958-b0fd-0bec222d22b5", "0");
            client.GetSysLeftMenuFilterPermissionToNewFrameAndPermissionCompleted += new EventHandler <GetSysLeftMenuFilterPermissionToNewFrameAndPermissionCompletedEventArgs>(client_GetSysLeftMenuFilterPermissionToNewFrameAndPermissionCompleted);

            //client.GetSysLeftMenuFilterPermissionToNewFrameAsync("4f07bde7-050e-42eb-ab3d-3852a3b64b3d");
            //ObservableCollection<string> ListDict = new ObservableCollection<string>(); //字典列表
            //ListDict.Add("SYSTEMTYPE");
            //client.GetDictionaryByCategoryArrayAsync(ListDict);
            //this.OKButton.IsEnabled = false;
            //fileclient.DownloadCompleted += new EventHandler<DownloadCompletedEventArgs>(fileclient_DownloadCompleted);
            //fileclient.DownloadAsync(@"http://portal.smt-online.net/Services/System\UpLoadFiles\集团本部\Platform\News\胡主席与黄总等企业家合影(胡锦涛主席右后方第二人为黄文辉董事长).jpg");
            //client.GetUserPermissionByUserToUICompleted += new EventHandler<GetUserPermissionByUserToUICompletedEventArgs>(client_GetUserPermissionByUserToUICompleted);
            //client.GetUserPermissionByUserToUIAsync("2ec631ed-0fc0-4b7f-a86c-28581eeab068");
            //client.GetSysLeftMenuFilterPermissionToNewFrameAsync("d532b00b-b199-46e8-9c39-2e0d2fcd2a02");
            //client.getFbAdminByEmployeeIDAsync("18c76f63-d069-49a5-9a03-4969fc0acf15");
            //client.UserLoginAsync("ceshi1","aaa");
        }
Ejemplo n.º 2
0
 private void CancelButton_Click(object sender, RoutedEventArgs e)
 {
     client.GetSysLeftMenuFilterPermissionToNewFrameAsync("85b414ab-87b3-4740-aef4-1d89f3f380cc");
     //DialogResult = false;
 }
Ejemplo n.º 3
0
 public void GetUserMenu(string sysUserID)
 {
     _client.GetSysLeftMenuFilterPermissionToNewFrameAsync(sysUserID);
 }