コード例 #1
0
 public void SetDate(int row, int col, DayInfo info)
 {
 }
コード例 #2
0
        public string FormatCell(DayInfo info, out Color color)
        {
            if (info.date.Date == DateTime.Today)
                color = Color.Salmon;
            else if (_DateMonth.Month == info.date.Month)
                color = Color.LawnGreen;
            else
                color = Color.Gray;

            return info.date.Day.ToString() + Environment.NewLine + string.Join(Environment.NewLine, info.eventList);
        }
コード例 #3
0
 public void SetDate( int row, int col, DayInfo info)
 {
     gridCalendar.Rows[row].Cells[col].Value = info;
 }