/// <summary> /// Apply currently selected profile /// </summary> private void applyProfile() { ApplySettingDialog applyDialog = new ApplySettingDialog(); applyDialog.Show(); applyDialog.Refresh(); // Start applying setting applyDialog.ApplySetting(_CurrentProfile); // show current configuration after applying loadCurrentSetting(_NICName); loadCurrentProxySetting(); }
/// <summary> /// Apply currently selected profile /// </summary> private void applyProfile() { ApplySettingDialog applyDialog = new ApplySettingDialog(); applyDialog.Show(); applyDialog.Refresh(); // Start applying setting applyDialog.ApplySetting(_CurrentProfile, _NICName); // show current configuration after applying loadCurrentSetting(_NICName); loadCurrentProxySetting(); }