void MergeEvent(WidgetParser parser, XmlElement objectElem, IEventSymbol evnt)
        {
            XmlElement itemGroups = objectElem ["signals"];

            if (itemGroups == null)
            {
                itemGroups = objectElem.OwnerDocument.CreateElement("signals");
                objectElem.AppendChild(itemGroups);
            }

            string     cat       = evnt.GetComponentCategory();
            XmlElement itemGroup = GetItemGroup(evnt.ContainingType, itemGroups, cat, "Signals");

            XmlElement signalElem = (XmlElement)itemGroup.SelectSingleNode("signal[@name='" + evnt.Name + "']");

            if (signalElem == null)
            {
                signalElem = itemGroup.OwnerDocument.CreateElement("signal");
                signalElem.SetAttribute("name", evnt.Name);
                itemGroup.AppendChild(signalElem);
            }
        }
		void MergeEvent (WidgetParser parser, XmlElement objectElem, IEventSymbol evnt)
		{
			XmlElement itemGroups = objectElem ["signals"];
			if (itemGroups == null) {
				itemGroups = objectElem.OwnerDocument.CreateElement ("signals");
				objectElem.AppendChild (itemGroups);
			}
			
			string cat = evnt.GetComponentCategory ();
			XmlElement itemGroup = GetItemGroup (evnt.ContainingType, itemGroups, cat, "Signals");
			
			XmlElement signalElem = (XmlElement) itemGroup.SelectSingleNode ("signal[@name='" + evnt.Name + "']");
			if (signalElem == null) {
				signalElem = itemGroup.OwnerDocument.CreateElement ("signal");
				signalElem.SetAttribute ("name", evnt.Name);
				itemGroup.AppendChild (signalElem);
			}
		}