Ejemplo n.º 1
0
 /// <summary>
 /// 调用委托
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected void onTaskStateChanged(object sender, TaskStateChangedEventArgs e)
 {
     if (OnTaskStateChanged != null)
     {
         OnTaskStateChanged(sender, e);
     }
 }
Ejemplo n.º 2
0
        private void reportTaskStateChanged(object operationState)
        {
            TaskStateChangedEventArgs e = operationState as TaskStateChangedEventArgs;

            OnTaskStateChanged(this, e);
        }