示例#1
0
 public Release()
 {
     InitializeComponent();
     orgContext.GetOrganizationTree((obj) =>
     {
         if (Utility.Utility.CheckInvokeOperation(obj))
         {
             OrganizationTreeView.ItemsSource = obj.Value.Children;
             OpenFolder(FolderId);
         }
     }, null);
     InitContextMenu();
 }
示例#2
0
        public Browser()
        {
            InitializeComponent();
            orgContext.GetOrganizationTree((obj) =>
            {
                if (Utility.Utility.CheckInvokeOperation(obj))
                {
                    OrganizationTreeView.ItemsSource = obj.Value.Children;
                    OpenFolder(FolderId);
                }
            }, null);
            InitContextMenu();

            SearchFilePanel.Visibility = AuthenticateStatus.GetModuleVisibility("100101");
        }
 // 当用户导航到此页面时执行。
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     orgContext.GetOrganizationTree(OnGetOrgnizationTreeCompleted, null);
 }
 public WindowSelectOrg()
 {
     InitializeComponent();
     orgContext.GetOrganizationTree(OnGetOrgTreeCompleted, null);
 }