如何在C#中制作浮动面板 [英] How Can I Make Float Panel In C#
本文介绍了如何在C#中制作浮动面板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个C#windows表单应用程序。
我在我的应用程序中使用登录和注销。
我想制作一个浮动面板,如Google的网站,它显示退出按钮,查看配置文件按钮,用户图像等。
i必须在Windows窗体应用程序中制作类似的东西。
please帮助我亲爱的朋友
I have a C# windows form Application.
I use login & logout in my application.
I would like to make a float panel such as Google's site which it shows the Logout button, View Profile button, User's Image And etc.
i have to make something like that in windows form Application.
please help me my dear friends
推荐答案
您可以创建浮动面板作为派生自 System.Windows.Forms.Panel $ c $的类C>。您需要向其添加一些子控件(例如,另一个面板实例),以用作运动的夹点。对于动作的实现,它足以处理事件 MouseUp
, MouseDown
和 MouseMove
。
-SA
You can create floating panel as a class derived fromSystem.Windows.Forms.Panel
. You would need to add some child control to it (another panel instance, for example), to be used as a grip for motion. For implementation of motion, it will be enough to handle eventsMouseUp
,MouseDown
andMouseMove
.
—SA
我在回答你的答案。
请帮帮我
I'm Wating To Your Answer.
Please Help Me
试试 C#中的浮动,可折叠 透明窗口 [ ^ ]。
这篇关于如何在C#中制作浮动面板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文