private void comboJiraTask_SelectedIndexChanged(object sender, EventArgs e) { if (comboJiraTask.Items.Contains((sender as ComboBox).Text)) { this.txtComments.Text = JiraInterface.GetJiraInfo((sender as ComboBox).Text).Summary; } }
public TimeEntry(string Project, string Task, string Employer, DateTime Start, DateTime Stop, string Comments, string JiraID) : this(Project, Task, Employer, Start, MIN_DATE, Comments, JiraInterface.GetJiraInfo(JiraID)) { }