btnSave_click () { if(<somecondition>) { // Here i need a popup with two message like continue and cancel } }
btnSave_click () { if(<somecondition>) { // Here i need a popup with two message like continue and cancel if(confirm('whatever!') { //... } } }
if (MessageBox.Show("Message Text", "Message Title", MessageBoxButtons.YesNo) == DialogResult.Yes) { //user chose yes } else { //user chose no }
MessageBox.Show("Do you really want to continue?", "Delete Warning", MessageBoxButtons.YesNo, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button2, 0, false) == DialogResult.Yes)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)