Example #1
0
        void SalesView_IsVisibleChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            if (!this.IsVisible)
            {
                return;
            }

            CustomerCardNumber.SelectAll();
            CustomerCardNumber.Focus();
        }
Example #2
0
 void vm_OnCustomerLogout(object sender, EventArgs e)
 {
     CustomerCardNumber.SelectAll();
     CustomerCardNumber.Focus();
 }