c# - how to display user control inside a modal popup in windows form? -


i have display usercontrol containing 2 datepickers, 2 buttons ( validate, cancel ) in modal popup. popup shown when user has clicked on specific button on form.

any ideas ? thnks in advance

you can add user control form -- called if frmpopup, create new instance of , call showdialog(). need have pair of buttons on form give user way close or cancel dialog. microsoft has more information here


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -