Name
IWindowsFormsEditorService
Synopsis
This service can be obtained from the local
IServiceProvider
. Typically, this will be the
instance supplied to the EditValue()
method.
DropDownControl()
will show a
System.Windows.Forms.Control
as a drop-down, and
CloseDropDown()
will clear any control currently
showing. Alternatively, you can show a
System.Windows.Forms.Form
using
ShowDialog()
.
public interface IWindowsFormsEditorService { // Public Instance Methods public void CloseDropDown(); public void DropDownControl(System.Windows.Forms.Control control); public DialogResult ShowDialog( System.Windows.Forms.Form dialog); }
Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.