Пример #1
0
 private void cmdShowAttribute_Click(object sender, EventArgs e)
 {
     Forms.XonomyBox box = (Forms.XonomyBox) this.rightPanel.Controls[0];
     if (box != null)
     {
         box.ShowAttribute();
     }
 }
Пример #2
0
 private void cmdHarvest_Click(object sender, EventArgs e)
 {
     Forms.XonomyBox box = (Forms.XonomyBox) this.rightPanel.Controls[0];
     box.Harvest();
 }
Пример #3
0
 private void Form1_Load(object sender, EventArgs e)
 {
     Forms.XonomyBox box = new Forms.XonomyBox("Resources/UserData/SampleXmlData.xml", "Resources/UserData/SampleDocSpec.js");
     box.Dock = DockStyle.Fill;
     this.rightPanel.Controls.Add(box);
 }