/// <summary> /// /// This will change the submit area to show that the /// send all was successful by changing the colours of /// the panel and components. /// /// </summary> private void ShowSuccess() { Button_Cancel.Hide(); Button_Preview.Hide(); Button_Send.Hide(); Label_Error.Hide(); Button_Dashboard.BackColor = Color.FromArgb(19, 174, 71); // Green Button_Dashboard.ForeColor = Color.White; Button_Dashboard.Show(); Label_SubmitTitle.ForeColor = Color.White; Label_SubmitTitle.Text = "Success."; Panel_Submit.BackColor = Color.FromArgb(19, 174, 71); // Green Label_Recruiter.ForeColor = Color.White; Label_RecruiterName.ForeColor = Color.White; Label_Applicants.ForeColor = Color.White; Label_ApplicantTotal.ForeColor = Color.White; }
/// <summary> /// /// Hide the error message to let the user /// know that it is no longer an issue. /// /// </summary> private void HideError() { Label_Error.Hide(); }