private void CreateEvent_Click(object sender, EventArgs e) { if (_events.Add()) { if (!_events.SaveEvents()) { MessageBox.Show("Unable to save some or all events.", "Error Occurred.", MessageBoxButtons.OK, MessageBoxIcon.Error); } EIV.ClearEventInfo(); EIV.UpdateEvents(EventCal.GetControl().SelectionRange.Start); EIV.ToggleButtons(); RefreshEventSearch(); } }
private void Calendar_DateChanged(object sender, DateRangeEventArgs e) { EIV.ClearEventInfo(); EIV.UpdateEvents(EventCal.GetControl().SelectionRange.Start); EIV.ToggleButtons(); }