- Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
-
- '宣言
- Dim img As Image
- Dim Path As String
-
- '値の割り当て
- img = SplashScreen1.MainLayoutPanel.BackgroundImage
- Path = "C:\test.png"
-
- '書き出し
- img.Save(Path, System.Drawing.Imaging.ImageFormat.Png)
-
- End Sub
-