Esempio n. 1
0
        private void backgroundWorker2_DoWork(object sender, DoWorkEventArgs e)
        {
            System.ComponentModel.BackgroundWorker worker;
            worker = (System.ComponentModel.BackgroundWorker)sender;

            // Get the Words object and call the main method.
            Product myProduct = (Product)e.Argument;

            Helper.APIUpdateProduct(myProduct);
        }