コード例 #1
0
 public Boolean IsNameInvalidMsgCorrect(WorkdayCalendarExpectedData output)
 {
     if (output.CommonName != null)
     {
         return(NameTextField.GetInvalidTips().Equals(output.CommonName));
     }
     else
     {
         return(true);
     }
 }
コード例 #2
0
        public Boolean IsRangeInvalidMsgCorrect(WorkdayCalendarExpectedData output, int position)
        {
            int      arrayPosition       = position - 1;
            ComboBox OneEndMonthComboBox = GetOneEndMonthComboBox(position);

            if (output.SpecialDate != null)
            {
                return(OneEndMonthComboBox.GetInvalidTips().Contains(output.SpecialDate[arrayPosition].EndMonth));
            }
            else
            {
                return(true);
            }
        }