예제 #1
0
        private static void OnEventsChangedCallBack(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            CalendarMonth calendar = sender as CalendarMonth;

            if (calendar != null)
            {
                calendar.DrawDays();
            }
        }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((WPF.EventCalendar.Example.MainWindow)(target));
                return;

            case 2:
                this.Calendar = ((WPF.EventCalendar.CalendarMonth)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ScheduleView = ((MoneyManager.Main.Views.Schedule)(target));
                return;

            case 2:
                this.Calendar = ((WPF.EventCalendar.CalendarMonth)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.monthPlans = ((System.Windows.Controls.Border)(target));
                return;

            case 2:
                this.Calendar = ((WPF.EventCalendar.CalendarMonth)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #5
0
 public CalendarEventView(SolidColorBrush color, CalendarMonth calendar) : this()
 {
     _calendar             = calendar;
     DefaultBackfoundColor = BackgroundColor = color;
 }