OdessaGUIProject.SettingsForm.SettingsForm C# (CSharp) Method

SettingsForm() public method

public SettingsForm ( ) : System
return System
        public SettingsForm()
        {
            InitializeComponent();

            DesignLanguage.ApplyCustomFont(this.Controls);

            #region Borderless window

            borderlessWindow = new BorderlessWindow(this, false, false);
            borderlessWindow.SendNCWinMessage += SendNCWinMessage;
            this.MaximizedBounds = this.DisplayRectangle;

            #endregion Borderless window

            var highlightDurationTooltip = new ToolTip();
            highlightDurationTooltip.SetToolTip(helpHighlightLength, "How far back before you cover the lens should we start the highlight? Click additional help.");

            var scanSensitivityTooltip = new ToolTip();
            scanSensitivityTooltip.SetToolTip(helpScanSensitivity, "How sensitive should the scanning engine be when looking for marks? Click additional help.");

            var advancedOptionsTooltip = new ToolTip();
            advancedOptionsTooltip.SetToolTip(helpAdvancedOptionsButton, "Advanced settings that let you take total control over Highlight Hunter. Click additional help.");

            var licenseTooltip = new ToolTip();
            licenseTooltip.SetToolTip(helpLicenseButton, "Upgrade to Highlight Hunter Pro to enjoy several professional-level features. Click for additional help.");
        }