David Smith

David Smith

  • NA
  • 2k
  • 0

Silverlight Child Wild

Aug 12 2011 1:58 PM
When you show a childwindow dialog , how do you determine if the user have click ok or cancel dialog button. Im use to winforms, Im just now getting use to silverlight. Its been three days. lololol


 ChildWindow childWindow = new NavigationChildWindow("Testing", "Testing 1, 2, 3");
      childWindow .Show();


//I want to check childWindow dialog result right here

if( childWindow dialog result == Ok)
{
  // do something
}
else
{

  // do this
}

Answers (1)