Example #1
0
        void OnProductControlCommit(object sender, EventArgs e)
        {
            SelectProductControl control = (SelectProductControl)sender;
            string value = (string)control.EditValue;

            ReplaceRange(value, control.Range);
        }
Example #2
0
        PopupControlBase CreateSelectProductControl()
        {
            SelectProductControl result = new SelectProductControl(products);

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