Exemple #1
0
        /// <summary>
        /// This occurs when a new section is loaded and we need to fetch all locations from scratch
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void OnSectionChanged(object sender, SectionChangedEventArgs e)
        {
            //Don't load annotations when flipping sections if the user is holding down space bar to hide them
            if (_Parent.ShowOverlays)
            {

                LoadSectionAnnotations();
            }
        }
Exemple #2
0
        public void OnSectionChanged(object sender, SectionChangedEventArgs e)
        {
            if (e.NewSection != null)
            {
                this.Text = this.BuildTitleString(e.NewSection.ToString());
            }

            this.Invalidate();
        }