public void SetUp()
		{
			List<WixXmlAttribute> attributes = new List<WixXmlAttribute>();
			attributes.Add(new WixXmlAttribute("First", "FirstValue", WixXmlAttributeType.Text));
			attributes.Add(new WixXmlAttribute("Second", "SecondValue", WixXmlAttributeType.Text));
			wixXmlAttributes = new ReadOnlyCollection<WixXmlAttribute>(attributes);
			descriptor = new WixXmlAttributeTypeDescriptor(wixXmlAttributes);
		}
Ejemplo n.º 2
0
		/// <summary>
		/// Redisplays the attributes after they have been changed.
		/// </summary>
		public void AttributesChanged()
		{
			typeDescriptor = new WixXmlAttributeTypeDescriptor(wixXmlAttributes);
			propertyGrid.SelectedObject = typeDescriptor;
		}
 /// <summary>
 /// Redisplays the attributes after they have been changed.
 /// </summary>
 public void AttributesChanged()
 {
     typeDescriptor = new WixXmlAttributeTypeDescriptor(wixXmlAttributes);
     propertyGrid.SelectedObject = typeDescriptor;
 }