且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将Click事件处理函数添加到C#Video - Windows窗体

更新时间:2023-12-06 11:03:22

我建​​议你看看ContextMenuStrip [ ^ ],其中表示与之关联的任何控件的快捷菜单。



如何做到这一点,这非常简单。在应用程序中添加上下文菜单后,您应该使用控件的属性。但是,请查看此处 [ ^ ]。



此处提供了一个小小的例子。[ ^ ]。



希望这个很多信息对你有用。



-KR
I would suggest you to look at ContextMenuStrip[^], which represents a shortcut menu for the any control associated with it.

And how to do that, that is pretty simple. You should play around with the property of the control after adding context menu in your application. But still, look at here[^].

A small little tiny example of it is given over here.[^].

Hope this much info could be useful to you.

-KR