Esempio n. 1
0
        /// <summary>
        /// 数据刷新
        /// </summary>
        /// <param name="folder"></param>
        public void RefleshSpaceData(BreadLine bread_Line)
        {
            try
            {
                //面包线是否为null
                if (bread_Line == null)
                {
                    return;
                }
                if (bread_Line.Folder != null)
                {
                    //等待提示
                    this.ShowTip();
                    this.listView.Items.Clear();
                    //获取文件夹
                    SPVirtualFolder folder = bread_Line.Folder;

                    TimerJob.StartRun_Sync(new Action(() =>
                    {
                        DataLoad_All(folder.Folders, folder.Files);
                    }));
                }
            }
            catch (Exception ex)
            {
                LogManage.WriteLog(this.GetType(), ex);
            }
        }