File: winforms\Managed\System\WinForms\Design\IWinFormsEditorService.cs
Project: ndp\fx\src\System.Windows.Forms.csproj (System.Windows.Forms)
//------------------------------------------------------------------------------
// <copyright file="IWinFormsEditorService.cs" company="Microsoft">
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>                                                                
//------------------------------------------------------------------------------
 
/*
 */
namespace System.Windows.Forms.Design {
 
    using System.Diagnostics;
 
    using System.Windows.Forms;
 
    /// <include file='doc\IWinFormsEditorService.uex' path='docs/doc[@for="IWindowsFormsEditorService"]/*' />
    /// <devdoc>
    ///    <para>
    ///       Provides an interface to display Win Forms dialog
    ///       boxes and controls.
    ///    </para>
    /// </devdoc>
    public interface IWindowsFormsEditorService {
 
        /// <include file='doc\IWinFormsEditorService.uex' path='docs/doc[@for="IWindowsFormsEditorService.CloseDropDown"]/*' />
        /// <devdoc>
        /// <para>Closes a previously opened drop down
        /// list.</para>
        /// </devdoc>
        void CloseDropDown();
    
        /// <include file='doc\IWinFormsEditorService.uex' path='docs/doc[@for="IWindowsFormsEditorService.DropDownControl"]/*' />
        /// <devdoc>
        ///    <para>Displays the specified control in a drop down list.</para>
        /// </devdoc>
        void DropDownControl(Control control);
    
        /// <include file='doc\IWinFormsEditorService.uex' path='docs/doc[@for="IWindowsFormsEditorService.ShowDialog"]/*' />
        /// <devdoc>
        ///    <para>
        ///       Shows the specified dialog box.
        ///    </para>
        /// </devdoc>
        DialogResult ShowDialog(Form dialog);
    }
}