how to use pop up menu for giving the msg for confirming del command from user. can u provide me d code
Shubhib
0
Newbie Poster
Recommended Answers
Jump to PostNothing complex
private void yourActionCalled_MouseUp(object sender, MouseEventArgs e) { DialogResult result = MessageBox.Show("Are you sure you want to close?", "Close Application?", MessageBoxButtons.YesNo, MessageBoxIcon.Question, 0, 0); switch (result) { case DialogResult.Yes: someAction(); break; } }
Jump to PostCan you not see the above post ? The answer is there!
All 5 Replies
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
san_prg
0
Newbie Poster
majestic0110
187
Nearly a Posting Virtuoso
alc6379
120
Cookie... That's it
Team Colleague
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.