软件悬浮窗的隐藏

刚开始做的时候觉得好像挺难的,其实是自己想复杂了,所谓的隐藏,其隐含之意就是,看不到的地方。

panel p = new panel();

p.Location = new Point(Screen.PrimaryScreen.Bounds.Width + this.Width, this.height);

等到让窗体显示的时候,再重新定位在正确的位置即可。

原文地址:https://www.cnblogs.com/candyzhmm/p/5693039.html