예제 #1
0
        private void cmdFinalApprove_Click(object sender, EventArgs e)
        {
            DialogResult result = MessageBox.Show("Do you want to approve this project?", "Approve Project", MessageBoxButtons.YesNo, MessageBoxIcon.Question);

            if (result == DialogResult.Yes)
            {
                using (DataStuff sn = new DataStuff())
                {
                    sn.ProjectSaveApprovalStatus(ServerName, ProjectName, UserID, "Approve Final");
                }

                GetApprovalStatus();

                SendRequesterEmail();
            }
        }