Exemplo n.º 1
0
 /// <summary>
 /// Unregisters account from mail manager
 /// </summary>
 /// <param name="mail"></param>
 public void Unregister(MailManager mail)
 {
     mail.NewMail -= MailMsg;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Registers account to get messages from mail manager
 /// </summary>
 /// <param name="mail"></param>
 public void Register(MailManager mail)
 {
     mail.NewMail += MailMsg;
 }