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); }
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); }