예제 #1
0
        private void Navigate(NavigateDirection direction)
        {
            using (new LongRunningMonitor(this))
            {
                EventMessage nextMessage;
                int          nextMessageIndex;

                m_parentForm.SelectNextMessage(m_eventMessageIndex, direction, out nextMessage, out nextMessageIndex);
                if (nextMessage != null)
                {
                    DisplayMessage(nextMessage, nextMessageIndex, m_parentForm.GetLargeImageForSelectedMessage(), m_parentForm.GetSmallImageForSelectedMessage());
                }
            }
        }