private void Main_Load(object sender, EventArgs e) { simulationThread = new Thread(SimulationLoop); simulationThread.Start(); { var d = new WorldData(); d.Gravity = new Vec2(0, 10); var node = new WorldNode("World", d); treeView1.Nodes.Add(node); node.Expand(); } imageList1.Images.Add(Properties.Resources.world); imageList1.Images.Add(Properties.Resources.circle); imageList1.Images.Add(Properties.Resources.polygon); imageList1.Images.Add(Properties.Resources.body); treeView1.ImageList = imageList1; }