private void OnCalculateToolTip(object sender, ToolTipControllerCalcSizeEventArgs e) { if (e.SelectedControl is PopupContainerEdit) { PopupContainerEdit popup = (PopupContainerEdit)e.SelectedControl; if (popup == this) { if (EditValue != null) { e.Size = new Size(75, 20); } else { e.ShowInfo.Show = false; } } } }