Delta_Sierra

ObjClassForm1

Mar 15th, 2018
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.67 KB | None | 0 0
  1. Public Class Form1
  2.     Private Sub btnConvertUpper_Click(sender As Object, e As EventArgs) Handles btnConvertUpper.Click
  3.         Dim NewCode As String
  4.         Dim objConvertCode = New ClassConvert
  5.         objConvertCode = New ClassConvert
  6.         NewCode = objConvertCode.ConvertUpperCase(txt1.Text)
  7.         txt1.Text = NewCode
  8.     End Sub
  9.  
  10.     Private Sub btnConvertLower_Click(sender As Object, e As EventArgs) Handles btnConvertLower.Click
  11.         Dim NewCode As String
  12.         Dim objConvertCode = New ClassConvert
  13.         objConvertCode = New ClassConvert
  14.         NewCode = objConvertCode.ConvertLowerCase(txt1.Text)
  15.         txt1.Text = NewCode
  16.     End Sub
  17. End Class
Advertisement
Add Comment
Please, Sign In to add comment