Telerik.TestStudio.Jira.BugTracking.JiraConnectionUI.GetProjectsCanExecute C# (CSharp) Method

GetProjectsCanExecute() private method

private GetProjectsCanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
sender object
e System.Windows.Input.CanExecuteRoutedEventArgs
return void
        private void GetProjectsCanExecute(object sender, CanExecuteRoutedEventArgs e)
        {
            if (this.tbUser.Text.Length > 0 && this.passwordBox1.SecurePassword.Length > 0)
            {
                e.CanExecute = true;
            }
            else
            {
                e.CanExecute = false;
            }
        }