public SpecialDay(Calendar owner, DateTime date, int iImgBackgroundIndex, SpecialDayOccorence occor, params int[] indexs) { m_owner = owner; m_iImageBackIndex = iImgBackgroundIndex; m_indexs = new ImageIndexMappingCollection(this); if (indexs != null) { foreach (int index in indexs) { m_indexs.Add(new ImageIndexMapping(this, index)); } } m_date = date; m_occor = occor; }
public SpecialDay(Calendar owner) { m_owner = owner; m_indexs = new ImageIndexMappingCollection(this); }
public SpecialDay(DateTime date) { //m_owner = owner; m_indexs = new ImageIndexMappingCollection(this); m_date = date.Date; }
public SpecialDay() { m_indexs = new ImageIndexMappingCollection(this); }