EMPLOYEE DETAILS USING VB.NET
PROGRAM:
Public Class Form1
Private Sub Label5_Click(sender As Object, e As EventArgs) Handles
Label5.Click
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles
Button1.Click
TextBox7.Text = (Val(TextBox5.Text) - (Val(TextBox6.Text)))
MsgBox("Hi! " &
TextBox1.Text &" your Net Salary is Rs" & TextBox7.Text)
End Sub
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles
MyBase.Load
End Sub
Private Sub TextBox5_TextChanged(sender As Object, e As EventArgs)
Handles TextBox5.TextChanged
TextBox5.Text = (Val(TextBox2.Text) + (Val(TextBox3.Text) +
(Val(TextBox4.Text))))
End Sub
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles
Button2.Click
End
End Sub
End Class
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home