private void txt1_PreviewLostKeyboardFocus_1(object sender, KeyboardFocusChangedEventArgs e) { try { txt1_call(); } catch (Exception ex) { MessageBox.Show("Error : " + ex.Message); } } private void txt1_call() { try { System.Windows.Forms.MessageBox.Show("1"); System.Windows.Forms.MessageBox.Show("2"); } catch (Exception) { throw; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)