コード例 #1
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();
 }
コード例 #2
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();
 }
コード例 #3
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();
 }
コード例 #4
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();
 }
コード例 #5
0
ファイル: Customer.cs プロジェクト: QuyenHCM/QLBH2
 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();
 }