Exemple #1
0
        private void InitializeConfig()
        {
            this.ucUser = new UCTimePicker(this.dt_input);
            DropDownEditorButton button = base.ButtonsRight["SelectTime"] as DropDownEditorButton;

            button.Control                   = this.ucUser;
            this.dlhandler                   = new TimeDropListHandler(this.ucUser_TimeSelected);
            this.ucUser.TimeSelected        += this.dlhandler;
            base.BeforeEditorButtonDropDown += new BeforeEditorButtonDropDownEventHandler(this.TimeCombo_BeforeDropDown);
            this.AllowDrop                   = true;
            base.TextChanged                += new EventHandler(this.TimeCombo_TextChanged);
            base.KeyUp += new KeyEventHandler(this.TimeComboInput_KeyUp);
        }
Exemple #2
0
 private void InitializeConfig()
 {
     this.ucUser = new UCTimePicker(this.dt_input);
     this.popupContainer.Controls.Add(this.ucUser);
     base.Properties.PopupControl.Size = new Size(this.ucUser.Width, this.ucUser.Height);
     this.ucUser.Dock          = DockStyle.Fill;
     this.dlhandler            = new TimeDropListHandler(this.ucUser_TimeSelected);
     this.ucUser.TimeSelected += this.dlhandler;
     this.QueryPopUp          += new CancelEventHandler(this.TimeCombo_QueryPopUp);
     this.AllowDrop            = true;
     base.TextChanged         += new EventHandler(this.TimeCombo_TextChanged);
     base.KeyUp += new KeyEventHandler(this.TimeComboInput_KeyUp);
 }