This is the code containing the line that throws the exception:
weekhours = Convert.ToDouble(txtWeekHours.Text);
weekendhours = Convert.ToDouble(txtWeekendHours.Text);
weekrate = Convert.ToDouble(txtWeekRate.Text);
weekendrate = Convert.ToDouble(txtWeekendRate.Text);
And this is the relevant part of the exception call stack:
System.FormatException was unhandled HResult=-2146233033 Message=Input string was not in a correct format.
at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
at System.Convert.ToDouble(String value)
at Wage_Dog.Form1.btnCalculate_Click(Object sender, EventArgs e) in C:\Users\Jerry\Desktop\MY C# APPS\Wage Dog Launch Edition\Wage Dog\Form1.cs:line 48
at System.Windows.Forms.Control.OnClick(EventArgs e)