void mindMap_SubjectClick(object sender, JsmMind.SubjectBase e) { SubjectBase subject = this.mindMap.SelectedSubject; if (subject == null) return; this.lblTitle.Text = subject.Title; this.richTextBox1.Text = subject.Content; }
public virtual void AddRange(JsmMind.ToggleColumnHeader[] items) { lock(List.SyncRoot) { for (int i=0; i< items.Length; i++) { items[i].WidthResized += new EventHandler(OnWidthResized); List.Add(items[i]); } } }
public virtual int Add(JsmMind.ToggleColumnHeader colhead) { colhead.WidthResized += new EventHandler(OnWidthResized); return colhead.Index = List.Add(colhead); }