/// <summary>Changes the version of the solution.</summary>
        public void ChangeVersion()
        {
            ChangeVersionViewModel viewModel = new ChangeVersionViewModel(this.Version);

            Dictionary <string, object> settingsDictionary = new Dictionary <string, object>
            {
                { "ResizeMode", ResizeMode.NoResize }
            };

            bool?answer = this.windowManager.ShowDialog(viewModel, null, settingsDictionary);

            if (answer.HasValue && answer.Value)
            {
                this.Version = viewModel.GetVersion().ToString();
            }
        }
        /// <summary>Changes the version of a solution.</summary>
        public void ChangeVersion()
        {
            // Create the ViewModel
            ChangeVersionViewModel viewModel = new ChangeVersionViewModel(this.Version);

            // Get how the window was closed
            bool?answer = this.windowManager.ShowDialog(viewModel);

            // Do a switch based on the closed value.
            if (answer.HasValue && answer.Value)
            {
                this.Version = viewModel.GetVersion();
            }

            // Since the version changed we need to save the solution.
            this.SaveSolution();
        }
        /// <summary>Changes the version of the solution.</summary>
        public void ChangeVersion()
        {
            ChangeVersionViewModel viewModel = new ChangeVersionViewModel(this.Version);

            Dictionary<string, object> settingsDictionary = new Dictionary<string, object>
            {
                { "ResizeMode", ResizeMode.NoResize }
            };

            bool? answer = this.windowManager.ShowDialog(viewModel, null, settingsDictionary);

            if (answer.HasValue && answer.Value)
            {
                this.Version = viewModel.GetVersion().ToString();
            }
        }