I need help figuring out how to get the value of my text boxes into the variables I have declared (in bold) , any suggestions would be appreciated:
(/code) Option Explicit On
Option Strict On
Imports System.Convert
Public Class frmMain
Inherits System.Windows.Forms.Form
Private mlblInitialValue As Double
Private mlblSalvageValue As Double
Private mlblAssetLife As Single
Private mdblTotalDepreciation As Double
Private mdblAnnualDepreciation As Double
mlblInitialValue = (txtInitialValue.Text)
mlblSalvageLife = (txtSalvageLife.Text)
mlblAssetLife = (txtSalvageLife.Text)
mdblTotalDepreciation = mlblInitialValue - mlblSalvageLife
mdblAnnualDepreciation = mdblTotalDepreciation / mdblAssetLife
Private Const cintCol1Start As Integer = 100
Private Const cintCol2Start As Integer = 250
Private Const cintCol3Start As Integer = 400
Private Const cintCol4Start As Integer = 550
Private Const cintColWidth As Integer = 150
Private mfntPrint As Font
Private msngFontHeight As Single
Private msngYPos As Single
Private mfnrPrint As Font(/code)