VB.NET |
When the user creates a new analysis, the analysis should be added to a tree view in the GUI and sent to a C# class called Header.cs, which maintains a list of analyses. That list is used for activites on the C# side, such as writing an XML file containing the data for later retrieval.
In tracing through the code, the analysis shows up correctly in the GUI, raising events in one class, which are responded to by event handlers in other classes. However, the data never makes it to the Header class.
How do I wire up the Header.cs class to listen for the OnAnalysisAdded event from the VB code?
Thanks in advance,
LG Rains

Sam HobbsRank #108 · 20.5K reputationPosted Apr 7, 2010, 7:15 AM EDT
Louise Rains3 reputationPosted Apr 7, 2010, 7:50 AM EDT
Step 1 happens in the VB code. Events are raised and then handled in other VB files along the way.
How do I get my Header to listen for an OnAnalysisAdded event?