摘要: winform利用ImageList控件和ListView控件组合制作图片文件浏览器,见图,比较简单,实现LISTVIEW显示文件夹图片功能。1.选择文件夹功能代码: folderBrowserDialog1.SelectedPath = textBox2.Text; ... 阅读全文
posted @ 2014-08-22 12:36 努力实现目标 阅读(21335) 评论(0) 推荐(2) 编辑
摘要: 1.利用itextsharp.dll实现单个图片文件转换为PDF格式文件, 可以使用以下类: void ConvertJPG2PDF(string jpgfile, string pdf) { var document = new Document(... 阅读全文
posted @ 2014-08-22 12:21 努力实现目标 阅读(5518) 评论(0) 推荐(0) 编辑
摘要: //选择文件,点击【浏览】,选择文件private void button1_Click(object sender, EventArgs e){ OpenFileDialog openFileDialog1 = new OpenFileDialog(); //显示选择文件对话框 ... 阅读全文
posted @ 2014-08-22 12:12 努力实现目标 阅读(11173) 评论(0) 推荐(0) 编辑