2018年12月11日

摘要: 实现效果: 知识运用: Graphics对象的Clear方法 位于System.Drawing命名空间下 他封装一个GDI+绘图界面 其Clear方法用来清除整个绘图 并以指定背景色填充 public void Clear(Color color) 实现代码: 阅读全文

posted @ 2018-12-11 20:49 努力成长静待花开 阅读(277) 评论(0) 推荐(0)

摘要: 实现效果: 知识运用: 窗体的BackgroundImage和BackgroundImageLayout属性 public virtual Image BackgroundImage{get; set;} //属性值 一个Image图像 public virtual ImageLayout Back 阅读全文

posted @ 2018-12-11 20:26 努力成长静待花开 阅读(836) 评论(0) 推荐(0)

摘要: 实现效果: 知识运用: 用到了API函数的FlashWindow [System.Runtime.InteropServices.DllImportAttribute("user32_.dll")] public static extern bool FlashWindow(IntPtr handl 阅读全文

posted @ 2018-12-11 13:51 努力成长静待花开 阅读(387) 评论(0) 推荐(0)

摘要: 实现效果: 知识运用: 将窗体的Text属性设置为空 同时将ControlBox属性设置为False 实现代码: 阅读全文

posted @ 2018-12-11 13:19 努力成长静待花开 阅读(136) 评论(0) 推荐(0)