public DisableFirefoxConfig(DisableFirefoxProxyAction disableFirefoxProxyAction, Guid networkId)
            : this()
        {
            this.disableFirefoxProxyAction = disableFirefoxProxyAction;
            this.networkId = networkId;

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

            PopulateComboBox();

            comboBoxProfiles.SelectedItem = this.disableFirefoxProxyAction.GetProfileToSwitch(this.networkId);
            if (comboBoxProfiles.SelectedItem == null)
                comboBoxProfiles.SelectedIndex = 0;
        }
        public DisableFirefoxConfig(DisableFirefoxProxyAction disableFirefoxProxyAction, Guid networkId)
            : this()
        {
            this.disableFirefoxProxyAction = disableFirefoxProxyAction;
            this.networkId = networkId;

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

            PopulateComboBox();

            comboBoxProfiles.SelectedItem = this.disableFirefoxProxyAction.GetProfileToSwitch(this.networkId);
            if (comboBoxProfiles.SelectedItem == null)
            {
                comboBoxProfiles.SelectedIndex = 0;
            }
        }