I have a class which inherits from the combobox ("JCombo"). Its items are an ComboBox.ObjectCollection of a type of object ("Class1") which I define in my project. The items are set in the New event of JCombo. An instance of JCombo appears in a form and a user control in my application, having been added at design time.
If I make any changes in Class1 then the project won't compile - I get the error "Invalid Resx file" and a reference to some code in the resx file for the form and user control which contain the JCombo. The code which is referenced looks no different to a random series of letters and numbers to me, and clearly I can't correct this.
So what's the best solution to this? Do I need to delete the resx file each time I make a change to Class1? Should I set the items elsewhere?
If I make any changes in Class1 then the project won't compile - I get the error "Invalid Resx file" and a reference to some code in the resx file for the form and user control which contain the JCombo. The code which is referenced looks no different to a random series of letters and numbers to me, and clearly I can't correct this.
So what's the best solution to this? Do I need to delete the resx file each time I make a change to Class1? Should I set the items elsewhere?