Metodo IDialogVisualizerService.ShowDialog (Form)

Spazio dei nomi:  Microsoft.VisualStudio.DebuggerVisualizers
Assembly:  Microsoft.VisualStudio.DebuggerVisualizers (in Microsoft.VisualStudio.DebuggerVisualizers.dll)

Sintassi

'Dichiarazione
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

Parametri

Valore restituito

Tipo: System.Windows.Forms.DialogResult
Visualizza un Windows Form.

Note

Visualizza un Windows Form.

Esempi

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

Sicurezza di .NET Framework

Vedere anche

Riferimenti

IDialogVisualizerService Interfaccia

Overload ShowDialog

Spazio dei nomi Microsoft.VisualStudio.DebuggerVisualizers