Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Public Class Click_button_message
- ' Customize Message in vb.net but you can change font size, color, style, change image or button message
- Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
- With Customize_Message
- .Label1.Text = "Hellow world"
- .OK_Button.Text = "Test My Message"
- 'Dim path As String = "Path image file"
- '.PictureBox1.Image = Image.FromFile(path)
- If .ShowDialog = Windows.Forms.DialogResult.OK Then
- 'write anything when you click button
- End If
- .Close()
- End With
- End Sub
- End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement