void ClosePopup() { if (OwnerEdit != null) { OwnerEdit.ClosePopup(); } }
public override void SetFilter(string filter, string columnName) { this.currentFilter = filter; TreeList.FilterNodes(); if (TreeList.VisibleNodesCount == 0) { OwnerEdit.ClosePopup(PopupCloseMode.Cancel); } }
void OnTreeListDoubleClick(object sender, EventArgs e) { TreeListHitInfo hi = TreeList.CalcHitInfo(TreeList.PointToClient(Control.MousePosition)); if (hi.HitInfoType == HitInfoType.Cell && GetSelectedDataItem() is TreeListLeaf) { OwnerEdit.ClosePopup(PopupCloseMode.Normal); } }
public override void ProcessKeyDown(KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { e.Handled = true; OwnerEdit.ClosePopup(); return; } base.ProcessKeyDown(e); }
void customButton_OkClick(object sender, EventArgs e) { OwnerEdit.ClosePopup(); }
protected override void OnOkButtonClick( ) { base.OnOkButtonClick(); OwnerEdit.EditValue = null; OwnerEdit.ClosePopup(); }