private void DoLoadStaffPositionData(object sender, DoWorkEventArgs doEA) { GetStaffList workerStaffList = new GetStaffList((int)doEA.Argument, true); workerStaffList.Send(); //we have got all staff datas doEA.Result = workerStaffList; }
internal void LoadStaff() { mStaffList = new GetStaffList(Configuration.operatorID, true); mStaffList.Send(); //we have got all staff datas Configuration.StaffLoginNumber = mStaffList.GetLoginNumberByStaffID(Configuration.LoginStaffID); }