in this post you can learn about the amount management system. like we have some money of our customer in our database. and we need to pay then we have to use this method. Supposed we have 5000 amount of the customer and we want to pay the complete amount like 5000 then the customer balance should show 0 value. i we will pay like 6000 the amount should show -1000. because now we have loan on the customer. for this work you should follow the instruction of the given video.

Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load TextBox1.Text = TextBox2.Text End Sub Private Sub TextBox3_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox3.TextChanged TextBox2.Text = Val(TextBox1.Text) - Val(TextBox3.Text) End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click TextBox1.Text = TextBox2.Text End Sub End Class
 
Top