Esempio n. 1
0
        private void claimBuildMenuItem_Click(object sender, EventArgs e)
        {
            Project project = GetSelectedProject();

            if (project == null)
            {
                return;
            }
            BuildDetails lastFailedBuild = project.LastFailedBuild;

            if (lastFailedBuild == null)
            {
                return;
            }

            var form = new ClaimBuildForm();

            form.Initialize(project, lastFailedBuild);

            var res = form.ShowDialog();

            if (res != DialogResult.OK)
            {
                return;
            }
        }
Esempio n. 2
0
        private void claimBuildMenuItem_Click(object sender, EventArgs e)
        {
            Project project = GetSelectedProject();
            if (project == null)
                return;
            BuildDetails lastFailedBuild = project.LastFailedBuild;
            if (lastFailedBuild == null)
                return;

            var form = new ClaimBuildForm();
            form.Initialize(project, lastFailedBuild);

            var res = form.ShowDialog();
            if (res != DialogResult.OK)
                return;
        }