hi

i created a dialog result


DialogResult Result = new DialogResult();
Result = MessageBox.Show("Are you sure you want to show the screen?", "", MessageBoxButtons.YesNo);
if (Result == DialogResult.Yes)
{

form2 f2=new form2();
f2.show();
}
if (Result == DialogResult.No)
{

MessageBox.Show " you are in form1";
}



After getting confirmation message if i click escape button i should get the Result with "NO"

how to capture DialogResult keydown event


Regards
Vinay Kumar