/// <summary> /// when a project is double clicked, /// it sends the Project id to the Bugs Form and also loads the form. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { int projectid = 0; projectid = Convert.ToInt32(dataGridView1.CurrentRow.Cells["ID"].Value); Bugs Userspops; Userspops = new Bugs(projectid); Userspops.Show(); }
private void viewBugsButton_Click(object sender, EventArgs e) { Bugs openBugs = new Bugs(); openBugs.Show(); }