예제 #1
0
파일: Form1.cs 프로젝트: GreenVortex/NESS
 //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();
 }
예제 #2
0
파일: Form1.cs 프로젝트: GreenVortex/NESS
 //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;
     }
 }