Hi guyz ...
This is the second part of MessageBoxes Tutorial. In this tutorial we are going to talking about how to create Yes/No message Box.
This is the second part of MessageBoxes Tutorial. In this tutorial we are going to talking about how to create Yes/No message Box.
MessageBoxButtons
- Go to the UI and double click on the Button.Then remove the all codes within the curly braces.
- Add following codes within the braces
Code:
- So the final code should be like this
Code:
- OK guyz itz time to run the program .. You will get output like this
- Guyz you can try more message-boxes like
OK
OK/Cancel
Retry/Cancel
Yes/NO/Cancel
Abort/Retry/Cancel
- Just type "MessageBoxButtons." within the braces then VS will automatically suggest above list try it.....
Thank You
Comments