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();
        }
    }
Ejemplo n.º 2
0
 private void WdwBusinessPartnerDetail_Loaded(object sender, RoutedEventArgs e)
 {
     TxtCustName.Focus();
 }
Ejemplo n.º 3
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     TxtCustName.Focus();
 }