Ejemplo n.º 1
0
        public UCDataSelector()
        {
            InitializeComponent();
            ucTimeSelector = new UCTimeSelector();
            ucTimeSelector.OnTimeValueChanged += new DataGridViewCellEventHandler(ucTimeSelector_OnTimeValueChanged);
            popUpControl = new PopupControlHost(ucTimeSelector);

            OperatingSystem os = Environment.OSVersion;
            if (os.Version.Major < 6) 
            {
                this.Width = 270;
            }
        }
Ejemplo n.º 2
0
        public UCDataSelector_sms()
        {
            InitializeComponent();
            ucTimeSelector = new UCTimeSelector();
            ucTimeSelector.OnTimeValueChanged += new DataGridViewCellEventHandler(ucTimeSelector_OnTimeValueChanged);
            popUpControl = new PopupControlHost(ucTimeSelector);

            OperatingSystem os = Environment.OSVersion;

            if (os.Version.Major < 6)
            {
                this.Width = 270;
            }
        }