Exemplo n.º 1
0
        void OnSelectDateControlCommit(object sender, EventArgs e)
        {
            SelectDateControl control = (SelectDateControl)sender;
            string            value   = ((DateTime)control.EditValue).ToString("MMMM, dd yyyy");

            ReplaceRange(value, control.Range);
        }
Exemplo n.º 2
0
        PopupControlBase CreateSelectDateControl()
        {
            SelectDateControl result = new SelectDateControl();

            result.Commit += OnSelectDateControlCommit;
            return(result);
        }