public NAOThalamusStatus() { InitializeComponent(); controller = new NAOThalamusGUIController(shellControl, this.DataContext as NAOStatus); controller.Error += controller_Error; controller.Start(); }
void controller_Error(object sender, NAOThalamusGUIController.NAOThalamusGUIErrorEventArgs e) { MessageBox.Show(e.Description); }