上一页 1 2 3 4 5 6 7 8 ··· 20 下一页

WPF窗体隐藏鼠标光标的方法

摘要: using System.Windows.Input;Mouse.OverrideCursor =Cursors.None;去掉 Override 则使用: Mouse.OverrideCursor = null; 阅读全文
posted @ 2012-04-09 09:57 白开水易拉罐 阅读(2292) 评论(0) 推荐(0) 编辑

WPF Image动态加载图片终极办法

摘要: //Createsource BitmapImagemyBitmapImage= new BitmapImage(); //BitmapImage.UriSourcemustbeinaBeginInit/EndInitblock myBitmapImage.BeginInit(); myBitmapImage.UriSource= new Uri(str,UriKind.Absolute); //Tosavesignificantapplicationmemory,settheDecodePixelWid// Create source BitmapImage myBitmapImage .. 阅读全文
posted @ 2012-03-27 20:58 白开水易拉罐 阅读(2610) 评论(2) 推荐(0) 编辑

The iPhone Developer's Cookbook(5)

摘要: 总是这样记笔记会严重影响读书效率,有没有什么更好的办法的。读到现在,有点懒惰不想记了。哎,还是不能放弃呀,这次一定要坚持到底。UIViewControllersNavigation controllers let users move soothly between views (or, more accurately, view controllers) using built-in animation. They provide history control for free without any programming effort. Navigation controllers a 阅读全文
posted @ 2011-11-27 00:39 白开水易拉罐 阅读(472) 评论(0) 推荐(0) 编辑

The iPhone Developer's Cookbook(4)

摘要: UIView and UIWindowThe iPhone rule goes like this: one window, many views.Metaphorically speaking, UIWindow is the TV set, and UIViews are the actors on your favorite show.UIViews are user interface building blocks. Every iPhone user interface is built from UIViews displayed within one UIWindow, whi 阅读全文
posted @ 2011-11-21 22:26 白开水易拉罐 阅读(372) 评论(0) 推荐(0) 编辑

The iPhone Developer's Cookbook(3)

摘要: 概括性地介绍了OC的基础类等CategoryOC's built-in capability to expand already-existing classes is one of its most powerful features. This behavioral expansion is called a category. Categories extend class functionality without subclassing.Categories add methods to existing classes even if you did not define 阅读全文
posted @ 2011-11-17 01:03 白开水易拉罐 阅读(415) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 20 下一页