private void LoadDataKaryawan() { using (new StCursor(Cursors.WaitCursor, new TimeSpan(0, 0, 0, 0))) { IKaryawanBll bll = new KaryawanBll(_log); _listOfKaryawan = bll.GetAll(); } }
private void LoadKaryawan() { IKaryawanBll bll = new KaryawanBll(_log); _listOfKaryawan = bll.GetAll(); FillDataHelper.FillKaryawan(chkListBox, _listOfKaryawan); }
private void LoadDataKaryawan() { using (new StCursor(Cursors.WaitCursor, new TimeSpan(0, 0, 0, 0))) { IKaryawanBll bll = new KaryawanBll(MainProgram.isUseWebAPI, MainProgram.baseUrl, _log); _listOfKaryawan = bll.GetAll(); } }