Example #1
0
 private void ViewOrder(object sender, EventArgs e)
 {
     if (!string.IsNullOrEmpty(textFullName.Text))
     {
         var searchCustomer = new SearchCustomer(currentUserEntity, textFullName.Text, true, itemId);
         searchCustomer.ShowDialog();
     }
 }
Example #2
0
 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;
     }
 }
Example #3
0
 private void ViewOrder(object sender, EventArgs e)
 {
     if (!string.IsNullOrEmpty(textFullName.Text))
     {
         var searchCustomer = new SearchCustomer(currentUserEntity, textFullName.Text, true, itemId);
         searchCustomer.ShowDialog();
     }
 }