public void OnCurrentProjectSetting(Office.IRibbonControl control)
        {
            if (SelectedProjects == null)
            {
                return;
            }
            if (m_FormInspectorSelectSingleProject == null || m_FormInspectorSelectSingleProject.IsDisposed)
            {
                m_FormInspectorSelectSingleProject = new FormInspectorSelectSingleProject(SelectedProjects);
            }
            else
            {
                m_FormInspectorSelectSingleProject.Init(SelectedProjects);
            }

            if (m_FormInspectorSelectSingleProject.ShowDialog() == DialogResult.OK)
            {
                CurrentAssignProject = m_FormInspectorSelectSingleProject.SelectedJiraProject;
                CheckRequiredFieldValue();
            }
            UpdateCurrentProjectUI();
        }
        private bool CheckCurrentProject()
        {
            if (SelectedProjects == null)
            {
                SelectProjects();
            }

            if (CurrentAssignProject == null)
            {
                if (m_FormInspectorSelectSingleProject == null || m_FormInspectorSelectSingleProject.IsDisposed)
                {
                    m_FormInspectorSelectSingleProject = new FormInspectorSelectSingleProject(SelectedProjects);
                }
                if (m_FormInspectorSelectSingleProject.ShowDialog() == DialogResult.OK)
                {
                    CurrentAssignProject = m_FormInspectorSelectSingleProject.SelectedJiraProject;
                    UpdateCurrentProjectUI();
                }
            }

            return(CurrentAssignProject != null);
        }