public override void Load() { _client = new NGANHClient(); _client.NGANH_LstAsync(); _client.NGANH_LstCompleted+=_client_NGANH_LstCompleted; _client.NGANH_UpdCompleted+=_client_NGANH_UpdCompleted; _clientLoaiHinhDaoTao = new LOAI_HINH_DAO_TAOClient(); _clientLoaiHinhDaoTao.LOAI_HINH_DAO_TAO_LstAsync(); _clientLoaiHinhDaoTao.LOAI_HINH_DAO_TAO_LstCompleted += _clientLoaiHinhDaoTao_LOAI_HINH_DAO_TAO_LstCompleted; _dataItem = new ObservableExpandCollection(); DataItemLoaiHinhDaoTao = new ObservableExpandCollection<LOAI_HINH_DAO_TAO_LstResult>(); }
public override void Load() { _client = new NGANHClient(); _client.NGANH_SearchAsync(new NGANH_SearchResult(), null); _client.NGANH_SearchCompleted+=_client_NGANH_SearchCompleted; _clientTrangThaiDuyet = new TRANG_THAI_DUYETClient(); _clientTrangThaiDuyet.TRANG_THAI_DUYET_LstAsync(); _clientTrangThaiDuyet.TRANG_THAI_DUYET_LstCompleted+=_clientTrangThaiDuyet_TRANG_THAI_DUYET_LstCompleted; _clientLoaiHinhDaoTao = new LOAI_HINH_DAO_TAOClient(); _clientLoaiHinhDaoTao.LOAI_HINH_DAO_TAO_LstAsync(); _clientLoaiHinhDaoTao.LOAI_HINH_DAO_TAO_LstCompleted += _clientLoaiHinhDaoTao_LOAI_HINH_DAO_TAO_LstCompleted; _dataItem = new ObservableExpandCollection(); SearchItem = new NGANH_SearchResult(); DataItemTrangThaiDuyet = new ObservableExpandCollection<TRANG_THAI_DUYET_LstResult>(); DataItemLoaiHinhDaoTao = new ObservableExpandCollection<LOAI_HINH_DAO_TAO_LstResult>(); }