private void RegisterBugSolution_Load(object sender, EventArgs e) { // dgvBugSolutionInformation.DataSource = bugsolnclass.getAllBugSolutions(); dgvBugSolutionInformation.DataSource = bugSolutionEntryClass.getAllBugSolutions(); //dgvBugSolutionInformation.DataSource = bugsolnclass.getAllBugSolutions(); // cmbProject.DataSource = projectclass.getAllProjects(); // cmbProject.ValueMember = "projectId"; // cmbProject.DisplayMember = "projectName"; // cmbProject.SelectedIndex = -1; cmbBugDetails.DataSource = bugentryclass.getAllBugs(); cmbBugDetails.ValueMember = "bugId"; cmbBugDetails.DisplayMember = "bugDetails"; cmbBugDetails.SelectedIndex = -1; cmbProject.DataSource = projectclass.getAllProjects(); cmbProject.ValueMember = "projectId"; cmbProject.DisplayMember = "projectName"; cmbBugDetails.SelectedIndex = -1; cmbbugsolvedby.DataSource = memberclass.getAllMembers(); cmbbugsolvedby.ValueMember = "memberId"; cmbbugsolvedby.DisplayMember = "memberName"; cmbbugsolvedby.SelectedIndex = -1; }
private void BugEntryForm_Load(object sender, EventArgs e) { dgvBugEntryInformation.DataSource = bugentryclass.getAllBugs(); //get the name of Member cmbIdentifiedBy.DataSource = memberclass.getAllMembers(); cmbIdentifiedBy.DisplayMember = "memberName"; cmbIdentifiedBy.ValueMember = "memberId"; cmbIdentifiedBy.SelectedIndex = -1; //gets the name of Project cmbProject.DataSource = projectclass.getAllProjects(); cmbProject.ValueMember = "projectId"; cmbProject.DisplayMember = "projectName"; cmbProject.SelectedIndex = -1; }
private void GetBugsByProject_Load(object sender, EventArgs e) { try { cmbProjectName.DataSource = pc.getAllProjects(); cmbProjectName.DisplayMember = "ProjectName"; cmbProjectName.ValueMember = "ProjectId"; cmbProjectName.SelectedIndex = -1; } catch (Exception ex) { MessageBox.Show(ex.Message); } }
private void MembersinProject_Load(object sender, EventArgs e) { //displays the data on datagridview which are stored on Database dgvMemberProjectInformation.DataSource = memberprojectClass.getAllMembersInProject(); //shows Member Name cmbMember.DataSource = memberclass.getAllMembers(); cmbMember.ValueMember = "memberId"; cmbMember.DisplayMember = "memberName"; cmbMember.SelectedIndex = -1; //shows Project Name cmbProject.DataSource = projectclass.getAllProjects(); cmbProject.ValueMember = "projectId"; cmbProject.DisplayMember = "projectName"; cmbProject.SelectedIndex = -1; //Display list of Member Role cmbMemberRole.DataSource = userroleclass.getAllUserRoles(); cmbMemberRole.ValueMember = "userRoleId"; cmbMemberRole.DisplayMember = "userRole"; cmbMemberRole.SelectedIndex = -1; }
private void ManageProject_Load(object sender, EventArgs e) { dgvProjectInformation.DataSource = projectclass.getAllProjects(); }