Hey guys, I think I am posting this in the right place.

I am rather happy and quite impressed with this. Be it quite simple, I am still impressed .

But I am sure there is room for improvment.

vb.net Code:
  1. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  2.         Dim Num As Integer ' Declars Num as a Number
  3.  
  4.         If CheckBox1.Checked = True Then ' Checks if the checkbox is checked
  5.             If TextBox1.TextLength > 0 Then ' Checks if Textbox is checked
  6.                 If IsNumeric(TextBox1.Text) = True Then ' Checks if text is a number
  7.                     Num = Num + TextBox1.Text ' Number + what ever is inside textbox1
  8.                 Else
  9.                     TextBox1.Text = 0
  10.                 End If
  11.             End If
  12.         End If
  13.  
  14.         If CheckBox2.Checked = True Then ' Checks if the checkbox is checked
  15.             If TextBox2.TextLength > 0 Then ' Checks if Textbox is checked
  16.                 If IsNumeric(TextBox2.Text) = True Then ' Checks if text is a number
  17.                     Num = Num + TextBox2.Text ' Number + what ever is inside textbox2
  18.                 Else
  19.                     TextBox2.Text = 0
  20.                 End If
  21.             End If
  22.         End If
  23.  
  24.         If CheckBox3.Checked = True Then ' Checks if the checkbox is checked
  25.             If TextBox3.TextLength > 0 Then ' Checks if Textbox is checked
  26.                 If IsNumeric(TextBox3.Text) = True Then ' Checks if text is a number
  27.                     Num = Num + TextBox3.Text ' Number + what ever is inside textbox3
  28.                 Else
  29.                     TextBox3.Text = 0
  30.                 End If
  31.             End If
  32.         End If
  33.  
  34.         RichTextBox1.Text = Num ' Displays total of Number
  35.  
  36.         Num = 0 ' Resets number for next time button is pressed
  37.     End Sub