Source/Editors/DateTimeAdv/DateTimeInput.cs

(开头部分) 64KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

#if FRAMEWORK20
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.Globalization;
using System.Collections;
using System.Net;
using DevComponents.DotNetBar;
using System.Drawing;
using System.Windows.Forms;
using DevComponents.Editors.Design;

namespace DevComponents.Editors.DateTimeAdv
{
    [ToolboxBitmap(typeof(DotNetBarManager), "DateTimeInput.ico"), ToolboxItem(true), Designer(typeof(DateTimeInputDesigner))]
    public class DateTimeInput : VisualControlBase, ICommandSource
    {
        #region Private Variables
        private DateTimeGroup _DateInputGroup = null;
        private ButtonItem _PopupItem = null;
        private MonthCalendarItem _MonthCalendar = null;
        #endregion

        #region Events
        /// <summary>
        /// Occurs when the Value or IsEmpty property changes.
        /// <remarks>
        /// This event is not raised when the entered date is earlier than MinDateTime or later than MaxDateTime.
        /// </remarks>
        /// </summary>
        public event EventHandler ValueChanged;
        /// <summary>
        /// Occurs when the Value or IsEmpty property changes. This event occurs at the same time and has same function as ValueChanged event. It is provided for binding support.
        /// </summary>
        public event EventHandler ValueObjectChanged;
        /// <summary>
        /// Occurs when the Format property value has changed. 
        /// </summary>
        public event EventHandler FormatChanged;
        /// <summary>
        /// Occurs when Clear button is clicked and allows you to cancel the default action performed by the button.
        /// </summary>
        public event CancelEventHandler ButtonClearClick;
        /// <summary>
        /// Occurs when Drop-Down button that shows calendar is clicked and allows you to cancel showing of the popup.
        /// </summary>
        public event CancelEventHandler ButtonDropDownClick;
        /// <summary>
        /// Occurs when ValueObject property is set and it allows you to provide custom parsing for the values.
        /// </summary>
        public event ParseDateTimeValueEventHandler ParseValue;
        /// <summary>
        /// Occurs when ShowCheckBox property is set to true and user changes the lock status of the control by clicking the check-box.
        /// </summary>
        public event EventHandler LockUpdateChanged;
        #endregion

        #region Constructor
        /// <summary>
后面还有 1550 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。