pointofsale_application.EditInventory.TextBox_GotFocus C# (CSharp) 메소드

TextBox_GotFocus() 개인적인 메소드

private TextBox_GotFocus ( object sender, RoutedEventArgs e ) : void
sender object
e RoutedEventArgs
리턴 void
        private void TextBox_GotFocus(object sender, RoutedEventArgs e)
        {
            TextBox tb = (TextBox)sender;
            tb.Text = string.Empty;
            tb.GotFocus -= TextBox_GotFocus;
        }