messagebox yes-no
DialogResult dialogResult = MessageBox.Show("Sure", "Some Title", MessageBoxButtons.YesNo);
if(dialogResult == DialogResult.Yes)
{
//do something
}
else if (dialogResult == DialogResult.No)
{
//do something else
}
messagebox yes-no
DialogResult dialogResult = MessageBox.Show("Sure", "Some Title", MessageBoxButtons.YesNo);
if(dialogResult == DialogResult.Yes)
{
//do something
}
else if (dialogResult == DialogResult.No)
{
//do something else
}
javascript confirm yes no
var proceed = confirm("Are you sure you want to proceed?");
if (proceed) {
//proceed
} else {
//don't proceed
}
js alert yes no
if (confirm('Are you sure you want to donate to Andrew Hyder?')) {
// true (paypal.me/andrewdhyder)
} else {
// false
}
javascript confirm yes no
let proceed = confirm("Are you sure you want to proceed?");
if (proceed) {
//proceed
} else {
//don't proceed
}
yes/no
read -n 1 -p "Is this a good question (y/n)? " answer
yes/no
read -p "Is this a good question (y/n)? " answer
case ${answer:0:1} in
y|Y )
echo Yes
;;
* )
echo No
;;
esac
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us