how do you draw a face that is smiling when you click cmdSmile and then draw a face that is frowning when you click cmdFrown.
1
Expert's answer
2012-12-12T08:28:57-0500
Public Class Form1
Private Sub cmdSmile_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSmile.Click PictureBox1.BackgroundImage = Global.Smile.My.Resources.Resources.smile End Sub
Private Sub cmdFrown_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdFrown.Click PictureBox1.BackgroundImage = Global.Smile.My.Resources.Resources.frown End Sub End Class
Comments
Leave a comment