Ejemplo 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;
            }
        }
Ejemplo 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;
        }