protected void OnSourceEvent(EventSourceTreeArgs args) { if (EventSource != null) { EventSource(this, args); } }
private void tvSourceTree_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e) { if (e.Node.Level == 1) { EventSourceTreeArgs args = new EventSourceTreeArgs(EventSourceType.Open, (DbTool.DbForms.SourceTree.TreeNodeType)e.Node.Parent.Tag, e.Node.Tag); OnSourceEvent(args); } }