|
1192 | 1192 | <Parameters />
|
1193 | 1193 | <Docs>
|
1194 | 1194 | <summary>Displays the image specified by the <see cref="P:System.Windows.Forms.PictureBox.ImageLocation" /> property of the <see cref="T:System.Windows.Forms.PictureBox" />.</summary>
|
1195 |
| - <remarks>To be added.</remarks> |
| 1195 | + <remarks> |
| 1196 | + <format type="text/markdown"><] |
| 1199 | +
|
| 1200 | +]]></format> |
| 1201 | + </remarks> |
1196 | 1202 | <exception cref="T:System.InvalidOperationException">
|
1197 | 1203 | <see cref="P:System.Windows.Forms.PictureBox.ImageLocation" /> is <see langword="null" /> or an empty string.</exception>
|
1198 | 1204 | <altmember cref="Overload:System.Windows.Forms.PictureBox.LoadAsync" />
|
|
1228 | 1234 | <format type="text/markdown"><] |
1232 | 1243 |
|
1233 | 1244 | ]]></format>
|
1234 | 1245 | </remarks>
|
|
1279 | 1290 | <format type="text/markdown"><] |
1285 | 1301 |
|
1286 | 1302 | ]]></format>
|
1287 | 1303 | </remarks>
|
|
1317 | 1333 | <format type="text/markdown"><] |
1325 | 1346 |
|
1326 | 1347 | ## Examples
|
1327 |
| - The following code example demonstrates how to use the <xref:System.Windows.Forms.PictureBox.LoadAsync%2A> method. To run this example, paste the following code into a Windows Form that contains a <xref:System.Windows.Forms.PictureBox> named `pictureBox1` and a <xref:System.Windows.Forms.Button> named `startLoadButton`. Make sure that the <xref:System.Windows.Forms.Control.Click> event for the button is associated with the `startLoadButton_Click` method in this example. You must change the image file path to a path that is valid on your system. |
1328 | 1348 |
|
1329 |
| - :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/CancelAsync/Form1.cs" id="Snippet3"::: |
1330 |
| - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewPictureBoxWhidbeyMembers/VB/Form1.vb" id="Snippet3"::: |
| 1349 | +The following code example demonstrates how to use the <xref:System.Windows.Forms.PictureBox.LoadAsync%2A> method. To run this example, paste the following code into a Windows Form that contains a <xref:System.Windows.Forms.PictureBox> named `pictureBox1` and a <xref:System.Windows.Forms.Button> named `startLoadButton`. Make sure that the <xref:System.Windows.Forms.Control.Click> event for the button is associated with the `startLoadButton_Click` method in this example. You must change the image file path to a path that is valid on your system. |
| 1350 | +
|
| 1351 | +:::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/CancelAsync/Form1.cs" id="Snippet3"::: |
| 1352 | +:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewPictureBoxWhidbeyMembers/VB/Form1.vb" id="Snippet3"::: |
1331 | 1353 |
|
1332 | 1354 | ]]></format>
|
1333 | 1355 | </remarks>
|
|
0 commit comments