private void button2_Click(object sender, EventArgs e)
        {
            // Read the properties
            string projectName  = string.Empty;
            string projectState = string.Empty;
            int    templateId   = 0;

            ProjectProperty[] projectProperties = null;

            css.GetProjectProperties(selectedProjectProps.CurrentProject.Uri, out projectName, out projectState, out templateId, out projectProperties);

            // Update the property to a new value
            List <ProjectProperty> lpp = projectProperties.ToList();


            var createVal = lpp.Where(p => (p.Name == ProcessTemplateProperties.CREATEVERSIONSTRING)).FirstOrDefault();

            if (createVal == null)
            {
                //add a value
                lpp.Add(new ProjectProperty(ProcessTemplateProperties.CREATEVERSIONSTRING, textBox1.Text));
            }
            else
            {
                //update value
                createVal.Value = textBox1.Text;
            }

            var currentVal = lpp.Where(p => (p.Name == ProcessTemplateProperties.CURRENTVERSIONSTRING)).FirstOrDefault();

            if (currentVal == null)
            {
                //add a value
                lpp.Add(new ProjectProperty(ProcessTemplateProperties.CURRENTVERSIONSTRING, textBox2.Text));
            }
            else
            {
                //update value
                currentVal.Value = textBox2.Text;
            }


            css.UpdateProjectProperties(selectedProjectProps.CurrentProject.Uri, projectState, lpp.ToArray());

            FillProjects();
        }