SHARE
TWEET

Lista E

a guest Apr 21st, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Public Class Form1
  2.     Dim Total As Decimal
  3.     Dim Subtotal As Decimal
  4.     Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
  5.         Total = CInt(txtv1.Text) * CInt(txtv2.Text)
  6.  
  7.     End Sub
  8.  
  9.     Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
  10.         ListBox1.Items.RemoveAt(ListBox1.SelectedIndex)
  11.  
  12.     End Sub
  13.  
  14.     Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
  15.         ListBox1.Items.Clear()
  16.         ListBox2.Items.Clear()
  17.     End Sub
  18.     Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click
  19.         ListBox1.Items.Add(txtv3.Text)
  20.     End Sub
  21.  
  22.     Private Sub Txtv2_Leave(sender As Object, e As EventArgs) Handles txtv2.Leave
  23.         Subtotal = CInt(txtv1.Text) * CInt(txtv2.Text)
  24.     End Sub
  25. End Class
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top