public void SetDate(int row, int col, DayInfo info) { }
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); }
public void SetDate( int row, int col, DayInfo info) { gridCalendar.Rows[row].Cells[col].Value = info; }