Esempio n. 1
0
        /// <summary>
        /// プロジェクト情報を取得します
        /// </summary>
        private void getProjectInfo()
        {
            try
            {
                if (Settings.Instance.IsValid())
                {
                    RedmineApi.apiKey  = Settings.Instance.redmineApiKey;
                    RedmineApi.baseUrl = Settings.Instance.redmineUrl;
                    RedmineApi.limit   = Settings.Instance.redmineApiLimit;

                    // URL,APIKey指定
                    this.issueStatus = RedmineApi.GetIssueStatus();
                    this.projectInfo = RedmineApi.GetProjects();

                    this.displayProjectInfo(this.projectInfo.projects);
                }
                else
                {
                    MessageBox.Show("設定を行って下さい。");
                    ConfigWindow.ShowWindow();
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.ToString());
            }
        }
Esempio n. 2
0
 /// <summary>
 /// コンストラクタ
 /// </summary>
 /// <param name="projectData">対象ProjectData</param>
 /// <param name="issueInfo">対象Issue</param>
 /// <param name="issueStatus">対象IssueStatus</param>
 public OutputExcel(ProjectData projectData, Issues issueInfo, IssuesStatus issueStatus)
 {
     this.projectData = projectData;
     this.issueInfo   = issueInfo;
     this.issueStatus = issueStatus;
 }