We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to design a PopupControlContainer

 

Using the designer

Just drag-and-drop the PopupControlContainer component onto your form. You can then configure the PopupControlContainer by adding controls to it (just like you would to a panel) and by changing its properties via the designer’s property grid.

Make sure to set the necessary BorderStyle in the PopupControlContainer.

In Code

Creating and populating a PopupControlContainer is no different from creating and populating any other ContainerControl.

Once created, during run-time you show the popup as follows:

this.popupControlContainer1.ShowPopup(pointInScreenCoOrds);

Article ID: Published Date: Last Revised Date: Platform: Control:
1072 04/30/2011 07/10/2014 Windows Forms PopupControlContainer
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.