Пример #1
0
        public providerSQLServer(AxXtremeCalendarControl.AxCalendarControl axCalendar)
        {
            m_axCalendar = axCalendar;
            m_DataHelper = new SQLDataHelper(axCalendar);

            m_oleDbConnection = new System.Data.OleDb.OleDbConnection();

            m_axCalendar.DoRetrieveDayEvents += new AxXtremeCalendarControl._DCalendarControlEvents_DoRetrieveDayEventsEventHandler(m_axCalendar_DoRetrieveDayEvents);

            m_axCalendar.DoCreateEvent    += new AxXtremeCalendarControl._DCalendarControlEvents_DoCreateEventEventHandler(m_axCalendar_DoCreateEvent);
            m_axCalendar.DoCreateRPattern += new AxXtremeCalendarControl._DCalendarControlEvents_DoCreateRPatternEventHandler(m_axCalendar_DoCreateRPattern);

            m_axCalendar.DoDeleteEvent    += new AxXtremeCalendarControl._DCalendarControlEvents_DoDeleteEventEventHandler(m_axCalendar_DoDeleteEvent);
            m_axCalendar.DoDeleteRPattern += new AxXtremeCalendarControl._DCalendarControlEvents_DoDeleteRPatternEventHandler(m_axCalendar_DoDeleteRPattern);

            m_axCalendar.DoReadEvent    += new AxXtremeCalendarControl._DCalendarControlEvents_DoReadEventEventHandler(m_axCalendar_DoReadEvent);
            m_axCalendar.DoReadRPattern += new AxXtremeCalendarControl._DCalendarControlEvents_DoReadRPatternEventHandler(m_axCalendar_DoReadRPattern);

            m_axCalendar.DoUpdateEvent    += new AxXtremeCalendarControl._DCalendarControlEvents_DoUpdateEventEventHandler(m_axCalendar_DoUpdateEvent);
            m_axCalendar.DoUpdateRPattern += new AxXtremeCalendarControl._DCalendarControlEvents_DoUpdateRPatternEventHandler(m_axCalendar_DoUpdateRPattern);

            m_axCalendar.DoGetUpcomingEvents += new AxXtremeCalendarControl._DCalendarControlEvents_DoGetUpcomingEventsEventHandler(m_axCalendar_DoGetUpcomingEvents);
        }
Пример #2
0
 public SQLDataHelper(AxXtremeCalendarControl.AxCalendarControl pCalendar)
 {
     m_pCalendar = pCalendar;
 }