Interface IPostprocessingLogReceiver
The interface for a global object which receives logging messages that be shown to the user at the finish of postprocessing.
Namespace: SprutTechnology.SCPostprocessor
Assembly: SCPostprocessor.dll
Syntax
public interface IPostprocessingLogReceiver
Methods
AddMessage(LogMessageType, String)
Adds a message to the list of logging messages which will be shown to the user at the finish of postprocessing.
Declaration
void AddMessage(LogMessageType messageType, string msg)
Parameters
Type | Name | Description |
---|---|---|
LogMessageType | messageType | The type of message (info, warning or error). |
System.String | msg | The text of the message. |
MessageBox(String, String, MsgType, MsgBtnSet, MsgDefBtn)
Shows the standard message box window immediately.
Declaration
MsgClickedBtn MessageBox(string message, string caption, MsgType messageType, MsgBtnSet buttons, MsgDefBtn defaultButton)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The text of the message. |
System.String | caption | The header for the window. |
MsgType | messageType | The type of message (error, question, warning, info). |
MsgBtnSet | buttons | The set of buttons that should be shown in the window. |
MsgDefBtn | defaultButton | The button that should be default. |
Returns
Type | Description |
---|---|
MsgClickedBtn | Returns the type of button the user clicked. |