コード例 #1
0
 private void SuaCay_Load(object sender, EventArgs e)
 {
     cayBus            = new CayCanhBUS();
     ViTriBus          = new ViTriBUS();
     LoaiCayBus        = new LoaiCayBUS();
     TinhTrangBus      = new TinhTrangBUS();
     thamso            = new ThamSoBUS();
     tsDTO             = thamso.selectThamSo();
     TenCaytb.ReadOnly = true;
 }
コード例 #2
0
        //Bao cáo tình trạng cây cảnh


        private void TTCayCanh_Load(object sender, EventArgs e)
        {
            TTBus         = new BCTinhTrangBUS();
            cayBus        = new CayCanhBUS();
            loaiBus       = new LoaiCayBUS();
            tinhTrangBus  = new TinhTrangBUS();
            listTinhTrang = tinhTrangBus.selectTT();
            listloaiCay   = loaiBus.selectLoaiCay();
            listCay       = cayBus.select();
        }
コード例 #3
0
 private void QuanLyCayCanh_Load(object sender, EventArgs e)
 {
     vtBus         = new ViTriBUS();
     loaiBus       = new LoaiCayBUS();
     cayBus        = new CayCanhBUS();
     tinhtrangBus  = new TinhTrangBUS();
     listtinhtrang = tinhtrangBus.selectTT();
     listloai      = loaiBus.selectLoaiCay();
     listVT        = vtBus.selectVT();
     loadData_Vao_GridView();
 }
コード例 #4
0
 private void ThemCay_Load(object sender, EventArgs e)
 {
     thamso       = new ThamSoBUS();
     cayBus       = new CayCanhBUS();
     ViTriBus     = new ViTriBUS();
     LoaiCayBus   = new LoaiCayBUS();
     TinhTrangBus = new TinhTrangBUS();
     tsDTO        = thamso.selectThamSo();
     loadViTriVao_Combobox();
     loadLoaiCayVao_Combobox();
     loadTinhTrangVao_Combobox();
 }