Method:
public static void MessageNotify(string message, LogType logType = LogType.Log, int duration = 2)
To display notifications in the tool use the LBSMainWindow’s MessageNotify static function:
- Message:
String
Text that’ll be shown on screen. - LogType:
enum Logtype,Log
The type of message, it affects the icon displayed.
- Duration:
int
The duration in seconds of the message before it fades out and it’s deleted.
Example:
LBSMainWindow.instance.MessageNotify("[ISI Lab] Warning: You don't have any layer selected.", LogType.Warning, 2);