public ProfileSelector(FirefoxProxyAction firefoxProxyAction, Guid networkId)
            : this()
        {
            this.firefoxProxyAction = firefoxProxyAction;
            this.networkId = networkId;

            this.textBoxFolder.Text = this.firefoxProxyAction.GetProfileFolder(networkId);

            PopulateComboBox();

            comboBoxProfiles.SelectedItem = this.firefoxProxyAction.GetProfileToSwitch(this.networkId);
            if (comboBoxProfiles.SelectedItem == null)
                comboBoxProfiles.SelectedIndex = 0;
        }
        public ProfileSelector(FirefoxProxyAction firefoxProxyAction, Guid networkId)
            : this()
        {
            this.firefoxProxyAction = firefoxProxyAction;
            this.networkId          = networkId;

            this.textBoxFolder.Text = this.firefoxProxyAction.GetProfileFolder(networkId);

            PopulateComboBox();

            comboBoxProfiles.SelectedItem = this.firefoxProxyAction.GetProfileToSwitch(this.networkId);
            if (comboBoxProfiles.SelectedItem == null)
            {
                comboBoxProfiles.SelectedIndex = 0;
            }
        }
 public FirefoxCustomContent(FirefoxProxyAction firefoxProxyAction, Guid networkId)
     : this()
 {
     this.firefoxProxyAction = firefoxProxyAction;
     this.networkId = networkId;
 }
Example #4
0
 public FirefoxCustomContent(FirefoxProxyAction firefoxProxyAction, Guid networkId)
     : this()
 {
     this.firefoxProxyAction = firefoxProxyAction;
     this.networkId          = networkId;
 }