Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
DialogResult result = MessageBox.Show(this, "Text", "Caption", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning);
if (result == DialogResult.OK)
{
//The ok button was pressed
}
else
{
//The Cancel button or Close button was pressed
}