/// <summary> /// Invoked to indicate there was an error. Displays the /// error form as a dialog /// </summary> /// <param name="message">error message</param> /// <param name="enableConfigure">should the config button be enabled</param> public void OnError(String message, bool enableConfigure = true) { var errorForm = new ActuatorErrorForm { EnableConfigure = enableConfigure, Caption = "ERROR", SourceActuator = this.SourceActuator, Prompt = message }; errorForm.ShowDialog(); }