Example #1
0
 public override void OnTaskDelete(TaskDeleteEventArgs e)
 {
     if (!BufferedEvents)
     {
         DoUpdate();
     }
     else
     {
         changeImpact = true;
     }
 }
Example #2
0
 public override void OnTaskDelete(TaskDeleteEventArgs e)
 {
     if (!BufferedEvents)
     {
         DoRenumber(projectView, 1, "");
     }
     else
     {
         changeImpact = true;
     }
 }
        protected void HPM_TaskDeleted(Object sender, TaskDeleteEventArgs e)
        {
            var sessions = (List <HttpSessionState>)Application["sessions"];

            foreach (var session in sessions)
            {
                HPMUpdateInfo updateinfo = session["updateinfo"] as HPMUpdateInfo;
                try
                {
                    updateinfo.DeletedTasks.Add(e.data.m_TaskID.m_ID, e.data.m_TaskID);
                }
                catch (ArgumentException)
                {
                }
            }
        }
Example #4
0
    public override void On_TaskDelete(HPMChangeCallbackData_TaskDelete data)
    {
        TaskDeleteEventArgs dataArgs = new TaskDeleteEventArgs(data);

        TaskDeleteEvent(this, dataArgs);
    }
        protected void HPM_TaskDeleted(Object sender, TaskDeleteEventArgs e)
        {
            var sessions = (List<HttpSessionState>)Application["sessions"];

            foreach (var session in sessions)
            {
                HPMUpdateInfo updateinfo = session["updateinfo"] as HPMUpdateInfo;
                try
                {
                    updateinfo.DeletedTasks.Add(e.data.m_TaskID.m_ID, e.data.m_TaskID);
                }
                catch (ArgumentException)
                {
                }
            }
        }
	public override void On_TaskDelete(HPMChangeCallbackData_TaskDelete data)
	{
        TaskDeleteEventArgs dataArgs = new TaskDeleteEventArgs(data);
        TaskDeleteEvent(this, dataArgs);
	}