private void Bill_Load(object sender, EventArgs e) { data = new Solve(Bill_DataGridView); data.LENH_ALL = "Select * From HOADON"; textbox = new Test(new TextBox[] { Bill_Search_TextBox }, " Mã Hóa Đơn Cần Tìm...."); textbox.Show_All(); data.Load(); }
private void Product_Load(object sender, EventArgs e) { data = new Solve(Product_DataGridView); data.LENH_ALL = "Select * From SANPHAM"; textbox = new Test(new TextBox[] { Product_Search_TextBox }, " Mã Sản Phẩm Cần Tìm...."); textbox.Show_All(); data.Load(); }
private void Staff_Load(object sender, EventArgs e) { data = new Solve(Staff_DataGridView); // data.LENH_ALL = "Select * From NHANVIEN"; // thong qua getter, setter textbox = new Test(new TextBox[] { Staff_Search_TextBox }, " Mã Nhân Viên Cần Tìm...."); textbox.Show_All(); data.Load(); }
private void BillDetail_Load(object sender, EventArgs e) { data = new Solve(BillDetail_DataGridView); data.LENH_ALL = "Select * From [CHITIETHOADON]"; textboxs = new Test(new TextBox[] { BillDetail_BillCode_TextBox, BillDetail_ProductCode_TextBox }, " Mã Hóa Đơn Cần Tìm....", " Mã Sản Phẩm Cần Tìm...."); textboxs.Show_All(); data.Load(); }
private void Customer_Load(object sender, EventArgs e) { data = new Solve(Customer_DataGridView); data.LENH_ALL = "Select * From KHACHHANG"; textbox = new Test(new TextBox[] { Customer_Search_TextBox }, "Mã Khách Hàng Cần Tìm..."); textbox.Show_All(); data.Load(); }
private void Product_Refresh_Button_Click(object sender, EventArgs e) { data.Load(); }
private void Staff_Refresh_Button_Click(object sender, EventArgs e) { data.Load(); // tải lại }
private void BillDetail_Refresh_Button_Click(object sender, EventArgs e) { data.Load(); }