My plugin asks the Smart Client to prompt a user to refresh it’s configuration. If I send this message 10 times, the message needs to be closed 10 times. How can check to see if the message is already displayed and only show a new one if there aren’t any there?
Alternative: How can I close all the opened messages with a specific ID before showing anew message?
If you use the same GUID as messageID, then you don’t need to close every time. It is overwritten by the new message when you add the new message by Smart Client.
We changed code following in MessageModel.cs, can you please try to use this snippet?
public MessageModel()
{
//MessageId = new object();
MessageId = new Guid("BD25714E-EB94-4FEA-AE3F-EA3BB3AA0F98");
…
}