예제 #1
0
 private void textBoxDoubleClick(object sender, EventArgs e)
 {
     Tb.Visible = true;
     ((Label)sender).Visible = false;
     Tb.SelectAll();
     Tb.Focus();
 }
예제 #2
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     Tb.Focus();
     Tb.SelectAll();
     Keyboard.Focus(Tb);
 }