protected void TxtCustCode_TextChanged(object sender, EventArgs e) { bool Auth = Masters.GetCodeValidation("Customer", TxtCustCode.Text.Trim()); if (Auth) { MessageBox("Customer Code already exist"); TxtCustCode.Text = ""; TxtCustCode.Focus(); } else { TxtCustName.Focus(); } }
private void WdwBusinessPartnerDetail_Loaded(object sender, RoutedEventArgs e) { TxtCustName.Focus(); }
private void Window_Loaded(object sender, RoutedEventArgs e) { TxtCustName.Focus(); }