Exemplo n.º 1
0
 private void Form1_Load(object sender, System.EventArgs e)
 {
     DirectoryTreeControl.DirectoryTree dirTree = new
                                                  DirectoryTreeControl.DirectoryTree();
     dirTree.Size     = new Size(this.Width - 30, this.Height - 60);
     dirTree.Location = new Point(5, 5);
     dirTree.Drive    = Char.Parse("C");
     this.Controls.Add(dirTree);
 }
Exemplo n.º 2
0
		private void Form1_Load(object sender, System.EventArgs e)
		{
			DirectoryTreeControl.DirectoryTree dirTree = new 
				DirectoryTreeControl.DirectoryTree();
			dirTree.Size = new Size(this.Width - 30, this.Height - 60);
			dirTree.Location = new Point(5, 5);
			dirTree.Drive = Char.Parse("C");
			this.Controls.Add(dirTree);

		}