Exemple #1
0
 // Xem chi tiết của 1 khách hàng
 private void btn_view_customer_Click(object sender, EventArgs e)
 {
     if (customerbus.SearchById_Customer(txt_id_customer.Text) != null)
     {
         List <CUSTOMER>      result           = customerbus.SearchById_Customer(txt_id_customer.Text);
         Details_Customer_GUI details_customer = new Details_Customer_GUI(result[0].ID_CUSTOMER, result[0].NAME, result[0].IDENTIFY.ToString(), result[0].JOB, result[0].POSITION, result[0].ADDRESS);
         details_customer.ShowDialog();
     }
     else
     {
         Print_MessageBox("Không có thông tin này !!!", "Lỗi");
     }
 }