paulthepaddy
Well-known member
hey guys/girls
i have a radiobutton, when checked it populates damage list, and a combobox. when a value is selected form the combobox is calls this code
Call clear_Price() ' tis just clears a few vairables and textboxes
method = DirectCast(ComboBox_Spray.SelectedValue, Action)
method.Invoke()
the action is call Spray_Parking_Sensors() which contains this code
Damage_List.Items.Clear()
Damage_List.Items.Add("Parking Sensors")
Damage_List.SetItemCheckState(0, CheckState.Checked)
Price_Subtotal = 25
Car_Price_Subtotal.Value = Price_Subtotal
Call discount()
the line "Damage_List.Items.Clear()" is giving this error
An unhandled exception of type 'System.StackOverflowException' occurred in System.Windows.Forms.dll
it also says make sure you do not have infinate loop or infinate recursion
i have a radiobutton, when checked it populates damage list, and a combobox. when a value is selected form the combobox is calls this code
Call clear_Price() ' tis just clears a few vairables and textboxes
method = DirectCast(ComboBox_Spray.SelectedValue, Action)
method.Invoke()
the action is call Spray_Parking_Sensors() which contains this code
Damage_List.Items.Clear()
Damage_List.Items.Add("Parking Sensors")
Damage_List.SetItemCheckState(0, CheckState.Checked)
Price_Subtotal = 25
Car_Price_Subtotal.Value = Price_Subtotal
Call discount()
the line "Damage_List.Items.Clear()" is giving this error
An unhandled exception of type 'System.StackOverflowException' occurred in System.Windows.Forms.dll
it also says make sure you do not have infinate loop or infinate recursion