01.
Private
Sub
Button1_Click(sender
As
Object
, e
As
EventArgs)
Handles
Button1.Click
02.
Try
03.
TextBox20.Text =
CDbl
((20 + 34 + TextBox03.Text + TextBox01.Text + TextBox03.Text + 34 + 20) *
04.
(TextBox02.Text) * (TextBox04.Text) * (0.00000785)) + ((20 + 34 + TextBox03.Text + 15) *
05.
(15 + TextBox01.Text + 15) * (TextBox04.Text) * (0.00000785) * (2)) +
06.
((22 + TextBox01.Text + 22) * (22 + TextBox02.Text + 22) * (TextBox04.Text) *
07.
(0.00000785)) + ((20 + TextBox01.Text + 20) * (20 + TextBox02.Text + 20) *
08.
(TextBox04.Text) * (0.00000785))
09.
10.
Dim
A1
As
Integer
11.
Dim
A2
As
Integer
12.
A1 =
CDbl
((TextBox20.Text * 110) * (1.005 ^ NumericUpDown1.Text)) + (NumericUpDown05.Text * 60) + (NumericUpDown06.Text * 70) +
13.
(NumericUpDown07.Text * 400) + (NumericUpDown08.Text * 120) + (NumericUpDown09.Text * 160) +
14.
(NumericUpDown10.Text * 60) + (NumericUpDown11.Text * 50) + (NumericUpDown12.Text * 65) +
15.
(NumericUpDown13.Text * 40) + (NumericUpDown14.Text * 50) + (NumericUpDown15.Text * 40) +
16.
(NumericUpDown16.Text * 30) + (NumericUpDown17.Text * 120) + (NumericUpDown18.Text * 60)
17.
18.
RadioButton1 = ValueType(1)
19.
RadioButton2 = ValueType(1.1)
20.
21.
TextBox19.Text = (A1) * (RadioButton2.Text
Or
RadioButton2.Text)
22.
23.
Catch
ex
As
Exception
24.
MsgBox(
"Error"
)
25.
End
Try
26.
End
Sub