软件悬浮窗的隐藏
2016-07-21 20:21
218 查看
刚开始做的时候觉得好像挺难的,其实是自己想复杂了,所谓的隐藏,其隐含之意就是,看不到的地方。
panel p = new panel();
p.Location = new Point(Screen.PrimaryScreen.Bounds.Width + this.Width, this.height);
等到让窗体显示的时候,再重新定位在正确的位置即可。
panel p = new panel();
p.Location = new Point(Screen.PrimaryScreen.Bounds.Width + this.Width, this.height);
等到让窗体显示的时候,再重新定位在正确的位置即可。
相关文章推荐
- 【转载】.NET程序员走向高端必读书单汇总
- 树形DP——Party a Haili-Bula ( HDU 3342 )
- UVA - 10499 The Land of Justice
- 【CodeForces】612A - The Text Splitting(枚举)
- Hadoop的优化(Shuffle过程)
- spring配置文件中classpath路径解析
- 1003. 我要通过!(20)
- POJ 3669 Meteor Shower
- 一台电脑控制27台手机基本原理
- Painting Fence
- Bulbs
- New Year and Days
- BSOJ 4208 -- 【USACO 2013 Jan】奶牛队列
- 关于ajax的一些总结
- android开发环境安装
- 71. Simplify Path
- 关于消息队列的使用
- <context annotation-config />标签意义
- UVA - 591 Box of Bricks
- CodeForces597BRestaurant(sort+贪心)