Delen via


IDialogVisualizerService.ShowDialog Method (Form)

Namespace:  Microsoft.VisualStudio.DebuggerVisualizers
Assembly:  Microsoft.VisualStudio.DebuggerVisualizers (in Microsoft.VisualStudio.DebuggerVisualizers.dll)

Syntax

'Declaration
Function ShowDialog ( _
    form As Form _
) As DialogResult
DialogResult ShowDialog(
    Form form
)
DialogResult ShowDialog(
    Form^ form
)
abstract ShowDialog : 
        form:Form -> DialogResult
function ShowDialog(
    form : Form
) : DialogResult

Parameters

Return Value

Type: System.Windows.Forms.DialogResult
Displays a Windows Form.

Remarks

Displays a Windows Forms.

Examples

public class DebuggerSide : DialogDebuggerVisualizer
{
   override protected void Show(IDialogVisualizerService windowService, IVisualizerObjectProvider objectProvider)
   {
      Form myForm = new Form();
      // Add controls, etc. to your form
      windowService.ShowDialog(myForm);

   }
   // Other class methods ommitted for clarity.
}

.NET Framework Security

See Also

Reference

IDialogVisualizerService Interface

ShowDialog Overload

Microsoft.VisualStudio.DebuggerVisualizers Namespace