diff --git a/xml/Microsoft.VisualBasic.ApplicationServices/WindowsFormsApplicationBase.xml b/xml/Microsoft.VisualBasic.ApplicationServices/WindowsFormsApplicationBase.xml index f14107a0733..97fca992550 100644 --- a/xml/Microsoft.VisualBasic.ApplicationServices/WindowsFormsApplicationBase.xml +++ b/xml/Microsoft.VisualBasic.ApplicationServices/WindowsFormsApplicationBase.xml @@ -1243,19 +1243,23 @@ > [!NOTE] > 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. -|| -|-| -|To make an application single instance| -|1. With a project selected in **Solution Explorer**, click **Properties** on the **Project** menu.
2. Click the **Application** tab.
3. Select the **Make single instance application** check box.| +To make an application single instance: + +1. With a project selected in **Solution Explorer**, click **Properties** on the **Project** menu. +2. Click the **Application** tab. +3. Select the **Make single instance application** check box. You must use the property of the `e` parameter to access the arguments for subsequent attempts to start a single-instance application. The property provides the arguments used to start the first instance of a single-instance application. The code for the event handler is stored in the ApplicationEvents.vb file, which is hidden by default. -|| -|-| -|To access the Code Editor window for application events| -|1. With a project selected in **Solution Explorer**, click **Properties** on the **Project** menu.
2. Click the **Application** tab.
3. Click the **View Application Events** button to open the Code Editor.
For more information, see [Application Page, Project Designer (Visual Basic)](https://docs.microsoft.com/visualstudio/ide/reference/application-page-project-designer-visual-basic).| +To access the Code Editor window for application events: + +1. With a project selected in **Solution Explorer**, click **Properties** on the **Project** menu. +2. Click the **Application** tab. +3. Click the **View Application Events** button to open the Code Editor. + +For more information, see [Application Page, Project Designer (Visual Basic)](https://docs.microsoft.com/visualstudio/ide/reference/application-page-project-designer-visual-basic).| The following table lists examples of tasks involving the `My.Application.StartupNextInstance` event. @@ -1428,4 +1432,4 @@ End Property - \ No newline at end of file +