Exemple #1
0
 private void PrepareCR()
 {
     ProjectComboBox.Items.AddRange(TargetProcessHelper.GetProjects().ToArray());
     userStoryComboBox.Items.AddRange(TargetProcessHelper.GetUserStories().ToArray());
     userStoryComboBox.Items.Add(string.Empty);
     SubmitCRBtn.Enabled      = true;
     LoginCompleteLbl.Visible = true;
 }
Exemple #2
0
        private void SubmitCRBtn_Click(object sender, EventArgs e)
        {
            string result = TargetProcessHelper.MakeCR(GetChosenProject(), GetChosenUserStory(),
                                                       GetBugName(), GetBugLocation(), GetFailMessage());

            if (result != null)
            {
                MessageBox.Show("Success! CR#" + result + " submitted.");
                mFailureTracker.ProcessFailure("http://target.openspan.com/tp/entity/" + result);
                OnFormClosed("Submit");
                this.Close();
            }
        }