Esempio n. 1
0
        /// <summary>
        /// 获取服务文件列表
        /// </summary>
        private void GetServerDownloadList()
        {
            if (_proxy != null)
            {
                string[] strFile = _proxy.GetFilesList();

                for (int i = 0; i < strFile.Length; i++)
                {
                    DataRow type = _downloadfiles.NewRow();
                    type["文件路径"] = strFile[i];
                    try
                    {
                        _downloadfiles.Rows.Add(type);
                    }
                    catch { continue; }
                }
            }
        }