Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Basicaly, i want a message box to pop up when the user clicks the add button.

I want the message box to display this

Do you want to add a Ticket or a Voucher?

Then the two options to be Ticket and Voucher, then depending on what option the user clicks, it opens a form. for example

if the user picks Ticket, it opens up a voucher form, it adds vouchers.

Thanks,
Posted
Comments
Sergey Alexandrovich Kryukov 28-Feb-14 14:17pm    
Always tag the UI library/framework you use.
—SA
BillWoodruff 28-Feb-14 16:35pm    
"if the user picks Ticket, it opens up a voucher form, it adds vouchers." I think you meant that if the user picks 'Ticket it opens a 'Ticket Form ?

Is there any "overlap," any shared common data-entry fields, or Controls, in the 'Ticket Form or the 'Voucher Form ? Any reason you'd want to display one Form that contains both ?

You want the user to have a 'Cancel choice ?

1 solution

You can create a window/form at your liking and run it as a modal one. It depends on the UI library/framework you use, but usually this is a call to ShowDialog. That's all.

—SA
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900