4 public event EventHandler ChildSourceAdded
;
5 public event EventHandler ChildSourceRemoved
;
7 Source
FindSource (Source x
){ return null; }
9 private void AddSource(Source source
, int position
, object parent
)
11 if(!FindSource(source
).Equals(source
)) {
17 source
.ChildSourceAdded
+= delegate(object t
, EventArgs e
) {
18 AddSource((Source
)(object)e
, position
, iter
);
21 source
.ChildSourceRemoved
+= delegate(object t
, EventArgs e
) {
25 static void Main () {}