In the two TabsConsole.AddTab methods, the parameter passed to the event is not the tab that was just created. It should look like:
try { OnTabAdded(this, new TabEventArgs(tab)); }
When I change it accordingly, I get the correct behavior. Without this change, the event delegate gets told repeatedly about the MainConsole being created.
Description
In the two TabsConsole.AddTab methods, the parameter passed to the event is not the tab that was just created. It should look like:
try { OnTabAdded(this, new TabEventArgs(tab)); }
When I change it accordingly, I get the correct behavior. Without this change, the event delegate gets told repeatedly about the MainConsole being created.