OdessaGUIProject.HighlightDetailsForm.HighlightDetailsForm_Shown C# (CSharp) Method

HighlightDetailsForm_Shown() private method

private HighlightDetailsForm_Shown ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        private void HighlightDetailsForm_Shown(object sender, EventArgs e)
        {
            // it doesn't dispose sometimes which is super annoying
            //hourGlass = new HourGlass();

            if (Settings.Default.HasOpenedDetails == false)
            {
                AnalyticsHelper.FireEvent("First details");
                Settings.Default.HasOpenedDetails = true;
                Settings.Default.Save();
            }

            if (MainModel.HighlightObjects.Count == 1)
            {
                nextHighlightPictureButtonControl.Enabled = false;
                previousHighlightPictureButtonControl.Enabled = false;
            }

            CurrentHighlightIndex = InitialHighlightIndex;

            InitializeBookmarkFlagTutorialBubble();
            InitializeHandlesTutorialBubble();
            InitializeShareButtonTutorialBubble();
            InitializeCloseDetailsTutorialBubble();
        }
HighlightDetailsForm