Esempio n. 1
0
        } //end project page update hours button

        private void ProjectPageUpdateButton_Click(object sender, EventArgs e)
        {
            if (projectPagePNumBox.Text == "" || projectPagePNumBox.Text == null)
            {
                MessageBox.Show("Must enter project number");
            }
            else
            {
                edit.SetCompleteIncomplete(completeCheckBox);
                edit.EditProject(projectPagePNumBox, projectPageDescriptionBox, projectPageDeliverablesBox, projectPageHoursBox, projectPageStatusBox, eID);

                testPrjNo = projectPagePNumBox.Text;
                edit.EditID(testPrjNo);
                edit.ListPhases(phasesGrid);
                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 update button