private void button1_Click(object sender, EventArgs e) { WcDay d1 = new WcDay(DateTime.Now); WcDay d2 = new WcDay(d1.DayDate.AddDays(1.0d)); button1.Text = d2.Equals(d1).ToString(); }
public WcDayChangeEventArgs(WcDay wcDay) { WcDay = wcDay; }
public WcDayCtrl(DateTime date) : this() { _wcDay = new WcDay(date); }
public WcDayCtrl(DateTime date, WсDayAttr dayAttr, string comment) : this() { _wcDay = new WcDay(date); _wcDay.UpdateWcDayAttr(dayAttr); _wcDay.UpdateWcDayComment(comment); }
public WcDayCtrl() { InitializeComponent(); #if TEST _wcDay = new WcDay(DateTime.Now); #endif }