Added event handler to trigger after ui reload.

This commit is contained in:
Kevin Pope 2015-01-06 19:04:45 -08:00
parent dd34371608
commit 7fb1fd0681
2 changed files with 42 additions and 1 deletions

View file

@ -169,7 +169,10 @@ namespace MatterHackers.MatterControl.ActionBar
{
connectionWindow = new ConnectionWindow();
this.connectionWindowIsOpen = true;
//This function gets called on printer selection (see onActivePrinterChanged)
this.functionToCallOnSelect = functionToCallOnSelect;
connectionWindow.Closed += new EventHandler(ConnectionWindow_Closed);
}
else