You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/Microsoft.VisualBasic.ApplicationServices/WindowsFormsApplicationBase.xml
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -381,10 +381,10 @@
381
381
382
382
You should set the `My.Application.MinimumSplashScreenDisplayTime` property in a method that overrides the <xref:Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnInitialize%2A> or <xref:Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnCreateSplashScreen%2A> method. Code that overrides methods of the <xref:Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase> class should be entered in the ApplicationEvents.vb file, which is hidden by default.
383
383
384
-
||
384
+
||
385
385
|-|
386
386
|To access the Code Editor window for overriding members|
387
-
|1. With a project selected in **Solution Explorer**, click **Properties** on the **Project** menu.<br />2. Click the **Application** tab.<br />3. Click the **View Application Events** button to open the Code Editor.<br />For more information, see [Application Page, Project Designer (Visual Basic)](https://docs.microsoft.com/visualstudio/ide/reference/application-page-project-designer-visual-basic).|
387
+
|1. With a project selected in **Solution Explorer**, click **Properties** on the **Project** menu.<br />2. Click the **Application** tab.<br />3. Click the **View Application Events** button to open the Code Editor.<br /><br />For more information, see [Application Page, Project Designer (Visual Basic)](https://docs.microsoft.com/visualstudio/ide/reference/application-page-project-designer-visual-basic).|
388
388
389
389
## Availability by Project Type
390
390
@@ -445,10 +445,10 @@
445
445
446
446
The code for the `NetworkAvailabilityChanged` event handler is stored in the ApplicationEvents.vb file, which is hidden by default.
447
447
448
-
||
448
+
||
449
449
|-|
450
450
|To access the Code Editor window for application events|
451
-
|1. Have a project selected in **Solution Explorer.** Click **Properties** on the **Project** menu.<br />2. Click the **Application** tab.<br />3. Click the **View Application Events** button to open the Code Editor.<br />For more information, see [Application Page, Project Designer (Visual Basic)](https://docs.microsoft.com/visualstudio/ide/reference/application-page-project-designer-visual-basic).|
451
+
|1. Have a project selected in **Solution Explorer.** Click **Properties** on the **Project** menu.<br />2. Click the **Application** tab.<br />3. Click the **View Application Events** button to open the Code Editor.<br /><br />For more information, see [Application Page, Project Designer (Visual Basic)](https://docs.microsoft.com/visualstudio/ide/reference/application-page-project-designer-visual-basic).|
452
452
453
453
> [!NOTE]
454
454
> Many network hubs will provide a network connection even if the hub is disconnected from a larger network. Consequently, for wired connections, this event indicates change in the connection between the computer and a hub.
@@ -937,7 +937,7 @@
937
937
938
938
The changes to this property are not persisted when the application closes. To change the `SaveMySettingsOnExit` property permanently, you must change the setting in the **Project Designer**:
939
939
940
-
||
940
+
||
941
941
|-|
942
942
|To change the setting in the Project Designer|
943
943
|1. Have a project selected in **Solution Explorer**. Click **Properties** on the **Project** menu.<br />2. Click the **Application** tab.<br />3. Select **Save My.Settings on Shutdown**.|
@@ -1033,10 +1033,10 @@
1033
1033
1034
1034
The code for the `Shutdown` event handler is stored in the ApplicationEvents.vb file, which is hidden by default.
1035
1035
1036
-
||
1036
+
||
1037
1037
|-|
1038
1038
|To access the Code Editor window for application events|
1039
-
|1. With a project selected in **Solution Explorer**, click **Properties** on the **Project** menu.<br />2. Click the **Application** tab.<br />3. Click the **View Application Events** button to open the Code Editor.<br />For more information, see [Application Page, Project Designer (Visual Basic)](https://docs.microsoft.com/visualstudio/ide/reference/application-page-project-designer-visual-basic).|
1039
+
|1. With a project selected in **Solution Explorer**, click **Properties** on the **Project** menu.<br />2. Click the **Application** tab.<br />3. Click the **View Application Events** button to open the Code Editor.<br /><br />For more information, see [Application Page, Project Designer (Visual Basic)](https://docs.microsoft.com/visualstudio/ide/reference/application-page-project-designer-visual-basic).|
1040
1040
1041
1041
## Availability by Project Type
1042
1042
@@ -1179,7 +1179,7 @@
1179
1179
1180
1180
The code for the `Startup` event handler is stored in the ApplicationEvents.vb file, which is hidden by default.
1181
1181
1182
-
||
1182
+
||
1183
1183
|-|
1184
1184
|To access the Code Editor window for application events|
1185
1185
|1. With a project selected in **Solution Explorer**, click **Properties** on the **Project** menu.<br />2. Click the **Application** tab.<br />3. Click the **View Application Events** button to open the Code Editor.<br /><br /> For more information, see [Application Page, Project Designer (Visual Basic)](https://docs.microsoft.com/visualstudio/ide/reference/application-page-project-designer-visual-basic).|
@@ -1243,7 +1243,7 @@
1243
1243
> [!NOTE]
1244
1244
> The `StartupNextInstance` event is raised only in single-instance applications. To enable single-instance behavior for your application, you must check the **Make single instance application** check box in the Project Designer.
1245
1245
1246
-
||
1246
+
||
1247
1247
|-|
1248
1248
|To make an application single instance|
1249
1249
|1. With a project selected in **Solution Explorer**, click **Properties** on the **Project** menu.<br />2. Click the **Application** tab.<br />3. Select the **Make single instance application** check box.|
@@ -1252,10 +1252,10 @@
1252
1252
1253
1253
The code for the <xref:Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.StartupNextInstance> event handler is stored in the ApplicationEvents.vb file, which is hidden by default.
1254
1254
1255
-
||
1255
+
||
1256
1256
|-|
1257
1257
|To access the Code Editor window for application events|
1258
-
|1. With a project selected in **Solution Explorer**, click **Properties** on the **Project** menu.<br />2. Click the **Application** tab.<br />3. Click the **View Application Events** button to open the Code Editor.<br />For more information, see [Application Page, Project Designer (Visual Basic)](https://docs.microsoft.com/visualstudio/ide/reference/application-page-project-designer-visual-basic).|
1258
+
|1. With a project selected in **Solution Explorer**, click **Properties** on the **Project** menu.<br />2. Click the **Application** tab.<br />3. Click the **View Application Events** button to open the Code Editor.<br /><br />For more information, see [Application Page, Project Designer (Visual Basic)](https://docs.microsoft.com/visualstudio/ide/reference/application-page-project-designer-visual-basic).|
1259
1259
1260
1260
The following table lists examples of tasks involving the `My.Application.StartupNextInstance` event.
1261
1261
@@ -1320,7 +1320,7 @@
1320
1320
1321
1321
The code for the `UnhandledException` event handler is stored in the ApplicationEvents.vb file, which is hidden by default.
1322
1322
1323
-
||
1323
+
||
1324
1324
|-|
1325
1325
|To access the Code Editor window for application events|
1326
1326
|1. With a project selected in **Solution Explorer**, click **Properties** on the **Project** menu.<br />2. Click the **Application** tab.<br />3. Click the **View Application Events** button to open the Code Editor.|
@@ -1402,10 +1402,10 @@
1402
1402
1403
1403
Code that overrides methods of the <xref:Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase> class should be entered in the ApplicationEvents.vb file, which is hidden by default.
1404
1404
1405
-
||
1405
+
||
1406
1406
|-|
1407
1407
|To access the Code Editor window for overriding members|
1408
-
|1. With a project selected in **Solution Explorer**, click **Properties** on the **Project** menu.<br />2. Click the **Application** tab.<br />3. Click the **View Application Events** button to open the Code Editor.<br />For more information, see [Application Page, Project Designer (Visual Basic)](https://docs.microsoft.com/visualstudio/ide/reference/application-page-project-designer-visual-basic).|
1408
+
|1. With a project selected in **Solution Explorer**, click **Properties** on the **Project** menu.<br />2. Click the **Application** tab.<br />3. Click the **View Application Events** button to open the Code Editor.<br /><br />For more information, see [Application Page, Project Designer (Visual Basic)](https://docs.microsoft.com/visualstudio/ide/reference/application-page-project-designer-visual-basic).|
0 commit comments