private void OkButtonClick(object sender, RoutedEventArgs e)
        {
            this.Parameters.Title = this.titleTextBox.Text;
            this.Parameters.URL   = WebBrowserMvvmHelper.NormalizeUrl(this.urlTextBox.Text);

            DialogResult = true;
        }
Ejemplo n.º 2
0
        private void ProcessWebPage()
        {
            this.isBackOrForwardAction = false;

            this.Parameters.URL = WebBrowserMvvmHelper.NormalizeUrl(this.UrlForTitle);

            this.RaisePropertyChanged("BrowserVisibility");
        }
        private void OkButtonClick(object sender, RoutedEventArgs e)
        {
            this.Parameters.Title = this.titleTextBox.Text;

            if (this.StatProSection.Text == "Analytics")
            {
                this.urlTextBox.Text = "https://revolution.statpro.com/go?menu_id=MS_Analysis_Section";
            }
            else if
            (this.StatProSection.Text == "Compliance")
            {
                this.urlTextBox.Text = "https://revolution.statpro.com/go?menu_id=MS_Compliance_Section";
            }
            else
            {
                this.urlTextBox.Text = "https://revolution.statpro.com/go?menu_id=MS_FixedIncome_Section";
            }
            this.Parameters.URL     = WebBrowserMvvmHelper.NormalizeUrl(this.urlTextBox.Text);
            this.Parameters.Section = this.StatProSection.Text;

            DialogResult = true;
        }