BudgetAnalyser.LedgerBook.AddLedgerReconciliationUserControl.OnBankBalanceGotFocus C# (CSharp) Method

OnBankBalanceGotFocus() private method

private OnBankBalanceGotFocus ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void
        private void OnBankBalanceGotFocus(object sender, RoutedEventArgs e)
        {
            var textBox = e.OriginalSource as TextBox;
            if (textBox != null)
            {
                textBox.SelectAll();
            }
        }