示例#1
0
        internal virtual void OnRaiseNodeSelected(NodeSelectedEventArgs e)
        {
            EventHandler <NodeSelectedEventArgs> handler = NodeSelected;

            // Event will be null if there are no subscribers
            if (handler != null)
            {
                handler(this, e);
            }
        }
示例#2
0
        private void testBrowser1_NodeSelected(object sender, NodeSelectedEventArgs e)
        {
            propertyGrid1.SelectedObject = e.NewItem;
            EnableMenuItems(e.NewItem);

            ISsisUnitPersist item = e.NewItem as ISsisUnitPersist;

            txtXML.Text = item != null?FormatXml(item.PersistToXml()) : string.Empty;

            // ConnectionRef connectionRef = e.NewItem as ConnectionRef;

            // if (connectionRef != null)
            //     connectionRef.RefreshInvariantTypeAccessiblity();
        }