コード例 #1
0
ファイル: ConfigForm.cs プロジェクト: powellmichael/V1TFS
        private void btnSaveVersionOneSettings_Click(object sender, EventArgs e)
        {
            RegistryProcessor.SetString(RegistryProcessor.V1UrlParameter, V1URLTB.Text);
            RegistryProcessor.SetString(RegistryProcessor.V1UsernameParameter, V1UsernameTB.Text);
            RegistryProcessor.SetPassword(RegistryProcessor.V1PasswordParameter, V1PasswordTB.Text);
            RegistryProcessor.SetBool(RegistryProcessor.V1WindowsAuthParameter, UseIntegratedAuthenticationCB.Checked);

            RegistryProcessor.SetBool(RegistryProcessor.V1UseProxyParameter, chkUseProxy.Checked);
            RegistryProcessor.SetString(RegistryProcessor.V1ProxyUrlParameter, txtProxyUrl.Text);
            RegistryProcessor.SetString(RegistryProcessor.V1ProxyUsernameParameter, txtProxyUsername.Text);
            RegistryProcessor.SetString(RegistryProcessor.V1ProxyPasswordParameter, txtProxyPassword.Text);
            RegistryProcessor.SetString(RegistryProcessor.V1ProxyDomainParameter, txtProxyDomain.Text);
        }
コード例 #2
0
ファイル: ConfigForm.cs プロジェクト: powellmichael/V1TFS
 private void SaveSettingsB_Click(object sender, EventArgs e)
 {
     RegistryProcessor.SetString(RegistryProcessor.V1RegexParameter, RegExTB.Text);
     RegistryProcessor.SetBool(RegistryProcessor.DebugEnabledParameter, chkDebugMode.Checked);
 }