Skip to content

Commit 5ad6534

Browse files
authored
Reorganize VB snippets in Misc and VBCSharp dirs (#11538)
1 parent 0162684 commit 5ad6534

File tree

296 files changed

+2207
-5456
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

296 files changed

+2207
-5456
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
<Project Sdk="Microsoft.NET.Sdk">
3+
4+
<PropertyGroup>
5+
<OutputType>Library</OutputType>
6+
<TargetFramework>net481</TargetFramework>
7+
</PropertyGroup>
8+
9+
</Project>

snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/Form1.vb renamed to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/Form1.vb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ Option Strict On
33

44
Public Class Form1
55

6+
Public Shared Sub Main()
7+
8+
End Sub
9+
610
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
711
' SetFormTitle()
812
' SetFormIcon()
@@ -80,7 +84,7 @@ Public Class Form1
8084

8185
'<snippet4>
8286
Sub PlayFormGreeting()
83-
My.Computer.Audio.Play(My.Resources.Form1Greeting,
87+
My.Computer.Audio.Play(My.Resources.Form1Greeting,
8488
AudioPlayMode.Background)
8589
End Sub
8690
'</snippet4>

0 commit comments

Comments
 (0)