概述Public Class Form1 Private Sub Form1_Click(sender As Object, e As EventArgs) Handles Me.Click End Sub Private Sub Form1_DoubleClick(sender As Object, e As EventArgs) Handles Me.Doub Public Class Form1 Private Sub Form1_Click(sender As Object,e As EventArgs) Handles Me.Click End Sub Private Sub Form1_DoubleClick(sender As Object,e As EventArgs) Handles Me.DoubleClick End Sub Private Sub Form1_Load(sender As Object,e As EventArgs) Handles MyBase.Load Me.Size = New Size(436 + 10,302 + 30) Me.BackgroundImage = Image.Fromfile("lianxi3.bmp") Me.Text = "相恋时间:2013-5-20" Timer1.Enabled = True End Sub Private Sub Form1_Resize(sender As Object,e As EventArgs) Handles Me.Resize Me.Size = New Size(436 + 10,302 + 30) Me.FormborderStyle = windows.Forms.FormborderStyle.Fixed3D End Sub Private Sub Timer1_Tick(sender As Object,e As EventArgs) Handles Timer1.Tick Dim p As New Point() p.X = Label1.Location.X p.Y = Label1.Location.Y + 10 Label1.Location = p If Label1.Location.Y >= Me.Height Then p.Y = 0 Label1.Location = p End If End Sub Private Sub button1_Click(sender As Object,e As EventArgs) Handles button1.Click Me.Text = "小萍子" Me.Size = New Size(436 + 10,302 + 30) Me.BackgroundImage = Image.Fromfile("lianxi3-3.bmp") End Sub Private Sub button2_Click(sender As Object,e As EventArgs) Handles button2.Click Me.Text = "小萍子" Me.Size = New Size(436 + 10,302 + 30) Me.BackgroundImage = Image.Fromfile("lianxi3-4.bmp") Label2.Text = "王庭仙子来" End Sub Private Sub button3_Click(sender As Object,e As EventArgs) Handles button3.Click Me.Text = "小萍子" Me.Size = New Size(436 + 10,302 + 30) Me.BackgroundImage = Image.Fromfile("lianxi3-5.bmp") Label3.Text = "雪中独佳人。" End Sub Private Sub button4_Click(sender As Object,e As EventArgs) Handles button4.Click Me.Text = "小萍子" Me.Size = New Size(436 + 10,302 + 30) Me.BackgroundImage = Image.Fromfile("lianxi3-6.bmp") Label4.Text = "雯女树下立," End Sub Private Sub button5_Click(sender As Object,e As EventArgs) Handles button5.Click Me.Text = "小萍子" Me.Size = New Size(436 + 10,302 + 30) Me.BackgroundImage = Image.Fromfile("lianxi3-7.bmp") Label5.Text = "我欲语还羞。" End Sub Private Sub button6_Click(sender As Object,e As EventArgs) End Sub Private Sub button9_Click(sender As Object,e As EventArgs) Handles button9.Click Me.Text = "爱情宣言" MsgBox("一生一世!!") End Sub Private Sub button7_Click(sender As Object,e As EventArgs) Handles button7.Click Me.Text = "小萍子" Me.Size = New Size(436 + 10,302 + 30) Me.BackgroundImage = Image.Fromfile("lianxi3-9.bmp") Label6.Text = "爱惜如芝草," End Sub Private Sub button8_Click(sender As Object,e As EventArgs) Handles button8.Click Me.Text = "小萍子" Me.Size = New Size(436 + 10,302 + 30) Me.BackgroundImage = Image.Fromfile("lianxi3-11.bmp") Label7.Text = "你心亦我心。" End Sub Private Sub button6_Click_1(sender As Object,e As EventArgs) Handles button6.Click MsgBox(Now.ToString() + "相恋时间:2013-5-20") End Sub End Class 总结
以上是内存溢出为你收集整理的一个简单的vb相册程序(女女过生日时送她)全部内容,希望文章能够帮你解决一个简单的vb相册程序(女女过生日时送她)所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
评论列表(0条)