private void OnDateViewClick(Day day) { if (day == null) { return; } WpfDayViewEdit dayView = new WpfDayViewEdit(day); dayView.ShowDialog(); InitTimes(TimeServer.StartEndWeek(_baseDate)); }
private void OnDateViewDayClick(Day day) { if (day == null) { return; } WpfDayViewEdit dayView = new WpfDayViewEdit(day) { Enabled = false }; dayView.ShowDialog(); }