Skip to content

Instantly share code, notes, and snippets.

@davecra
Created March 20, 2020 19:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davecra/88897542e1748133de5e6ae6eb7593b7 to your computer and use it in GitHub Desktop.
Save davecra/88897542e1748133de5e6ae6eb7593b7 to your computer and use it in GitHub Desktop.
Checkbox Example for an Extended Message Box
ExtendedDialogResult LobjResult = ExtendedMessageBox.Show("Hello World - Are you ok?",
"The Office Context",
MessageBoxButtons.OKCancel,
MessageBoxIcon.Information,
"Do not show this message again.");
if(LobjResult.Result == DialogResult.OK && LobjResult.IsChecked)
{
// do something
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment