コード例 #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);
        }
コード例 #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);
        }