private void ViewOrder(object sender, EventArgs e) { if (!string.IsNullOrEmpty(textFullName.Text)) { var searchCustomer = new SearchCustomer(currentUserEntity, textFullName.Text, true, itemId); searchCustomer.ShowDialog(); } }
private void btnSearch_Click(object sender, EventArgs e) { if (!string.IsNullOrEmpty(textSearchCustomer.Text)) { var searchCustomer = new SearchCustomer(CurrentUser, textSearchCustomer.Text); searchCustomer.ShowDialog(); textSearchCustomer.Text = string.Empty; } }
private void ViewOrder(object sender, EventArgs e) { if (!string.IsNullOrEmpty(textFullName.Text)) { var searchCustomer = new SearchCustomer(currentUserEntity, textFullName.Text, true, itemId); searchCustomer.ShowDialog(); } }