I have recently taken up the idea of makeing user Controls for things that i use quiet often.

One user control i have created is a datagridview , load button and a save button, for editing csv files that we use quiet frequently at work.


on save is use a class called WriteCSV to save the data. I can add the class to the project no problem but to increase the portablity of the user control is there a way that i can add the class directly to the user control so that i (or another coworker) dont have to remember to add the class WriteCSV.cs as well as CsvDisplay.cs as well?


Thanks