Ejemplo n.º 1
0
 private void Task_TaskFolderChanged(object sender, TaskFolderChangedEventArgs e)
 {
     if (e.originalSender != this)
     {
         TaskFolderChange(e.task.ID, e.isFolder);
     }
 }
Ejemplo n.º 2
0
 protected virtual void OnFolderChanged(bool isFolder, object sender)
 {
     if (TaskFolderChanged != null)
     {
         TaskFolderChangedEventArgs e = new TaskFolderChangedEventArgs();
         e.isFolder       = isFolder;
         e.task           = this;
         e.originalSender = sender;
         TaskFolderChanged(this, e);
     }
 }