Пример #1
0
        private void WorkerEpayment_DoWork(object sender, DoWorkEventArgs e)
        {
            // Executes when RunWorkerAsync() is called

            List<object> dataReceived = new BankAccountData().GetEmployeePaymentHistory();//change for other all
            e.Result = dataReceived;


        }
Пример #2
0
        private void WorkerBankAccount_DoWork(object sender, DoWorkEventArgs e)
        {
            // Executes when RunWorkerAsync() is called

            List<BankAccount> dataReceived = new BankAccountData().GetBankAccountInformation();//change for other all
            e.Result = dataReceived;


        }