Wage Calculator using VB.Net 2010
![]() |
| Wage Calculator GUI running under Windows 7 64-bit OS |
The program consists of two GroupBox
that incorporates the input and output, respectively. The program runs
simply by plugging in your annual input which produces an output of
Monthly, Weekly and Daily Wage Income. The silver lining of this working
principle is describe from the below's source code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtGenerate.Click
userwage = BxUserwage.Text
Monthly.Text = "$" & Math.Round(userwage / 12, 2)
Weekly.Text = "$" & Math.Round(userwage / 52, 2)
Daily.Text = "$" & Math.Round(userwage / 365.25, 2)
If (userwage = "0") Then
MsgBox("Please input value higher then zero")
End If
End Sub
