diff --git a/Form1.Designer.vb b/Form1.Designer.vb index 215e824..0fa2557 100644 --- a/Form1.Designer.vb +++ b/Form1.Designer.vb @@ -176,7 +176,7 @@ Partial Class Form1 ' 'PictureBox1 ' - Me.PictureBox1.Image = Global.幸运抽奖.My.Resources.Resources.egg_jpg + Me.PictureBox1.Image = Global.幸运抽奖.My.Resources.Resources.egg Me.PictureBox1.Location = New System.Drawing.Point(48, 23) Me.PictureBox1.Name = "PictureBox1" Me.PictureBox1.Size = New System.Drawing.Size(272, 208) diff --git a/My Project/Resources.Designer.vb b/My Project/Resources.Designer.vb index 7fd033d..4148622 100644 --- a/My Project/Resources.Designer.vb +++ b/My Project/Resources.Designer.vb @@ -63,9 +63,9 @@ Namespace My.Resources ''' ''' 查找 System.Drawing.Bitmap 类型的本地化资源。 ''' - Friend ReadOnly Property egg_jpg() As System.Drawing.Bitmap + Friend ReadOnly Property egg() As System.Drawing.Bitmap Get - Dim obj As Object = ResourceManager.GetObject("egg.jpg", resourceCulture) + Dim obj As Object = ResourceManager.GetObject("egg", resourceCulture) Return CType(obj,System.Drawing.Bitmap) End Get End Property diff --git a/My Project/Resources.resx b/My Project/Resources.resx index dfbaf50..5251a15 100644 --- a/My Project/Resources.resx +++ b/My Project/Resources.resx @@ -118,7 +118,7 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \\192.168.100.1\home\Desktop\006qir4ogy1fzmgwlbz0wj309v06yq5r.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\egg.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a \ No newline at end of file diff --git a/egg.jpg b/egg.jpg new file mode 100644 index 0000000..f27e457 Binary files /dev/null and b/egg.jpg differ