public static bool Edit(DeployBuildConfiguration deployBuildConfiguration)
 {
     var form = new EditBuildConfigurationForm();
     form._deployBuildConfiguration = deployBuildConfiguration;
     form.txtName.Text = deployBuildConfiguration.Name;
     form.txtConfiguration.Text = deployBuildConfiguration.BuildConfiguration;
     return form.ShowDialog() == DialogResult.OK;
 }
 public static DeployBuildConfiguration Add()
 {
     var form = new EditBuildConfigurationForm();
     return form.ShowDialog() == DialogResult.OK ? form._deployBuildConfiguration : null;
 }