public TaskCalendar ( ITask task, Gtk parent ) : System | ||
task | ITask | |
parent | Gtk | |
return | System |
public TaskCalendar(ITask task, Gtk.Widget parent)
{
this.task = task;
// If there's no date set (DateTime.MinValue), load the calendar
// with today's date.
if (task.DueDate == DateTime.MinValue)
date = DateTime.Now;
else
date = task.DueDate;
this.parent = parent;
eventCount = 0;
}