Exemplo n.º 1
0
 private void Product_Search_Button_Click(object sender, EventArgs e)
 {
     if (textbox.Check() && textbox.Test_Int(Product_Search_TextBox.Text))
     {
         data.TimKiem_PramiryKey("[SANPHAM]", "MaSP", Product_Search_TextBox.Text.ToString(), Product_DataGridView);
     }
 }
Exemplo n.º 2
0
 private void Staff_Search_Button_Click(object sender, EventArgs e)
 {
     if (textbox.Check() && textbox.Test_Int(Staff_Search_TextBox.Text)) // kiểm tra textbox
     {
         data.TimKiem_PramiryKey("[NHANVIEN]", "MaNV", Staff_Search_TextBox.Text.ToString(), Staff_DataGridView);
     }
 }
Exemplo n.º 3
0
 private void Bill_Search_Button_Click(object sender, EventArgs e)
 {
     if (textbox.Check() && textbox.Test_Int(Bill_Search_TextBox.Text))
     {
         data.TimKiem_PramiryKey("[HOADON]", "MaHD", Bill_Search_TextBox.Text.ToString(), Bill_DataGridView);
     }
 }
Exemplo n.º 4
0
 private void Customer_Search_Button_Click(object sender, EventArgs e)
 {
     if (textbox.Check() && textbox.Test_Int(Customer_Search_TextBox.Text))
     {
         data.TimKiem_PramiryKey("[KHACHHANG]", "MaKH", Customer_Search_TextBox.Text.ToString(), Customer_DataGridView);
     }
 }