private void onComplete(AsynchronousActionsComletedEventArgs e) { AsynchronousActionsComletedEventHandler handler = ActionCompleted; if (handler != null) { handler(this, e); } }
private void PostCompleted(object obj) { IsBusy = false; AsynchronousActionsComletedEventArgs e = obj as AsynchronousActionsComletedEventArgs; if (e != null) { onComplete(e); } }