コード例 #1
0
        /// <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();
        }
コード例 #2
0
        /// <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();
        }