Pictureboxコントロールで2つの気象レーダー画像オーバーレイを重ね合わせようとしています。グラフィックのサイズは両方とも600、550です。私のコードではエラーは発生しませんが、実行すると空白のフォームが表示されます。私は何が間違っているのですか?
これが私のコードです:
Dim Image1 As New Bitmap("http://radar.weather.gov/ridge/Overlays/Topo/Short/FWS_Topo_Short.jpg")
Dim Image2 As New Bitmap("http://radar.weather.gov/ridge/RadarImg/N0R/FWS_N0R_0.gif")
Dim Image3 As New Bitmap(600, 550)
Dim g As Graphics = Graphics.FromImage(Image3)
g.DrawImage(Image1, New Point(0, 0))
g.DrawImage(Image2, New Point(0, 0))
PictureBox1.Image = Image3
g.Dispose()
g = Nothing