上一页 1 ··· 50 51 52 53 54 55 56 57 58 ··· 69 下一页

2018年12月15日

摘要: 实现效果: 知识运用: API中的两个函数 ReleaseCapture和SendMessage 实现代码: 阅读全文

posted @ 2018-12-15 15:18 努力成长静待花开 阅读(225) 评论(0) 推荐(0) 编辑

摘要: 实现效果: 知识运用: 窗体的WindowState属性 和FormBorderStyle属性 实现代码: 阅读全文

posted @ 2018-12-15 14:29 努力成长静待花开 阅读(252) 评论(0) 推荐(0) 编辑

摘要: 实现效果: 知识运用: MouseMove事件 ImageAlign属性 //获取或设置按钮控件上的图像对其方式 //默认为MiddleCenter 属性值为ContentAlignment枚举值之一 实现代码: 阅读全文

posted @ 2018-12-15 14:08 努力成长静待花开 阅读(166) 评论(0) 推荐(0) 编辑

摘要: 实现效果: 知识运用: TreeView控件及其ExpandAll方法 实现代码: 阅读全文

posted @ 2018-12-15 12:00 努力成长静待花开 阅读(165) 评论(0) 推荐(0) 编辑

摘要: 实现效果: 知识运用: Timer组件的Start方法 窗体的FormBorderStyle属性 补充:属性为FixedToolWindow枚举值的窗体通常不显示在任务栏中 但是必须确保ShowInTaskbar属性设置为false 因为其默认值为true 实现代码: 阅读全文

posted @ 2018-12-15 11:24 努力成长静待花开 阅读(720) 评论(0) 推荐(0) 编辑

2018年12月14日

摘要: 实现效果: 知识运用: API函数AnimateWindows [DllImportAttribute("user32.dll")] private static extern bool AnimateWindow(IntPtr hwnd,int dwTime,int dwFlags); 实现代码: 阅读全文

posted @ 2018-12-14 21:42 努力成长静待花开 阅读(261) 评论(0) 推荐(0) 编辑

摘要: 实现效果: 知识运用: Timer组件 Lable控件的Left属性 实现代码: 阅读全文

posted @ 2018-12-14 20:37 努力成长静待花开 阅读(173) 评论(0) 推荐(0) 编辑

摘要: 实现效果: 知识运用: API函数SetWindowLong和GetWindowLong 在调用API函数的时候要添加 System.Runtime.InteropService命令空间 [DllImport("user32", EntryPoint = "GetWindowLong")] //从指 阅读全文

posted @ 2018-12-14 19:52 努力成长静待花开 阅读(233) 评论(0) 推荐(0) 编辑

摘要: 阅读全文

posted @ 2018-12-14 10:20 努力成长静待花开 阅读(141) 评论(0) 推荐(0) 编辑

2018年12月13日

摘要: 实现效果: 知识运用: Random类的Next方法 窗体的BackgroundImage属性 random类的next方法用来返回一个小于所指定最大值的非负随机数 public virtual int Next(int maxValue) //maxValue:要生成的随机数上限(随机数不能取该上 阅读全文

posted @ 2018-12-13 23:01 努力成长静待花开 阅读(204) 评论(0) 推荐(0) 编辑

上一页 1 ··· 50 51 52 53 54 55 56 57 58 ··· 69 下一页