Inheritance: FarsiLibrary.Win.BaseClasses.BaseDateControl
示例#1
0
        protected virtual void CreateDayView()
        {
            dayView = new FADayView
            {
                Visible = false,
                Name    = "DayView"
            };

            dayView.SelectedDateTimeChanged += (sender, e) => SelectedDateTime = dayView.SelectedDateTime;
            dayView.ViewDateTimeChanged     += (sender, e) => ViewDateTime = dayView.ViewDateTime;
            dayView.Click += (sender, e) => ShowMonthView();
            Controls.Add(dayView);
        }
示例#2
0
        protected virtual void CreateDayView()
        {
            dayView = new FADayView
            {
                Visible = false,
                Name = "DayView"
            };

            dayView.SelectedDateTimeChanged += (sender, e) => SelectedDateTime = dayView.SelectedDateTime;
            dayView.ViewDateTimeChanged += (sender, e) => ViewDateTime = dayView.ViewDateTime;
            dayView.Click += (sender, e) => ShowMonthView();
            Controls.Add(dayView);
        }