public bool ClickDropDown() { if (_dropDownControl.DropState == EDropState.Closing || _dropDownControl.DropState == EDropState.Dropping) { return(false); } if (_dropDownControl.DropState == EDropState.Closed) { _dropDownControl.OpenDropDown(); if (DropDownAbriu != null) { DropDownAbriu.Invoke(this, new EventArgs()); } return(true); } if (_dropDownControl.DropState == EDropState.Dropped) { _dropDownControl.CloseDropDown(); if (DropDownFechou != null) { DropDownFechou.Invoke(this, new EventArgs()); } return(true); } return(true); }
public void AbrirDropDown() { if (_dropDownControl.DropState == EDropState.Closing || _dropDownControl.DropState == EDropState.Dropping) { return; } _dropDownControl.OpenDropDown(); if (DropDownAbriu != null) { DropDownAbriu.Invoke(this, new EventArgs()); } if (_timeOut > 0) { _timer.Start(); } }