2014年3月23日
摘要: C# 在SQLite数据库中存储图像更多 0 C# SQLite 建表语句CREATE TABLE [ImageStore]([ImageStore_Id] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,[ImageFile] NVARCHAR(20) NULL,[ImageBlob] BLOB NULL);加载图像privateImageLoadImage(){//Create an instance of the Image Class/Object//so that we can store the information about th... 阅读全文
posted @ 2014-03-23 09:00 武胜-阿伟 阅读(4283) 评论(0) 推荐(0) 编辑
摘要: Using .NET 4's Lazy typeExplanation of the following code:If you're using .NET 4 (or higher) then you can use the System.Lazy type to make the laziness really simple.All you need to do is pass a delegate to the constructor that calls the Singleton constructor, which is done most easily with 阅读全文
posted @ 2014-03-23 08:44 武胜-阿伟 阅读(308) 评论(0) 推荐(0) 编辑