private void ButtonLogin_OnClick(object sender, RoutedEventArgs e)
        {
            this.Hide();

            var password = this.Password.Password;
            var hostname = this.Host.Text;
            var login = this.Login.Text;

            var model = new ProjectDuplicationTrackerModel();
            model.Login();
            var win = new Window();
            var view = new DuplicationUserControl(model);
            win.Content = view;
            win.SizeToContent = SizeToContent.WidthAndHeight;
            win.ShowDialog();
            this.Close();
        }
        /// <summary>
        /// The get user control.
        /// </summary>
        /// <param name="configuration">
        /// The configuration.
        /// </param>
        /// <param name="project">
        /// The project.
        /// </param>
        /// <param name="vshelper">
        /// The vshelper.
        /// </param>
        /// <returns>
        /// The <see cref="UserControl"/>.
        /// </returns>
        public UserControl GetUserControl(ISonarConfiguration configuration, Resource project, IVsEnvironmentHelper vshelper)
        {
            this.InitModel(configuration, project, vshelper);

            var view = new DuplicationUserControl(this.model);
            return view;
        }