} //end profile change password button private void ProfileViewButton_Click(object sender, EventArgs e) { this.signOutLabel.Visible = true; this.loginBG.Visible = false; this.taskbarMenu.Visible = true; this.searchProjectsBG.Visible = false; this.profileBG.Visible = false; this.reportsBG.Visible = false; this.employeePageBG.Visible = false; this.projectPageBG.Visible = true; this.searchEmployeesBG.Visible = false; this.adminBackPanel.Visible = false; this.resetPassBG.Visible = false; this.changePassBG.Visible = false; Clear(); edit.EditID(profilePrjNo); edit.ListPhases(phasesGrid); edit.AutoDisplay(projectPagePNumBox, projectPageDescriptionBox, projectPageLeaderLNameBox, projectPageLeaderFNameBox, projectPageDeliverablesBox, projectPageHoursBox, profilePrjNo, completeCheckBox); edit.HoursDisplay(projectHoursLabel2); edit.DisplayNotes(notesGridView); edit.DisplayEmployees(projectPageAssignmentGrid, projectPageOnProjectGrid); edit.SetFlag(1); } //end profile view button