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

正文內容

基于wince的圖片播放器畢業(yè)設計(編輯修改稿)

2024-08-15 08:06 本頁面
 

【文章內容簡介】 = true。 } //文件打開函數(shù) private void open() { if(() ==) { if( != null) { ()。 = null。 } String filename = 。 try { curFile = filename。 curBmp = new Bitmap(curFile)。 = curBmp。 displayImage()。 dirPath = (0,(\\))。 dirInfo = new (dirPath)。 [] fileInfo = ()。 圖片播放器 第 6 頁 fileInDir = new ArrayList()。 if( 0) ()。 foreach(FileInfo fi in fileInfo) { if( == .JPG || == .jpg || == .jpeg || == .tif || == .png || == .bmp || == .Bmp || == .gif || == .GIF) { (())。 } } for(index = 0。index 。index++) { if(fileInDir[index].ToString() == filename) { break。 } } } catch(Exception excep) { (excep)。 (請選擇后綴名為 ”JPG/PNG/JPEG/GIF/TIF/BMP”的圖片! , 溫馨提醒! )。 } } else { (請先選擇一張圖片! , 溫馨提醒! )。 } } //文件關閉函數(shù) private void close() { if( != null) { ()。 = null。 curFile = 。 curBmp = null。 } } //下一張 嵌入式系統(tǒng)與優(yōu)化大作業(yè) 第 7 頁 private void next() { try { if(index == 1) { (這已經(jīng)是最后一張了 ., 溫馨提醒! )。 } else { ()。 curFile = fileInDir[++index].ToString()。 curBmp = new Bitmap(curFile)。 = curBmp。 displayImage()。 } } catch (NullReferenceException) { (請先打開一張圖片! , 溫馨提醒! )。 } } //上一張 private void previous() { try { if (index == 0) { (這已經(jīng)是第一張了 ., 溫馨提醒! )。 } else { ()。 curFile = fileInDir[index].ToString()。 curBmp = new Bitmap(curFile)。 = curBmp。 displayImage()。 } } catch (NullReferenceException) { (請先打開一張圖片! , 溫馨提醒! )。 } 圖片播放器 第 8 頁 } //放大函數(shù) private void max() { try { int w = (int)( * )。 int h = (int)( * )。 Bitmap bmpo = curBmp。 Bitmap bmpn = new Bitmap(w, h)。 Graphics g = (bmpn)。 (bmpo,new Rectangle(0, 0, w, h),new Rectangle(0, 0, , ), )。 ()。 curBmp = bmpn。 ()。 = curBmp。 displayImage()。 } catch(NullReferenceException) { (請先打開一張圖片! , 溫馨提醒! )。 } } 縮小函數(shù) private void min() { try { int w = (int)( * )。 int h = (int)( * )。 Bitmap bmpo = curBmp。 Bitmap bmpn = new Bitmap(w, h)。 Graphics g = (bmpn)。 (bmpo, new Rectangle(0, 0, w, h), new Rectangle(0, 0, , ), )。 ()。 curBmp = bmpn。 ()。 = curBmp。 displayImage()。 } catch(NullReferenceException) { 嵌入式系統(tǒng)與優(yōu)化大作業(yè) 第 9 頁 (請先打開一張圖片! , 溫馨提醒! )。 } } //左旋轉 private void left() { try { Bitmap originalBitmap = curBmp。 int rotationAngle = 270。 int newWidth = 。 int newHeight = 。 Bitmap rotatedBitmap = new Bitmap(newWidth, newHeight)。 if ALLOW_UNSAFE_CODE internalRotateImage(
點擊復制文檔內容
研究報告相關推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1