Example #1
0
        void CallBackInvoke(IAsyncResult iar)
        {
            InProgressDelegate result = iar.AsyncState as InProgressDelegate;

            result.EndInvoke(iar);
        }
Example #2
0
        private void InProgressBarInvoke()
        {
            InProgressDelegate invoker = new InProgressDelegate(Progress);

            invoker.BeginInvoke(new AsyncCallback(CallBackInvoke), invoker);
        }