Export (0) Print
Expand All

IDialogVisualizerService.ShowDialog Method (Form)

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

DialogResult ShowDialog(
	Form form
)

Parameters

form
Type: System.Windows.Forms.Form

Any Windows Form object derived from System.Windows.Forms.Form.

Return Value

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

Displays a Windows Forms.

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.
}

Show:
© 2014 Microsoft