I'm mildly embarassed to ask this, but it seems neither of the somethat introductory texts I own covers it, and I'm failing to find an online tutorial that doesn't suck.
I've got a window, which has a custom object on the left (a list of "modules", which are basically custom widgets) and a custom widget on the right (one of the custom widgets). I need to make it so that clicking on something in the left-hand list makes a change to what's being done on the right. As far as I can determine, the way to do this is with Events - the MainWindow.cs should have some method which handles changing the right-hand widget, and I need to rig up *something* that allows it to be executed when clicking something in the left-hand list.
So. What I need is a way is for my left-hand window (an instantiation of osctool2.OSCNavigation) to fire an event that the main window (osctool2.MainWindow) can detect, in order to delete and replace the right-hand window. Note that this isn't the same as the sub-widgets firing events (I'm already acting on osctool2.OSCNavigation.OSCNavigationTreeView.Selection.Changed, and the handler for this event is what I want to trigger the new custom event)