freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

在線升級服務(wù)的設(shè)計與實現(xiàn)畢業(yè)論文-資料下載頁

2025-06-19 01:10本頁面
  

【正文】 } } region 獲取服務(wù)器圖標 /// 給出文件擴展名(.*),返回相應(yīng)圖標 /// 若不以.開頭則返回文件夾的圖標。 public Icon GetIconByFileType(string fileType, bool isLarge) { if (fileType == null || ()) return null。 RegistryKey regVersion = null。 string regFileType = null。 string regIconString = null。 string systemDirectory = + \\。 if (fileType[0] == 39。.39。) { //讀系統(tǒng)注冊表中文件類型信息 regVersion = (fileType, true)。 if (regVersion != null)成都大學(xué)??飘厴I(yè)論文(設(shè)計)19 { regFileType = () as string。 ()。 regVersion = (regFileType + @\DefaultIcon, true)。 if (regVersion != null) { regIconString = () as string。 ()。 } } if (regIconString == null) { //沒有讀取到文件類型注冊信息,指定為未知文件類型的圖標 regIconString = systemDirectory + ,0。 } } else { //直接指定為文件夾圖標 regIconString = systemDirectory + ,3。 } string[] fileIcon = (new char[] { 39。,39。 })。 if ( != 2) { //系統(tǒng)注冊表中注冊的標圖不能直接提取,則返回可執(zhí)行文件的通用圖標 fileIcon = new string[] { systemDirectory + , 2 }。 } Icon resultIcon = null。 try { //調(diào)用API方法讀取圖標 int[] phiconLarge = new int[1]。 int[] phiconSmall = new int[1]。 uint count = (fileIcon[0], (fileIcon[1]), phiconLarge, phiconSmall, 1)。 IntPtr IconHnd = new IntPtr(isLarge ? phiconLarge[0] : phiconSmall[0])。 resultIcon = (IconHnd)。 } catch { fileIcon = new string[] { systemDirectory + , 2 }。20 //調(diào)用API方法讀取圖標 int[] phiconLarge = new int[1]。 int[] phiconSmall = new int[1]。 uint count = (fileIcon[0], (fileIcon[1]), phiconLarge, phiconSmall, 1)。 IntPtr IconHnd = new IntPtr(isLarge ? phiconLarge[0] : phiconSmall[0])。 resultIcon = (IconHnd)。 } return resultIcon。 } endregion //獲取服務(wù)器的圖標 public void getFTPServerICO(ImageList il, string ftpip, string user, string pwd, ListView lv, string path) { try { string[] a。 ()。 ()。 if ( == 0) a = GetFileList(ftpip, user, pwd)。 else a = GetFileList(ftpip + / + ((/)), user, pwd)。 if (a != null) { for (int i = 0。 i 。 i++) { string[] b = a[i].ToString().Split(39。 39。)。 string filename = b[ 1]。 string filetype = 。 if (a[i].IndexOf(DIR) != 1) { filetype = filename。 } else { filetype = ((.), (.))。成都大學(xué)??飘厴I(yè)論文(設(shè)計)21 } (GetIconByFileType(filetype, true))。 string[] info = new string[4]。 FileInfo fi = new FileInfo(filename)。 info[0] = 。 info[1] = GetFileSize(filename, ftpip, user, pwd, path).ToString()。 if (a[i].IndexOf(DIR) != 1) { info[2] = 。 info[1] = 文件夾。 } else { info[2] = GetFileSize(filename, ftpip, user, pwd, path).ToString()。 info[1] = ()。 } ListViewItem item = new ListViewItem(info, i)。 (item)。 } } } catch { } } public static string AllPath = 。 public void GetPath(string path, ImageList imglist, ListView lv, int ppath) { string pp = 。 string uu = 。 if (ppath == 0) { if (AllPath != path) { ()。 AllPath = path。 GetListViewItem(AllPath, imglist, lv)。 } } else { uu = AllPath + path。22 if ((uu)) { AllPath = AllPath + path + \\。 pp = (0, 1)。 ()。 GetListViewItem(pp, imglist, lv)。 } else { uu = AllPath + path。 (uu)。 } } } //返回服務(wù)器上級目錄 int k = 0。 public void GOBack(ListView lv, ImageList il, string path) { if ( != 3) { string NewPath = ((\\)).Remove((Of(\\)).LastIndexOf(\\)) + \\。 ()。 GetListViewItem(NewPath, il, lv)。 AllPath = NewPath。 } else { if (k == 0) { ()。 GetListViewItem(path, il, lv)。
點擊復(fù)制文檔內(nèi)容
范文總結(jié)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1