Example #1
0
        private void OpenDownloadPageAsync()
        {
            this.UseWaitCursor = true;

            // Create the delegate.
            AsyncOpenMyZillaDownloadPage dlgt = new AsyncOpenMyZillaDownloadPage(Utils.OpenDownloadPage);

            // Initiate the asychronous call.  Include an AsyncCallback
            // delegate representing the callback method, and the data
            // needed to call EndInvoke.
            dlgt.BeginInvoke(new AsyncCallback(CallbackOpenMyZillaDownloadPage), dlgt);
        }
Example #2
0
        private void OpenDownloadPageAsync()
        {
            this.UseWaitCursor = true;

            // Create the delegate.
            AsyncOpenMyZillaDownloadPage dlgt = new AsyncOpenMyZillaDownloadPage(Utils.OpenDownloadPage);

            // Initiate the asychronous call.  Include an AsyncCallback
            // delegate representing the callback method, and the data
            // needed to call EndInvoke.
            dlgt.BeginInvoke(new AsyncCallback(CallbackOpenMyZillaDownloadPage), dlgt);
        }