Export (0) Print
Expand All

IDialogVisualizerService Interface

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

public interface IDialogVisualizerService

IDialogVisualizerService provides methods that a visualizer can call to display System.Windows forms, dialogs, and controls.

public class DebuggerSide : DialogDebuggerVisualizer
{
   override protected void Show(IDialogVisualizerService windowService, IVisualizerObjectProvider objectProvider)
   {
      ColorDialog myDialog = new ColorDialog();
      windowService.ShowDialog(myDialog);
   }
// Other class methods ommitted for clarity.
}
Show:
© 2014 Microsoft