GmailNotifier.MainForm.MessageReceived C# (CSharp) Метод

MessageReceived() публичный Метод

public MessageReceived ( object sender, GmailNotifier.MessageEventArgs e ) : void
sender object
e GmailNotifier.MessageEventArgs
Результат void
        public void MessageReceived(object sender, MessageEventArgs e)
        {
            if (_processMsgClosed) return;

            if (e.Message == "refresh")
                RefreshMail();

            else if (e.Message == "inbox")
                Process.Start(_baseUrl);

            else if (e.Message == "settings")
                Invoke(new Action(ShowSettingsForm));

            else if (e.Message == "logout")
                Invoke(new Action(ChangeUser));
        }