Hey guys,
I'm still working on that DBMS/stock management application using WinForms (C#). Everything is going fine so far except that there is being a lot of code repetition. I wanted to fix that by creating a helper class inside a Helpers directory but I got the following error when trying to use a method of this helper class from another class that is inside the Admin directory.
Error 1 'HarbManager.Helpers.ModelHelpers.PopulateProducts(System.Windows.Forms.DataGrid, HarbManager.HarbDBEntities)' is inaccessible due to its protection level
How can I fix that without having to move the class inside the Admin directory?
EDIT: Man I hate it when I do those stupid mistakes! Apparently I forgot to change the "private" access modifier to "public"
Samer, please close the thread...