日期:2014-05-18 浏览次数:20843 次
OpenFileDialog openfile = new OpenFileDialog(); openfile.Filter = "Bmp Picture(*.*)|*.bmp"; if (openfile.ShowDialog() == System.Windows.Forms.DialogResult.OK) { IsPictureImported = true; Image.GetThumbnailImageAbort myCallback = new Image.GetThumbnailImageAbort(ThumbnailCallback); Image img = new Bitmap(openfile.FileName); img = DeleteBlankArea(img); }