//Clear button clears all fields private void Clear_Click(object sender, EventArgs e) { ProjectNameData.Clear(); ProjectVersionData.Clear(); AuthorNameData.Clear(); ProjectLanguageData.ResetText(); ProjectInstallationData.Clear(); ProjectUsageData.Clear(); ProjectDescriptionData.Clear(); }
//Sees if checkbox is selected and enables Project usage field private void ProjectUsageDataRequired_CheckedChanged(object sender, EventArgs e) { if (ProjectUsageDataRequired.Checked) { ProjectUsageData.Clear(); ProjectUsageData.Enabled = true; } else { ProjectUsageData.Clear(); ProjectUsageData.Text = "No usage documentation required"; ProjectUsageData.Enabled = false; } }