979 lines
76 KiB
XML
979 lines
76 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<Type Name="MessageBox" FullName="System.Windows.Forms.MessageBox">
|
||
|
<TypeSignature Language="C#" Value="public class MessageBox" />
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyName>System.Windows.Forms</AssemblyName>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<Base>
|
||
|
<BaseTypeName>System.Object</BaseTypeName>
|
||
|
</Base>
|
||
|
<Interfaces />
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>You cannot create a new instance of the <see cref="T:System.Windows.Forms.MessageBox" /> class. To display a message box, call the static method <see cref="M:System.Windows.Forms.MessageBox.Show(System.String,System.String,System.Windows.Forms.MessageBoxButtons,System.Windows.Forms.MessageBoxIcon,System.Windows.Forms.MessageBoxDefaultButton,System.Windows.Forms.MessageBoxOptions,System.Boolean)" />. The title, message, buttons, and icons displayed in the message box are determined by parameters that you pass to this method.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Displays a message box that can contain text, buttons, and symbols that inform and instruct the user.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
<Members>
|
||
|
<Member MemberName="Show">
|
||
|
<MemberSignature Language="C#" Value="public static System.Windows.Forms.DialogResult Show (string text);" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Windows.Forms.DialogResult</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="text" Type="System.String" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>By default, the message box displays an <ui>OK</ui> button. The message box does not contain a caption in the title.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Displays a message box with specified text.</para>
|
||
|
</summary>
|
||
|
<returns>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>One of the <see cref="T:System.Windows.Forms.DialogResult" /> values.</para>
|
||
|
</returns>
|
||
|
<param name="text">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the message box. </param>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="Show">
|
||
|
<MemberSignature Language="C#" Value="public static System.Windows.Forms.DialogResult Show (string text, string caption);" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Windows.Forms.DialogResult</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="text" Type="System.String" />
|
||
|
<Parameter Name="caption" Type="System.String" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>By default, the message box displays an <ui>OK</ui> button.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Displays a message box with specified text and caption.</para>
|
||
|
</summary>
|
||
|
<returns>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>One of the <see cref="T:System.Windows.Forms.DialogResult" /> values.</para>
|
||
|
</returns>
|
||
|
<param name="text">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the message box. </param>
|
||
|
<param name="caption">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the title bar of the message box. </param>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="Show">
|
||
|
<MemberSignature Language="C#" Value="public static System.Windows.Forms.DialogResult Show (System.Windows.Forms.IWin32Window owner, string text);" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Windows.Forms.DialogResult</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="owner" Type="System.Windows.Forms.IWin32Window" />
|
||
|
<Parameter Name="text" Type="System.String" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>You can use the <paramref name="owner" /> parameter to specify a particular object, which implements the <see cref="T:System.Windows.Forms.IWin32Window" /> interface, that will serve as the dialog box's top-level window and owner. A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur.</para>
|
||
|
<para>By default, the message box displays an <ui>OK</ui> button. The message box does not contain a caption in the title.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Displays a message box in front of the specified object and with the specified text.</para>
|
||
|
</summary>
|
||
|
<returns>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>One of the <see cref="T:System.Windows.Forms.DialogResult" /> values.</para>
|
||
|
</returns>
|
||
|
<param name="owner">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />An implementation of <see cref="T:System.Windows.Forms.IWin32Window" /> that will own the modal dialog box. </param>
|
||
|
<param name="text">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the message box. </param>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="Show">
|
||
|
<MemberSignature Language="C#" Value="public static System.Windows.Forms.DialogResult Show (string text, string caption, System.Windows.Forms.MessageBoxButtons buttons);" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Windows.Forms.DialogResult</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="text" Type="System.String" />
|
||
|
<Parameter Name="caption" Type="System.String" />
|
||
|
<Parameter Name="buttons" Type="System.Windows.Forms.MessageBoxButtons" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>You can have a maximum of three buttons on the message box.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Displays a message box with specified text, caption, and buttons.</para>
|
||
|
</summary>
|
||
|
<returns>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>One of the <see cref="T:System.Windows.Forms.DialogResult" /> values.</para>
|
||
|
</returns>
|
||
|
<param name="text">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the message box. </param>
|
||
|
<param name="caption">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the title bar of the message box. </param>
|
||
|
<param name="buttons">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxButtons" /> values that specifies which buttons to display in the message box. </param>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="Show">
|
||
|
<MemberSignature Language="C#" Value="public static System.Windows.Forms.DialogResult Show (System.Windows.Forms.IWin32Window owner, string text, string caption);" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Windows.Forms.DialogResult</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="owner" Type="System.Windows.Forms.IWin32Window" />
|
||
|
<Parameter Name="text" Type="System.String" />
|
||
|
<Parameter Name="caption" Type="System.String" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>You can use the <paramref name="owner" /> parameter to specify a particular object, which implements the <see cref="T:System.Windows.Forms.IWin32Window" /> interface, that will serve as the dialog box's top-level window and owner. A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur.</para>
|
||
|
<para>By default, the message box displays an <ui>OK</ui> button.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Displays a message box in front of the specified object and with the specified text and caption.</para>
|
||
|
</summary>
|
||
|
<returns>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>One of the <see cref="T:System.Windows.Forms.DialogResult" /> values.</para>
|
||
|
</returns>
|
||
|
<param name="owner">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />An implementation of <see cref="T:System.Windows.Forms.IWin32Window" /> that will own the modal dialog box.</param>
|
||
|
<param name="text">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the message box. </param>
|
||
|
<param name="caption">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the title bar of the message box. </param>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="Show">
|
||
|
<MemberSignature Language="C#" Value="public static System.Windows.Forms.DialogResult Show (string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon);" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Windows.Forms.DialogResult</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="text" Type="System.String" />
|
||
|
<Parameter Name="caption" Type="System.String" />
|
||
|
<Parameter Name="buttons" Type="System.Windows.Forms.MessageBoxButtons" />
|
||
|
<Parameter Name="icon" Type="System.Windows.Forms.MessageBoxIcon" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>You can have a maximum of three buttons on the message box.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Displays a message box with specified text, caption, buttons, and icon.</para>
|
||
|
</summary>
|
||
|
<returns>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>One of the <see cref="T:System.Windows.Forms.DialogResult" /> values.</para>
|
||
|
</returns>
|
||
|
<param name="text">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the message box. </param>
|
||
|
<param name="caption">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the title bar of the message box. </param>
|
||
|
<param name="buttons">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxButtons" /> values that specifies which buttons to display in the message box. </param>
|
||
|
<param name="icon">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxIcon" /> values that specifies which icon to display in the message box. </param>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="Show">
|
||
|
<MemberSignature Language="C#" Value="public static System.Windows.Forms.DialogResult Show (System.Windows.Forms.IWin32Window owner, string text, string caption, System.Windows.Forms.MessageBoxButtons buttons);" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Windows.Forms.DialogResult</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="owner" Type="System.Windows.Forms.IWin32Window" />
|
||
|
<Parameter Name="text" Type="System.String" />
|
||
|
<Parameter Name="caption" Type="System.String" />
|
||
|
<Parameter Name="buttons" Type="System.Windows.Forms.MessageBoxButtons" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>You can use the <paramref name="owner" /> parameter to specify a particular object, which implements the <see cref="T:System.Windows.Forms.IWin32Window" /> interface, that will serve as the dialog box's top-level window and owner. A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur.</para>
|
||
|
<para>You can have a maximum of three buttons on the message box.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Displays a message box in front of the specified object and with the specified text, caption, and buttons.</para>
|
||
|
</summary>
|
||
|
<returns>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>One of the <see cref="T:System.Windows.Forms.DialogResult" /> values.</para>
|
||
|
</returns>
|
||
|
<param name="owner">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />An implementation of <see cref="T:System.Windows.Forms.IWin32Window" /> that will own the modal dialog box.</param>
|
||
|
<param name="text">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the message box. </param>
|
||
|
<param name="caption">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the title bar of the message box. </param>
|
||
|
<param name="buttons">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxButtons" /> values that specifies which buttons to display in the message box. </param>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="Show">
|
||
|
<MemberSignature Language="C#" Value="public static System.Windows.Forms.DialogResult Show (string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton);" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Windows.Forms.DialogResult</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="text" Type="System.String" />
|
||
|
<Parameter Name="caption" Type="System.String" />
|
||
|
<Parameter Name="buttons" Type="System.Windows.Forms.MessageBoxButtons" />
|
||
|
<Parameter Name="icon" Type="System.Windows.Forms.MessageBoxIcon" />
|
||
|
<Parameter Name="defaultButton" Type="System.Windows.Forms.MessageBoxDefaultButton" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>You can have a maximum of three buttons on the message box.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Displays a message box with the specified text, caption, buttons, icon, and default button.</para>
|
||
|
</summary>
|
||
|
<returns>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>One of the <see cref="T:System.Windows.Forms.DialogResult" /> values.</para>
|
||
|
</returns>
|
||
|
<param name="text">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the message box. </param>
|
||
|
<param name="caption">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the title bar of the message box. </param>
|
||
|
<param name="buttons">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxButtons" /> values that specifies which buttons to display in the message box. </param>
|
||
|
<param name="icon">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxIcon" /> values that specifies which icon to display in the message box. </param>
|
||
|
<param name="defaultButton">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxDefaultButton" /> values that specifies the default button for the message box. </param>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="Show">
|
||
|
<MemberSignature Language="C#" Value="public static System.Windows.Forms.DialogResult Show (System.Windows.Forms.IWin32Window owner, string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon);" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Windows.Forms.DialogResult</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="owner" Type="System.Windows.Forms.IWin32Window" />
|
||
|
<Parameter Name="text" Type="System.String" />
|
||
|
<Parameter Name="caption" Type="System.String" />
|
||
|
<Parameter Name="buttons" Type="System.Windows.Forms.MessageBoxButtons" />
|
||
|
<Parameter Name="icon" Type="System.Windows.Forms.MessageBoxIcon" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>You can use the <paramref name="owner" /> parameter to specify a particular object, which implements the <see cref="T:System.Windows.Forms.IWin32Window" /> interface, that will serve as the dialog box's top-level window and owner. A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur.</para>
|
||
|
<para>You can have a maximum of three buttons on the message box.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Displays a message box in front of the specified object and with the specified text, caption, buttons, and icon.</para>
|
||
|
</summary>
|
||
|
<returns>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>One of the <see cref="T:System.Windows.Forms.DialogResult" /> values.</para>
|
||
|
</returns>
|
||
|
<param name="owner">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />An implementation of <see cref="T:System.Windows.Forms.IWin32Window" /> that will own the modal dialog box.</param>
|
||
|
<param name="text">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the message box. </param>
|
||
|
<param name="caption">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the title bar of the message box. </param>
|
||
|
<param name="buttons">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxButtons" /> values that specifies which buttons to display in the message box. </param>
|
||
|
<param name="icon">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxIcon" /> values that specifies which icon to display in the message box. </param>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="Show">
|
||
|
<MemberSignature Language="C#" Value="public static System.Windows.Forms.DialogResult Show (string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton, System.Windows.Forms.MessageBoxOptions options);" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Windows.Forms.DialogResult</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="text" Type="System.String" />
|
||
|
<Parameter Name="caption" Type="System.String" />
|
||
|
<Parameter Name="buttons" Type="System.Windows.Forms.MessageBoxButtons" />
|
||
|
<Parameter Name="icon" Type="System.Windows.Forms.MessageBoxIcon" />
|
||
|
<Parameter Name="defaultButton" Type="System.Windows.Forms.MessageBoxDefaultButton" />
|
||
|
<Parameter Name="options" Type="System.Windows.Forms.MessageBoxOptions" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>You can have a maximum of three buttons on the message box.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Displays a message box with the specified text, caption, buttons, icon, default button, and options.</para>
|
||
|
</summary>
|
||
|
<returns>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>One of the <see cref="T:System.Windows.Forms.DialogResult" /> values.</para>
|
||
|
</returns>
|
||
|
<param name="text">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the message box. </param>
|
||
|
<param name="caption">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the title bar of the message box. </param>
|
||
|
<param name="buttons">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxButtons" /> values that specifies which buttons to display in the message box. </param>
|
||
|
<param name="icon">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxIcon" /> values that specifies which icon to display in the message box. </param>
|
||
|
<param name="defaultButton">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxDefaultButton" /> values that specifies the default button for the message box. </param>
|
||
|
<param name="options">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxOptions" /> values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults.</param>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="Show">
|
||
|
<MemberSignature Language="C#" Value="public static System.Windows.Forms.DialogResult Show (System.Windows.Forms.IWin32Window owner, string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton);" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Windows.Forms.DialogResult</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="owner" Type="System.Windows.Forms.IWin32Window" />
|
||
|
<Parameter Name="text" Type="System.String" />
|
||
|
<Parameter Name="caption" Type="System.String" />
|
||
|
<Parameter Name="buttons" Type="System.Windows.Forms.MessageBoxButtons" />
|
||
|
<Parameter Name="icon" Type="System.Windows.Forms.MessageBoxIcon" />
|
||
|
<Parameter Name="defaultButton" Type="System.Windows.Forms.MessageBoxDefaultButton" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>You can use the <paramref name="owner" /> parameter to specify a particular object, which implements the <see cref="T:System.Windows.Forms.IWin32Window" /> interface, that will serve as the dialog box's top-level window and owner. A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur.</para>
|
||
|
<para>You can have a maximum of three buttons on the message box.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Displays a message box in front of the specified object and with the specified text, caption, buttons, icon, and default button.</para>
|
||
|
</summary>
|
||
|
<returns>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>One of the <see cref="T:System.Windows.Forms.DialogResult" /> values.</para>
|
||
|
</returns>
|
||
|
<param name="owner">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />An implementation of <see cref="T:System.Windows.Forms.IWin32Window" /> that will own the modal dialog box.</param>
|
||
|
<param name="text">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the message box. </param>
|
||
|
<param name="caption">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the title bar of the message box. </param>
|
||
|
<param name="buttons">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxButtons" /> values that specifies which buttons to display in the message box. </param>
|
||
|
<param name="icon">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxIcon" /> values that specifies which icon to display in the message box. </param>
|
||
|
<param name="defaultButton">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxDefaultButton" /> values that specifies the default button for the message box. </param>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="Show">
|
||
|
<MemberSignature Language="C#" Value="public static System.Windows.Forms.DialogResult Show (string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton, System.Windows.Forms.MessageBoxOptions options, bool displayHelpButton);" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Windows.Forms.DialogResult</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="text" Type="System.String" />
|
||
|
<Parameter Name="caption" Type="System.String" />
|
||
|
<Parameter Name="buttons" Type="System.Windows.Forms.MessageBoxButtons" />
|
||
|
<Parameter Name="icon" Type="System.Windows.Forms.MessageBoxIcon" />
|
||
|
<Parameter Name="defaultButton" Type="System.Windows.Forms.MessageBoxDefaultButton" />
|
||
|
<Parameter Name="options" Type="System.Windows.Forms.MessageBoxOptions" />
|
||
|
<Parameter Name="displayHelpButton" Type="System.Boolean" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur.</para>
|
||
|
<para>When the user clicks the Help button, the form that owns the message box (or the active form) receives the <see cref="E:System.Windows.Forms.Control.HelpRequested" /> event. Handle the <see cref="E:System.Windows.Forms.Control.HelpRequested" /> event to perform custom Help actions.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button.</para>
|
||
|
</summary>
|
||
|
<returns>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>One of the <see cref="T:System.Windows.Forms.DialogResult" /> values.</para>
|
||
|
</returns>
|
||
|
<param name="text">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the message box. </param>
|
||
|
<param name="caption">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the title bar of the message box. </param>
|
||
|
<param name="buttons">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxButtons" /> values that specifies which buttons to display in the message box. </param>
|
||
|
<param name="icon">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxIcon" /> values that specifies which icon to display in the message box. </param>
|
||
|
<param name="defaultButton">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxDefaultButton" /> values that specifies the default button for the message box. </param>
|
||
|
<param name="options">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxOptions" /> values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults.</param>
|
||
|
<param name="displayHelpButton">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />true to show the Help button; otherwise, false. The default is false. </param>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="Show">
|
||
|
<MemberSignature Language="C#" Value="public static System.Windows.Forms.DialogResult Show (string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton, System.Windows.Forms.MessageBoxOptions options, string helpFilePath);" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Windows.Forms.DialogResult</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="text" Type="System.String" />
|
||
|
<Parameter Name="caption" Type="System.String" />
|
||
|
<Parameter Name="buttons" Type="System.Windows.Forms.MessageBoxButtons" />
|
||
|
<Parameter Name="icon" Type="System.Windows.Forms.MessageBoxIcon" />
|
||
|
<Parameter Name="defaultButton" Type="System.Windows.Forms.MessageBoxDefaultButton" />
|
||
|
<Parameter Name="options" Type="System.Windows.Forms.MessageBoxOptions" />
|
||
|
<Parameter Name="helpFilePath" Type="System.String" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur.</para>
|
||
|
<para>When the user clicks Help button, the Help file specified in the <paramref name="helpFilePath" /> parameter is opened. The form that owns the message box (or the active form) also receives the <see cref="E:System.Windows.Forms.Control.HelpRequested" /> event.</para>
|
||
|
<para>The <paramref name="helpFilePath" /> parameter can be of the form C:\path\sample.chm or /folder/file.htm.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file.</para>
|
||
|
</summary>
|
||
|
<returns>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>One of the <see cref="T:System.Windows.Forms.DialogResult" /> values.</para>
|
||
|
</returns>
|
||
|
<param name="text">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the message box. </param>
|
||
|
<param name="caption">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the title bar of the message box. </param>
|
||
|
<param name="buttons">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxButtons" /> values that specifies which buttons to display in the message box. </param>
|
||
|
<param name="icon">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxIcon" /> values that specifies which icon to display in the message box. </param>
|
||
|
<param name="defaultButton">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxDefaultButton" /> values that specifies the default button for the message box. </param>
|
||
|
<param name="options">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxOptions" /> values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults.</param>
|
||
|
<param name="helpFilePath">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The path and name of the Help file to display when the user clicks the Help button. </param>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="Show">
|
||
|
<MemberSignature Language="C#" Value="public static System.Windows.Forms.DialogResult Show (System.Windows.Forms.IWin32Window owner, string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton, System.Windows.Forms.MessageBoxOptions options);" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Windows.Forms.DialogResult</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="owner" Type="System.Windows.Forms.IWin32Window" />
|
||
|
<Parameter Name="text" Type="System.String" />
|
||
|
<Parameter Name="caption" Type="System.String" />
|
||
|
<Parameter Name="buttons" Type="System.Windows.Forms.MessageBoxButtons" />
|
||
|
<Parameter Name="icon" Type="System.Windows.Forms.MessageBoxIcon" />
|
||
|
<Parameter Name="defaultButton" Type="System.Windows.Forms.MessageBoxDefaultButton" />
|
||
|
<Parameter Name="options" Type="System.Windows.Forms.MessageBoxOptions" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>You can use the <paramref name="owner" /> parameter to specify a particular object, which implements the <see cref="T:System.Windows.Forms.IWin32Window" /> interface, that will serve as the dialog box's top-level window and owner. A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur.</para>
|
||
|
<para>You can have a maximum of three buttons on the message box.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Displays a message box in front of the specified object and with the specified text, caption, buttons, icon, default button, and options.</para>
|
||
|
</summary>
|
||
|
<returns>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>One of the <see cref="T:System.Windows.Forms.DialogResult" /> values.</para>
|
||
|
</returns>
|
||
|
<param name="owner">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />An implementation of <see cref="T:System.Windows.Forms.IWin32Window" /> that will own the modal dialog box.</param>
|
||
|
<param name="text">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the message box. </param>
|
||
|
<param name="caption">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the title bar of the message box. </param>
|
||
|
<param name="buttons">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxButtons" /> values that specifies which buttons to display in the message box. </param>
|
||
|
<param name="icon">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxIcon" /> values that specifies which icon to display in the message box. </param>
|
||
|
<param name="defaultButton">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxDefaultButton" /> values the specifies the default button for the message box. </param>
|
||
|
<param name="options">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxOptions" /> values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults.</param>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="Show">
|
||
|
<MemberSignature Language="C#" Value="public static System.Windows.Forms.DialogResult Show (string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton, System.Windows.Forms.MessageBoxOptions options, string helpFilePath, string keyword);" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Windows.Forms.DialogResult</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="text" Type="System.String" />
|
||
|
<Parameter Name="caption" Type="System.String" />
|
||
|
<Parameter Name="buttons" Type="System.Windows.Forms.MessageBoxButtons" />
|
||
|
<Parameter Name="icon" Type="System.Windows.Forms.MessageBoxIcon" />
|
||
|
<Parameter Name="defaultButton" Type="System.Windows.Forms.MessageBoxDefaultButton" />
|
||
|
<Parameter Name="options" Type="System.Windows.Forms.MessageBoxOptions" />
|
||
|
<Parameter Name="helpFilePath" Type="System.String" />
|
||
|
<Parameter Name="keyword" Type="System.String" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur.</para>
|
||
|
<para>When the user clicks the Help button, the Help file specified in the <paramref name="helpFilePath" /> parameter is opened and the Help keyword topic identified by the <paramref name="keyword" /> parameter is displayed. The form that owns the message box (or the active form) also receives the <see cref="E:System.Windows.Forms.Control.HelpRequested" /> event.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file and Help keyword.</para>
|
||
|
</summary>
|
||
|
<returns>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>One of the <see cref="T:System.Windows.Forms.DialogResult" /> values.</para>
|
||
|
</returns>
|
||
|
<param name="text">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the message box. </param>
|
||
|
<param name="caption">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the title bar of the message box. </param>
|
||
|
<param name="buttons">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxButtons" /> values that specifies which buttons to display in the message box. </param>
|
||
|
<param name="icon">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxIcon" /> values that specifies which icon to display in the message box. </param>
|
||
|
<param name="defaultButton">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxDefaultButton" /> values that specifies the default button for the message box. </param>
|
||
|
<param name="options">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxOptions" /> values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults.</param>
|
||
|
<param name="helpFilePath">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The path and name of the Help file to display when the user clicks the Help button. </param>
|
||
|
<param name="keyword">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The Help keyword to display when the user clicks the Help button. </param>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="Show">
|
||
|
<MemberSignature Language="C#" Value="public static System.Windows.Forms.DialogResult Show (string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton, System.Windows.Forms.MessageBoxOptions options, string helpFilePath, System.Windows.Forms.HelpNavigator navigator);" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Windows.Forms.DialogResult</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="text" Type="System.String" />
|
||
|
<Parameter Name="caption" Type="System.String" />
|
||
|
<Parameter Name="buttons" Type="System.Windows.Forms.MessageBoxButtons" />
|
||
|
<Parameter Name="icon" Type="System.Windows.Forms.MessageBoxIcon" />
|
||
|
<Parameter Name="defaultButton" Type="System.Windows.Forms.MessageBoxDefaultButton" />
|
||
|
<Parameter Name="options" Type="System.Windows.Forms.MessageBoxOptions" />
|
||
|
<Parameter Name="helpFilePath" Type="System.String" />
|
||
|
<Parameter Name="navigator" Type="System.Windows.Forms.HelpNavigator" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur.</para>
|
||
|
<para>When the user clicks the Help button, the help file specified in the <paramref name="helpFilePath" /> parameter is opened and the Help content identified by the <paramref name="navigator" /> parameter is displayed. The form that owns the message box (or the active form) also receives the <see cref="E:System.Windows.Forms.Control.HelpRequested" /> event.</para>
|
||
|
<para>Compiled Help files provide table of contents, index, search, and keyword links in pages. You can use the following values for <paramref name="navigator" />: <see cref="F:System.Windows.Forms.HelpNavigator.TableOfContents" />, <see cref="F:System.Windows.Forms.HelpNavigator.Find" />, <see cref="F:System.Windows.Forms.HelpNavigator.Index" />, or <see cref="F:System.Windows.Forms.HelpNavigator.Topic" />.</para>
|
||
|
<para>The <paramref name="helpFilePath" /> parameter can be of the form C:\path\sample.chm or /folder/file.htm.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file and HelpNavigator.</para>
|
||
|
</summary>
|
||
|
<returns>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>One of the <see cref="T:System.Windows.Forms.DialogResult" /> values.</para>
|
||
|
</returns>
|
||
|
<param name="text">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the message box. </param>
|
||
|
<param name="caption">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the title bar of the message box. </param>
|
||
|
<param name="buttons">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxButtons" /> values that specifies which buttons to display in the message box. </param>
|
||
|
<param name="icon">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxIcon" /> values that specifies which icon to display in the message box. </param>
|
||
|
<param name="defaultButton">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxDefaultButton" /> values that specifies the default button for the message box. </param>
|
||
|
<param name="options">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxOptions" /> values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults.</param>
|
||
|
<param name="helpFilePath">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The path and name of the Help file to display when the user clicks the Help button. </param>
|
||
|
<param name="navigator">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.HelpNavigator" /> values. </param>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="Show">
|
||
|
<MemberSignature Language="C#" Value="public static System.Windows.Forms.DialogResult Show (System.Windows.Forms.IWin32Window owner, string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton, System.Windows.Forms.MessageBoxOptions options, string helpFilePath);" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Windows.Forms.DialogResult</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="owner" Type="System.Windows.Forms.IWin32Window" />
|
||
|
<Parameter Name="text" Type="System.String" />
|
||
|
<Parameter Name="caption" Type="System.String" />
|
||
|
<Parameter Name="buttons" Type="System.Windows.Forms.MessageBoxButtons" />
|
||
|
<Parameter Name="icon" Type="System.Windows.Forms.MessageBoxIcon" />
|
||
|
<Parameter Name="defaultButton" Type="System.Windows.Forms.MessageBoxDefaultButton" />
|
||
|
<Parameter Name="options" Type="System.Windows.Forms.MessageBoxOptions" />
|
||
|
<Parameter Name="helpFilePath" Type="System.String" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur. You can use the <paramref name="owner" /> parameter to specify a particular object, which implements the <see cref="T:System.Windows.Forms.IWin32Window" /> interface, that will serve as the dialog box's top-level window and owner.</para>
|
||
|
<para>When the user clicks the Help button, the Help file specified in the <paramref name="helpFilePath" /> parameter is opened. The form that owns the message box (or the active form) also receives the <see cref="E:System.Windows.Forms.Control.HelpRequested" /> event.</para>
|
||
|
<para>The <paramref name="helpFilePath" /> parameter can be of the form C:\path\sample.chm or /folder/file.htm.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file.</para>
|
||
|
</summary>
|
||
|
<returns>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>One of the <see cref="T:System.Windows.Forms.DialogResult" /> values.</para>
|
||
|
</returns>
|
||
|
<param name="owner">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />An implementation of <see cref="T:System.Windows.Forms.IWin32Window" /> that will own the modal dialog box.</param>
|
||
|
<param name="text">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the message box. </param>
|
||
|
<param name="caption">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the title bar of the message box. </param>
|
||
|
<param name="buttons">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxButtons" /> values that specifies which buttons to display in the message box. </param>
|
||
|
<param name="icon">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxIcon" /> values that specifies which icon to display in the message box. </param>
|
||
|
<param name="defaultButton">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxDefaultButton" /> values that specifies the default button for the message box. </param>
|
||
|
<param name="options">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxOptions" /> values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults.</param>
|
||
|
<param name="helpFilePath">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The path and name of the Help file to display when the user clicks the Help button. </param>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="Show">
|
||
|
<MemberSignature Language="C#" Value="public static System.Windows.Forms.DialogResult Show (string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton, System.Windows.Forms.MessageBoxOptions options, string helpFilePath, System.Windows.Forms.HelpNavigator navigator, object param);" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Windows.Forms.DialogResult</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="text" Type="System.String" />
|
||
|
<Parameter Name="caption" Type="System.String" />
|
||
|
<Parameter Name="buttons" Type="System.Windows.Forms.MessageBoxButtons" />
|
||
|
<Parameter Name="icon" Type="System.Windows.Forms.MessageBoxIcon" />
|
||
|
<Parameter Name="defaultButton" Type="System.Windows.Forms.MessageBoxDefaultButton" />
|
||
|
<Parameter Name="options" Type="System.Windows.Forms.MessageBoxOptions" />
|
||
|
<Parameter Name="helpFilePath" Type="System.String" />
|
||
|
<Parameter Name="navigator" Type="System.Windows.Forms.HelpNavigator" />
|
||
|
<Parameter Name="param" Type="System.Object" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur.</para>
|
||
|
<para>When the user clicks the Help button, the Help file specified in the <paramref name="helpFilePath" /> parameter is opened and the Help content identified by the <paramref name="navigator" /> parameter is displayed. The form that owns the message box (or the active form) also receives the <see cref="E:System.Windows.Forms.Control.HelpRequested" /> event.</para>
|
||
|
<para>Compiled help files provide table of contents, index, search, and keyword links in pages. You can use the following values for <paramref name="navigator" />: <see cref="F:System.Windows.Forms.HelpNavigator.TableOfContents" />, <see cref="F:System.Windows.Forms.HelpNavigator.Find" />, <see cref="F:System.Windows.Forms.HelpNavigator.Index" />, or <see cref="F:System.Windows.Forms.HelpNavigator.Topic" />.</para>
|
||
|
<para>You can use <paramref name="param" /> to provide further refinement of the <see cref="F:System.Windows.Forms.HelpNavigator.Topic" /> command. If the value specified in the <paramref name="navigator" /> parameter is <see cref="F:System.Windows.Forms.HelpNavigator.TableOfContents" />, <see cref="F:System.Windows.Forms.HelpNavigator.Index" />, or <see cref="F:System.Windows.Forms.HelpNavigator.Find" />, this value should be null. If the <paramref name="navigator" /> parameter references <see cref="F:System.Windows.Forms.HelpNavigator.Topic" />, this value should reference an object that contains the numeric value of the topic to display.</para>
|
||
|
<para>The <paramref name="helpFilePath" /> parameter can be of the form C:\path\sample.chm or /folder/file.htm.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file, HelpNavigator, and Help topic.</para>
|
||
|
</summary>
|
||
|
<returns>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>One of the <see cref="T:System.Windows.Forms.DialogResult" /> values.</para>
|
||
|
</returns>
|
||
|
<param name="text">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the message box. </param>
|
||
|
<param name="caption">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the title bar of the message box. </param>
|
||
|
<param name="buttons">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxButtons" /> values that specifies which buttons to display in the message box. </param>
|
||
|
<param name="icon">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxIcon" /> values that specifies which icon to display in the message box. </param>
|
||
|
<param name="defaultButton">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxDefaultButton" /> values that specifies the default button for the message box. </param>
|
||
|
<param name="options">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxOptions" /> values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults.</param>
|
||
|
<param name="helpFilePath">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The path and name of the Help file to display when the user clicks the Help button. </param>
|
||
|
<param name="navigator">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.HelpNavigator" /> values. </param>
|
||
|
<param name="param">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The numeric ID of the Help topic to display when the user clicks the Help button. </param>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="Show">
|
||
|
<MemberSignature Language="C#" Value="public static System.Windows.Forms.DialogResult Show (System.Windows.Forms.IWin32Window owner, string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton, System.Windows.Forms.MessageBoxOptions options, string helpFilePath, string keyword);" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Windows.Forms.DialogResult</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="owner" Type="System.Windows.Forms.IWin32Window" />
|
||
|
<Parameter Name="text" Type="System.String" />
|
||
|
<Parameter Name="caption" Type="System.String" />
|
||
|
<Parameter Name="buttons" Type="System.Windows.Forms.MessageBoxButtons" />
|
||
|
<Parameter Name="icon" Type="System.Windows.Forms.MessageBoxIcon" />
|
||
|
<Parameter Name="defaultButton" Type="System.Windows.Forms.MessageBoxDefaultButton" />
|
||
|
<Parameter Name="options" Type="System.Windows.Forms.MessageBoxOptions" />
|
||
|
<Parameter Name="helpFilePath" Type="System.String" />
|
||
|
<Parameter Name="keyword" Type="System.String" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur. You can use the <paramref name="owner" /> parameter to specify a particular object, which implements the <see cref="T:System.Windows.Forms.IWin32Window" /> interface, that will serve as the dialog box's top-level owner.</para>
|
||
|
<para>When the user clicks the Help button, the Help file specified in the <paramref name="helpFilePath" /> parameter is opened and the Help keyword topic identified by the <paramref name="keyword" /> parameter is displayed. The form that owns the message box (or the active form) also receives the <see cref="E:System.Windows.Forms.Control.HelpRequested" /> event.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file and Help keyword.</para>
|
||
|
</summary>
|
||
|
<returns>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>One of the <see cref="T:System.Windows.Forms.DialogResult" /> values.</para>
|
||
|
</returns>
|
||
|
<param name="owner">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />An implementation of <see cref="T:System.Windows.Forms.IWin32Window" /> that will own the modal dialog box.</param>
|
||
|
<param name="text">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the message box. </param>
|
||
|
<param name="caption">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the title bar of the message box. </param>
|
||
|
<param name="buttons">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxButtons" /> values that specifies which buttons to display in the message box. </param>
|
||
|
<param name="icon">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxIcon" /> values that specifies which icon to display in the message box. </param>
|
||
|
<param name="defaultButton">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxDefaultButton" /> values that specifies the default button for the message box. </param>
|
||
|
<param name="options">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxOptions" /> values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults.</param>
|
||
|
<param name="helpFilePath">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The path and name of the Help file to display when the user clicks the Help button. </param>
|
||
|
<param name="keyword">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The Help keyword to display when the user clicks the Help button. </param>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="Show">
|
||
|
<MemberSignature Language="C#" Value="public static System.Windows.Forms.DialogResult Show (System.Windows.Forms.IWin32Window owner, string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton, System.Windows.Forms.MessageBoxOptions options, string helpFilePath, System.Windows.Forms.HelpNavigator navigator);" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Windows.Forms.DialogResult</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="owner" Type="System.Windows.Forms.IWin32Window" />
|
||
|
<Parameter Name="text" Type="System.String" />
|
||
|
<Parameter Name="caption" Type="System.String" />
|
||
|
<Parameter Name="buttons" Type="System.Windows.Forms.MessageBoxButtons" />
|
||
|
<Parameter Name="icon" Type="System.Windows.Forms.MessageBoxIcon" />
|
||
|
<Parameter Name="defaultButton" Type="System.Windows.Forms.MessageBoxDefaultButton" />
|
||
|
<Parameter Name="options" Type="System.Windows.Forms.MessageBoxOptions" />
|
||
|
<Parameter Name="helpFilePath" Type="System.String" />
|
||
|
<Parameter Name="navigator" Type="System.Windows.Forms.HelpNavigator" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur. You can use the <paramref name="owner" /> parameter to specify a particular object, which implements the <see cref="T:System.Windows.Forms.IWin32Window" /> interface, that will serve as the dialog box's top-level window and owner.</para>
|
||
|
<para>When the user clicks the Help button, the Help file specified in the <paramref name="helpFilePath" /> parameter is opened and the Help content identified by the <paramref name="navigator" /> parameter is displayed. The form that owns the message box (or the active form) also receives the <see cref="E:System.Windows.Forms.Control.HelpRequested" /> event.</para>
|
||
|
<para>Compiled Help files provide table of contents, index, search, and keyword links in pages. You can use the following values for <paramref name="navigator" />: <see cref="F:System.Windows.Forms.HelpNavigator.TableOfContents" />, <see cref="F:System.Windows.Forms.HelpNavigator.Find" />, <see cref="F:System.Windows.Forms.HelpNavigator.Index" />, or <see cref="F:System.Windows.Forms.HelpNavigator.Topic" />.</para>
|
||
|
<para>The <paramref name="helpFilePath" /> parameter can be of the form C:\path\sample.chm or /folder/file.htm.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file and HelpNavigator.</para>
|
||
|
</summary>
|
||
|
<returns>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>One of the <see cref="T:System.Windows.Forms.DialogResult" /> values.</para>
|
||
|
</returns>
|
||
|
<param name="owner">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />An implementation of <see cref="T:System.Windows.Forms.IWin32Window" /> that will own the modal dialog box.</param>
|
||
|
<param name="text">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the message box. </param>
|
||
|
<param name="caption">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the title bar of the message box. </param>
|
||
|
<param name="buttons">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxButtons" /> values that specifies which buttons to display in the message box. </param>
|
||
|
<param name="icon">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxIcon" /> values that specifies which icon to display in the message box. </param>
|
||
|
<param name="defaultButton">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxDefaultButton" /> values that specifies the default button for the message box. </param>
|
||
|
<param name="options">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxOptions" /> values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults.</param>
|
||
|
<param name="helpFilePath">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The path and name of the Help file to display when the user clicks the Help button. </param>
|
||
|
<param name="navigator">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.HelpNavigator" /> values. </param>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="Show">
|
||
|
<MemberSignature Language="C#" Value="public static System.Windows.Forms.DialogResult Show (System.Windows.Forms.IWin32Window owner, string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton, System.Windows.Forms.MessageBoxOptions options, string helpFilePath, System.Windows.Forms.HelpNavigator navigator, object param);" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Windows.Forms.DialogResult</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="owner" Type="System.Windows.Forms.IWin32Window" />
|
||
|
<Parameter Name="text" Type="System.String" />
|
||
|
<Parameter Name="caption" Type="System.String" />
|
||
|
<Parameter Name="buttons" Type="System.Windows.Forms.MessageBoxButtons" />
|
||
|
<Parameter Name="icon" Type="System.Windows.Forms.MessageBoxIcon" />
|
||
|
<Parameter Name="defaultButton" Type="System.Windows.Forms.MessageBoxDefaultButton" />
|
||
|
<Parameter Name="options" Type="System.Windows.Forms.MessageBoxOptions" />
|
||
|
<Parameter Name="helpFilePath" Type="System.String" />
|
||
|
<Parameter Name="navigator" Type="System.Windows.Forms.HelpNavigator" />
|
||
|
<Parameter Name="param" Type="System.Object" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur. You can use the <paramref name="owner" /> parameter to specify a particular object, which implements the <see cref="T:System.Windows.Forms.IWin32Window" /> interface, that will serve as the dialog box's top-level window and owner.</para>
|
||
|
<para>When the user clicks the Help button, the Help file specified in the <paramref name="helpFilePath" /> parameter is opened and the Help content identified by the <paramref name="navigator" /> parameter is displayed. The form that owns the message box (or the active form) also receives the <see cref="E:System.Windows.Forms.Control.HelpRequested" /> event.</para>
|
||
|
<para>Compiled help files provide table of contents, index, search, and keyword links in pages. You can use the following values for <paramref name="navigator" />: <see cref="F:System.Windows.Forms.HelpNavigator.TableOfContents" />, <see cref="F:System.Windows.Forms.HelpNavigator.Find" />, <see cref="F:System.Windows.Forms.HelpNavigator.Index" />, or <see cref="F:System.Windows.Forms.HelpNavigator.Topic" />.</para>
|
||
|
<para>You can use <paramref name="param" /> to provide further refinement of the <see cref="F:System.Windows.Forms.HelpNavigator.Topic" /> command. If the value specified in the <paramref name="navigator" /> parameter is <see cref="F:System.Windows.Forms.HelpNavigator.TableOfContents" />, <see cref="F:System.Windows.Forms.HelpNavigator.Index" />, or <see cref="F:System.Windows.Forms.HelpNavigator.Find" />, this value should be null. If the <paramref name="navigator" /> parameter references <see cref="F:System.Windows.Forms.HelpNavigator.Topic" />, this value should reference an object that contains the numeric value of the topic to display.</para>
|
||
|
<para>The <paramref name="helpFilePath" /> parameter can be of the form C:\path\sample.chm or /folder/file.htm.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file, HelpNavigator, and Help topic.</para>
|
||
|
</summary>
|
||
|
<returns>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>One of the <see cref="T:System.Windows.Forms.DialogResult" /> values.</para>
|
||
|
</returns>
|
||
|
<param name="owner">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />An implementation of <see cref="T:System.Windows.Forms.IWin32Window" /> that will own the modal dialog box.</param>
|
||
|
<param name="text">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the message box. </param>
|
||
|
<param name="caption">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The text to display in the title bar of the message box. </param>
|
||
|
<param name="buttons">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxButtons" /> values that specifies which buttons to display in the message box. </param>
|
||
|
<param name="icon">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxIcon" /> values that specifies which icon to display in the message box. </param>
|
||
|
<param name="defaultButton">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxDefaultButton" /> values that specifies the default button for the message box. </param>
|
||
|
<param name="options">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MessageBoxOptions" /> values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults.</param>
|
||
|
<param name="helpFilePath">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The path and name of the Help file to display when the user clicks the Help button. </param>
|
||
|
<param name="navigator">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.HelpNavigator" /> values. </param>
|
||
|
<param name="param">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The numeric ID of the Help topic to display when the user clicks the Help button. </param>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
</Members>
|
||
|
</Type>
|