Beispiel #1
0
 public WebBrowserViewModel(WebBrowserParameters parameters)
 {
     this.Parameters            = parameters;
     this.back                  = 0;
     this.forward               = 0;
     this.isBackOrForwardAction = null;
     this.SetLoadingState(false);
     this.titles = new Dictionary <string, string>();
     this.RaisePropertyChanged("BrowserVisibility");
 }
        public PluginSettingsDialog(WebBrowserParameters parameters)
        {
            ExceptionsHelper.CheckIsNull(parameters, "parameters");

            this.Parameters = parameters;
            this.InitializeComponent();
            this.titleTextBox.Text = this.Parameters.Title;
            this.urlTextBox.Text   = this.Parameters.URL;
            this.DataContext       = this.parameters;
        }