I'm having an issue displaying an object in a checked list box in C#. I can add object fine, but when the object is displayed to the user, to the program outputs the checkbox selection as Salesform.order instead of invoking the tostring method in the order class like I want. This results in multiple orders displaying as the same thing: "Salesform.order".
orderCheckList.Items.Add(orderUp);
(here, orderUp is an order with fields such as name of customer and so on)
Can anyone help? I know there is a simple solution that I'm overlooking.