Advertisement
asril99

Untitled

Aug 15th, 2016
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. Public Class Click_button_message
  2. ' Customize Message in vb.net but you can change font size, color, style, change image or button message
  3.  
  4. Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
  5. With Customize_Message
  6. .Label1.Text = "Hellow world"
  7. .OK_Button.Text = "Test My Message"
  8. 'Dim path As String = "Path image file"
  9. '.PictureBox1.Image = Image.FromFile(path)
  10. If .ShowDialog = Windows.Forms.DialogResult.OK Then
  11. 'write anything when you click button
  12. End If
  13. .Close()
  14. End With
  15. End Sub
  16. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement