private void cmdRequestApproval_Click(object sender, EventArgs e) { DialogResult result = MessageBox.Show("This will send an email to all approvers to approve the project. Continue?", "Approval Request", MessageBoxButtons.YesNo, MessageBoxIcon.Question); if (result == DialogResult.Yes) { if (SendEmail()) { //Insert request record using (DataStuff sn = new DataStuff()) { sn.ProjectSaveApprovalRequest(ServerName, ProjectName, UserID); } GetRequestStatus(); } } }