} //end project page edit phase button private void EditLeaderButton_Click(object sender, EventArgs e) { try { hours = int.Parse(projectPageEditEmployeeText.Text); } catch (Exception ex) { Console.WriteLine(ex.Message); } edit.UpdateLeader(assignEID); edit.AssignEmployee(hours, assignEID); testPrjNo = projectPagePNumBox.Text; edit.EditID(testPrjNo); edit.ListPhases(phasesGrid); edit.HoursDisplay(projectHoursLabel2); edit.AutoDisplay(projectPagePNumBox, projectPageDescriptionBox, projectPageLeaderLNameBox, projectPageLeaderFNameBox, projectPageDeliverablesBox, projectPageHoursBox, testPrjNo, completeCheckBox); edit.HoursDisplay(projectHoursLabel2); edit.DisplayNotes(notesGridView); edit.DisplayEmployees(projectPageAssignmentGrid, projectPageOnProjectGrid); edit.SetFlag(1); } //end project page edit leader button