///<summary>Simply tells the user task control to refresh the currently showing task list.</summary> public void RefreshUserControlTasks() { if (userControlTasks1 != null && !userControlTasks1.IsDisposed) { userControlTasks1.RefreshTasks(); } }
private void timer1_Tick(object sender, EventArgs e) { if (Security.CurUser != null) //Possible if OD auto logged a user off and they left the task window open in the background. { userControlTasks1.RefreshTasks(); } //this quick and dirty refresh is not as intelligent as the one used when tasks are docked. //Sound notification of new task is controlled from main form completely //independently of this visual refresh. }