Beispiel #1
0
        private void timerNavigation_Tick(object sender, EventArgs e)
        {
            bool bStop      = false;
            int  nIncrement = m_nFrameSkip;

            if (!m_bPlay)
            {
                nIncrement *= -1;
            }
            ImageObject io = m_NavigationObject.IncrementUpdate(nIncrement, out bStop);

            this.UpdateNavigation         = false;
            toolStripTextBoxStation.Text  = io.Milepost.ToString();
            this.UpdateNavigation         = false;
            toolStripComboBoxSection.Text = io.Section;
            this.UpdateNavigation         = true;
            ImageViewManager.UpdateNavigateTick(ImageViewManager.TreeView.Nodes, m_NavigationObject);
        }