예제 #1
0
파일: Add.cs 프로젝트: whfm/Movie-Library
 private bool IsValidData()
 {
     return
         (Validation.IsPresent(txtCountry) && Validation.IsPresent(txtDirector) &&
          Validation.IsPresent(txtGenre) && Validation.IsPresent(txtTime) &&
          Validation.IsPresent(txtTitle) && Validation.IsPresent(txtYear) &&
          Validation.IsInt32(txtYear) && Validation.IsInt32(txtTime) &&
          Validation.IsntEmpty(listCast, textCast));
 }