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

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

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -