Answer:
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Label10.Text = (Int(TextBox2.Text) + Int(TextBox3.Text) + Int(TextBox4.Text) + Int(TextBox5.Text) + Int(TextBox6.Text) + Int(TextBox7.Text) + Int(TextBox8.Text))
Label12.Text = Int(TextBox6.Text) + Int(TextBox7.Text) + Int(TextBox8.Text)
Label14.Text = Label10.Text - Label12.Text
MessageBox.Show("Employee Name : " & TextBox1.Text & Environment.NewLine & "Total Salary is : " & Label14.Text)
End Sub
Private Sub TextBox2_Leave(sender As Object, e As EventArgs) Handles TextBox2.Leave
TextBox3.Text = (TextBox2.Text * 31) / 100
TextBox4.Text = (TextBox2.Text * 9) / 100
End Sub
End Class