You have to learn how to build AutoCAD extensions in order to do that.
The API samples and the online docs have examples that show how to use a
windows form from within an AutoCAD extension, and how to build an AutoCAD
extension.
This is not an online classroom.
Download the API samples and consult the online documentation for learning
the basics of building an AutoCAD extension, and using Windows Forms and
controls with them.
It's all there, and no one here has the time to feed it to you with a spoon.
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010
http://www.acadxtabs.com
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");
wrote in message news:6294276@discussion.autodesk.com...
Hi i got a very simple tree view i did for testing here.. can anybody teach
me how to load this tree view into AutoCAD interface? thanks.
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void treeView1_AfterSelect(object sender, TreeViewEventArgs
e)
{
}
private void button1_Click(object sender, EventArgs e)
{
treeView1.Nodes.Add("Root","Testing1");
}
private void button2_Click(object sender, EventArgs e)
{
treeView1.Nodes["Root"].Nodes.Add("test", "one");
}
private void button3_Click(object sender, EventArgs e)
{
treeView1.Nodes.Add("test", "Testing2");
}
private void button4_Click(object sender, EventArgs e)
{
treeView1.Nodes["test"].Nodes.Add("test2", "two");
}
}
}