Пример #1
0
        public IssuesItem(IssuesViewItem livi)
        {
            if (livi == null)
            {
                throw new ArgumentNullException("livi");
            }

            _livi  = livi;
            _index = livi.Index;
        }
Пример #2
0
 /// <summary>
 /// Returns the issue id if there is only one issue
 /// </summary>
 /// <param name="issueId"></param>
 public bool IsSingleIssue(out string issueId)
 {
     issueId = null;
     if (issuesView1.Items.Count == 1)
     {
         IssuesViewItem ivi = issuesView1.Items[0] as IssuesViewItem;
         if (ivi != null)
         {
             issueId = ivi.IssueId;
         }
     }
     return(!string.IsNullOrEmpty(issueId));
 }