コード例 #1
0
 private void SelectDate(DateTime date)
 {
     SelectedDate = date;
     ChangeMonth(date);
     calendarView.SelectedDate = date;
     SelectedDateChanged.Dispatch(this, new EventArgs());
 }
コード例 #2
0
        private void DATE_PICKER_OnSelectedDateChanged(object sender, SelectionChangedEventArgs e)
        {
            _currentDate = DATE_PICKER.SelectedDate.GetValueOrDefault();
            SelectedDateChanged?.Invoke(_currentDate, e);

            Refresh();
        }
コード例 #3
0
 public void SendDateChange()
 {
     SelectedDateChanged?.Invoke(this, new EventArgs());
 }
コード例 #4
0
 void Handle_DateSelected(object sender, DateChangedEventArgs e)
 {
     SelectedDate = new DateTime?(Date);
     SelectedDateChanged?.Invoke(this, null);
 }