Dot Net Funda provides content about Dot Net Concept From Bsic to advance.
1. Small Program/code
2.Problem Solution (Post your Problem and get solution of your problem)
3. Give suggestion about our Post.
Tuesday, October 9, 2018
Confirmation in Window Form in c#
var confirmResult = MessageBox.Show("Click 'Yes' To Close or 'No' to Cancel ??","Confirm To Close!!",MessageBoxButtons.YesNo);
if (confirmResult == DialogResult.Yes) { //Your Code }
No comments:
Post a Comment