1. mytextBox.LostFocus += TextBox_LostFocus;  
  2.   
  3.   
  4.   
  5. private void TextBox_LostFocus(object sender, RoutedEventArgs e)  
  6. {  
  7.     throw new NotImplementedException();  
  8. }