private void FillRowFromTask(TaskStatus taskStatus, bool shoowNotif = false)
 {
     Task[] tasks = DevNet_ClientTools.GetTasks(taskStatus);
     foreach (var task in tasks)
     {
         CreateRow(task, shoowNotif);
     }
 }
 private void RemoveResolvedTasks()
 {
     foreach (var rowControl in TasksGrid.Children.OfType <RowControl>().ToList())
     {
         try
         {
             Task task = DevNet_ClientTools.GetTask(rowControl.Id);
             if (task.Status == TaskStatus.Resolved)
             {
                 TasksGrid.Children.Remove(rowControl);
             }
         }
         catch (Exception)
         {
         }
     }
 }