示例#1
0
        /// <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);
        }
示例#2
0
        /// <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);
        }
示例#3
0
        /// <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);
        }
示例#4
0
        /// <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);
        }
示例#5
0
        /// <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);
        }
示例#6
0
        /// <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);
        }