在form1內有一個PictureBox1工具上巳顯示圖片
加了一個Button1工具去連結到一個新的form2裡PictureBox2做圖片放大功能
其中要在另一個form顯示圖片要如何實現?
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim f2 As New Form2
f2.PictureBox1.Image = PictureBox1.Image
f2.Show()
End Sub
全站熱搜