Question from the C# Winforms test

Add a ToolStripControlHost to a ContextMenuStrip in C#

Expert

You create a Windows Forms application that has a form. You add a ContextMenuStrip control named ctxMenu to it. You have also defined the CustomControl class. You write the following code segment in the application

CustomControl myControl = new CustomControl();

You need to ensure that an instance of CustomControl is displayed on the form as a root element of ctxMenu.

Author: Guillaume BroutStatus: PublishedQuestion passed 208 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!