Loading

摘要: var imgsource = System.Windows.Interop.Imaging.CreateBitmapSourceFromHBitmap(bmp.GetHbitmap(),IntPtr.Zero,Int32Rect.Empty,BitmapSizeOptions.FromEmptyO... 阅读全文
posted @ 2014-06-10 15:27 眾尋 阅读(453) 评论(0) 推荐(0) 编辑
摘要: 这个问题的出现是在于我写的一句话Icon = BitImg("Image/Icon.png")其原因是Image/Icon.png路径不在执行的exe文件的目录下将Image文件夹复制到exe目录就可以了 阅读全文
posted @ 2014-06-10 13:12 眾尋 阅读(3555) 评论(0) 推荐(0) 编辑
摘要: 正在写一个手指画图的程序C# + WPF其中有一部分是加载外部某PNG文件,放入BitmapImage,再作为Image的Source显示在Canvas上画了几笔之后,再存回这个PNG文件================问题=================BitmapImage这个对象没有Disp... 阅读全文
posted @ 2014-06-10 12:43 眾尋 阅读(2076) 评论(0) 推荐(0) 编辑
摘要: 先写一个数据类Grade.csusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Collections... 阅读全文
posted @ 2014-06-09 10:32 眾尋 阅读(493) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;using System.Data;using System.Data.SqlClient;using System.Windows.Forms;namespace yjg... 阅读全文
posted @ 2014-06-05 09:24 眾尋 阅读(262) 评论(0) 推荐(0) 编辑