Exemplo n.º 1
0
        private void AddDirectoryDirect(string path, bool subdirectories, bool enabled)
        {
            var inputDir = new InputDirControl(path, this.ImageList);

            inputDir.SetArgs(subdirectories, enabled);
            InputDirsPanel.Controls.Add(inputDir);
        }
Exemplo n.º 2
0
        private void AddDirectory()
        {
            AddDirectoryForm AddDirDialog = new AddDirectoryForm();

            if (AddDirDialog.ShowDialog(this) == DialogResult.OK)
            {
                var inputDir = new InputDirControl(AddDirDialog.GetPath(), this.ImageList);
                InputDirsPanel.Controls.Add(inputDir);
            }
            SinkLabel.Focus();
        }