Пример #1
0
 private void OnVersionPropertyChanged(object sender, RedmineObjectPropertyChangedEventArgs e)
 {
     if (e.Property == ProjectVersion.IdProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.Id);
     }
     else if (e.Property == ProjectVersion.NameProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.Name);
     }
     else if (e.Property == ProjectVersion.CreatedOnProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.CreatedOn);
     }
     else if (e.Property == ProjectVersion.DueDateProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.DueDate);
     }
     else if (e.Property == ProjectVersion.DescriptionProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.Description);
     }
     else if (e.Property == ProjectVersion.StatusProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.Status);
     }
     else if (e.Property == ProjectVersion.ProjectProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.Project);
     }
 }
Пример #2
0
 private void OnNewsPropertyChanged(object sender, RedmineObjectPropertyChangedEventArgs e)
 {
     if (e.Property == News.IdProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.Id);
     }
     else if (e.Property == News.TitleProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.Title);
     }
     else if (e.Property == News.DescriptionProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.Description);
     }
     else if (e.Property == News.CreatedOnProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.CreatedOn);
     }
     else if (e.Property == News.SummaryProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.Summary);
     }
     else if (e.Property == News.AuthorProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.Author);
     }
     else if (e.Property == News.ProjectProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.Project);
     }
 }
Пример #3
0
 private void OnIssuePropertyChanged(object sender, RedmineObjectPropertyChangedEventArgs e)
 {
     if (e.Property == Issue.IdProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.Id);
     }
     else if (e.Property == Issue.SubjectProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.Subject);
     }
     else if (e.Property == Issue.DescriptionProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.Description);
     }
     else if (e.Property == Issue.PriorityProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.Priority);
     }
     else if (e.Property == Issue.CategoryProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.Category);
     }
     else if (e.Property == Issue.TrackerProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.Tracker);
     }
     else if (e.Property == Issue.StatusProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.Status);
     }
     else if (e.Property == Issue.DoneRatioProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.DoneRatio);
     }
     else if (e.Property == Issue.CreatedOnProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.CreatedOn);
     }
     else if (e.Property == Issue.UpdatedOnProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.UpdatedOn);
     }
     else if (e.Property == Issue.StartDateProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.StartDate);
     }
     else if (e.Property == Issue.DueDateProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.DueDate);
     }
     else if (e.Property == Issue.AuthorProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.Author);
     }
     else if (e.Property == Issue.AssignedToProperty)
     {
         InvalidateSubItemSafe((int)ColumnId.AssignedTo);
     }
 }