Beispiel #1
0
 private void ShowMsgWindow(IWin32Window owner, AccountEvent accountEvent)
 {
     foreach (var form in OwnedForms.OfType<SplashMessagesForm>())
     {
         form.AppendMessage(accountEvent);
         return;
     }
     var wnd = new SplashMessagesForm(accountEvent);
     wnd.Show(owner);
 }
Beispiel #2
0
 private void ShowListMsgWindow(IWin32Window owner, List<AccountEvent> msg)
 {
     foreach (var form in OwnedForms.OfType<SplashMessagesForm>())
     {
         form.EnqueueMessages(msg);
         return;
     }
     var wnd = new SplashMessagesForm(msg);
     wnd.Show(owner);
 }