示例#1
0
文件: Bill.cs 项目: QuyenHCM/QLBH2
 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();
 }
示例#2
0
文件: Product.cs 项目: QuyenHCM/QLBH2
 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();
 }
示例#3
0
 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();
 }
示例#4
0
 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();
 }
示例#5
0
 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();
 }
示例#6
0
文件: Product.cs 项目: QuyenHCM/QLBH2
 private void Product_Refresh_Button_Click(object sender, EventArgs e)
 {
     data.Load();
 }
示例#7
0
 private void Staff_Refresh_Button_Click(object sender, EventArgs e)
 {
     data.Load(); // tải lại
 }
示例#8
0
 private void BillDetail_Refresh_Button_Click(object sender, EventArgs e)
 {
     data.Load();
 }