Esempio n. 1
0
        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;
        }
Esempio n. 2
0
 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]);
         }
     }
 }
Esempio n. 3
0
 public virtual int Add(JsmMind.ToggleColumnHeader colhead)
 {
     colhead.WidthResized += new EventHandler(OnWidthResized);
     return colhead.Index = List.Add(colhead);
 }