Esempio n. 1
0
        private void FComboButton_Click(object sender, EventArgs e)
        {
            if (Environment.TickCount - FClosedTicks < 100)
            {
                return;
            }

            string column = Text.Replace("[", "");

            column           = column.Replace("]", "");
            FDropDown.Column = column;
            FDropDown.SetSize(Width, 250);
            FDropDown.Show(this, new Point(0, Height));
        }
Esempio n. 2
0
        private void FComboButton_Click(object sender, EventArgs e)
        {
            if (Environment.TickCount - FClosedTicks < 100)
            {
                return;
            }

            if (DropDownOpening != null)
            {
                DropDownOpening(this, EventArgs.Empty);
            }

            FDropDown.Column = Text;
            FDropDown.SetSize(Width, 250);
            FDropDown.Show(this, new Point(0, Height));
        }