public IssuesForm(Plugin plugin, ConnectionSettings cs) { InitializeComponent(); issuesListColumnSorter = new IssuesListColumnSorter(); issuesList.ListViewItemSorter = (IComparer)issuesListColumnSorter; this.Text += String.Format(" v{0}", System.Reflection.Assembly.GetExecutingAssembly().GetName().Version); issueHeaders = null; selectedIssue = null; myAccountID = null; userNameMapping = new Dictionary<string, string>(); statusMapping = new Dictionary<string, string>(); this.cs = cs; searchString = String.Empty; plugin.StatusUpdated += new Plugin.StatusUpdatedHandler(plugin_StatusUpdated); InitializeStatusColorMapping(); }
internal IssueHeader(IssueHeaderData ihd) { data = ihd; }
public void SetIssueHeaderData(IssueHeaderData[] issueHeaders) { this.issueHeaders = issueHeaders; ListIssues(); }
private void buttonOK_Click(object sender, EventArgs e) { if (issuesList.SelectedItems.Count == 1) { selectedIssue = (IssueHeaderData)issuesList.SelectedItems[0].Tag; } }