ShowNotificationMessage() public method

public ShowNotificationMessage ( NotificationMessage message ) : void
message NotificationMessage
return void
Exemplo n.º 1
0
 public void ShowNotificationMessage(NotificationMessage msg)
 {
     if (mainForm == null || mainForm.IsDisposed)
     {
         return;
     }
     mainForm.Invoke(new Action(() => {
         if (!mainForm.IsDisposed)
         {
             mainForm.ShowNotificationMessage(msg);
         }
     }));
 }