Loading

C# winform窗体自动停靠控件

网上的那个很早以前就发布出来了...觉得很不好用是用系统api做的a56爆大奖在线娱乐改了下.思路大体上还是差不多窗口改变位置时改变一下停靠类型然后时钟事件判断鼠标是否在窗口内.如果窗口隐藏且鼠标在窗体中,则显示,反之则隐藏具体看代码吧.不是很完美(没有更好的去做时钟的停止启动优化)....反正功能是实现了using System;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;using System.Data;using System.Text;using System.Windows.For
posted @ 2012-04-13 15:26  jevan  阅读(9248)  评论(0编辑  收藏  举报