private void BugClicked(object sender, EventArgs e, BugObject selectedBug) { //BugObject.Bugs.Clear(); // if a bug is referenced, should be able to find that bug object in this list so // that the label showing that bug's id is clickable in the info form display.DisplayBugInfoForm(selectedBug); }
private void BugClicked(object sender, EventArgs e, BugObject id) { BugObject.followedBugs.Clear(); //clear the list, we will need to clear all lists when more are added // i dont want to have to pass the display instance all the way to here BugObject.recentBugs.Clear(); BugObject.toDoBugs.Clear(); display.DisplayBugInfoForm(id); }
private void button1_Click(object sender, EventArgs e) { display.DisplayBugInfoForm(currentBug); }
private void BugClicked(object sender, EventArgs e, BugObject bug) { display.DisplayBugInfoForm(bug); }