示例#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));
 }