AnfiniL.SqlExpressProfiler.Controls.GeneralTracePropertiesControl.authenticationComboBox_SelectedIndexChanged C# (CSharp) Method

authenticationComboBox_SelectedIndexChanged() private method

private authenticationComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private void authenticationComboBox_SelectedIndexChanged(object sender, EventArgs e)
        {
            userNameComboBox.Enabled = passwordTextBox.Enabled = authenticationComboBox.SelectedIndex == 0;
            Settings.Default.LastWindowsAuth = WindowsAuthentication;
        }