private void controlOnBlur(object sender, System.EventArgs e) { try { if (sender is Control) { Control tb = sender as Control; GuiControl gtb = guiController[tb.Name] as GuiControl; foreach (string functionName in gtb.GetEventHandlers("onblur")) { this.executioner.ExecuteFunction(functionName, gtb); } } } catch (Exception x) { //ZeusDisplayError formError = new ZeusDisplayError(x); //formError.ShowDialog(this); if (logger != null) { logger.LogException(x); } } }