摘要:
1 void OnLostFocus(object sender, RoutedEventArgs e) 2 { 3 TextBox tb = e.Source as TextBox; 4 tb.PreviewMouseDown += new MouseButtonEventHandler(OnPreviewMouseDown); 5 } 6 7 void OnPreviewMouseDown(object sender, MouseButtonEventArgs e) 8 { ... 阅读全文