示例#1
0
        protected virtual void OnReportedStateCallback(ReportedStateCallbackArgs e)
        {
            EventHandler <ReportedStateCallbackArgs> handler = ReportedStateCallback;

            if (handler != null)
            {
                handler(this, e);
            }
        }
示例#2
0
        private void reportedStateCallback(int status_code, UIntPtr userContextCallback)
        {
            ReportedStateCallbackArgs reportedStateCallbackArgs = new ReportedStateCallbackArgs(status_code, userContextCallback);

            OnReportedStateCallback(reportedStateCallbackArgs);
        }