Click here to Skip to main content
15,879,613 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
sir i have a form in which there is three button insert update and delete but that was in form but i want it in these three button in a message box so i can perform directly from msg box so plz provide me some help
Posted

This is not possible with the default .Net message box. Instead you should create a small winform with fixed size that acts as a message box. See the answers to this forum post for information on how to do that:
http://stackoverflow.com/questions/234774/custom-button-captions-in-net-messagebox[^]
 
Share this answer
 
Comments
Manoj Kumar Choubey 2-Apr-12 4:10am    
I am agree with JF2015
Sergey Alexandrovich Kryukov 8-Apr-12 22:40pm    
That's it, my 5.
I would add that such functionality is usually bad for a form shown as a modal form.
--SA
This link should help you [^]
 
Share this answer
 
Comments
Manoj Kumar Choubey 2-Apr-12 4:10am    
OP Asking : how i can perform directly from msg box ....

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