public YouTrackSettingsControl(YouTrackSettings youTrackSettings)
        {
            InitializeComponent();

            this.youTrackSettings = youTrackSettings;

            this.LoadSettings();

            textHost.Focus();
        }
        public YouTrackPowerToyOptionsPage(IOptionsDialog optionsDialog, ISolution solution)
        {
            this.solution = solution;

            if (this.solution != null)
            {
                InitializeComponent();
                this.youTrackSettings = solution.GetComponent<YouTrackSettings>();
                this.youTrackSettingsControl = new YouTrackSettingsControl(this.youTrackSettings);

                this.Controls.Add(this.youTrackSettingsControl);
            }
            else
            {
                Controls.Add(JetBrains.UI.Options.Helpers.Controls.CreateNoSolutionCueBanner());
                //Controls.Add(new RichTextLabel("You need to have an open solution to access these settings"));
            }
        }