/// <summary> /// Instantiate a new RegistryControl class. /// </summary> /// <param name="application">Application to use as a backing store.</param> public RegistryControl(Scraper.Application application) { this.application = application; // This call is required by the Windows.Forms Form Designer. this.InitializeComponent(); this.addTreeNodeCallback = new AddTreeNodeCallback(this.AddTreeNode); }
/// <summary> /// Instantiate a new FilesControl class. /// </summary> public FilesControl() { // This call is required by the Windows.Forms Form Designer. this.InitializeComponent(); this.header1.Index = 0; this.addTreeNodeCallback = new AddTreeNodeCallback(this.AddTreeNode); }
/// <summary> /// Creates a pick entry step. /// </summary> public PickEntryStep() { this.InitializeComponent(); Icon folderIcon = NativeMethods.GetDirectoryIcon(true, false); this.treeView.ImageList.Images.Add("folder", folderIcon); this.folderImageIndex = this.treeView.ImageList.Images.IndexOfKey("folder"); this.addTreeNodeCallback = new AddTreeNodeCallback(this.AddTreeNode); }