コード例 #1
0
        public static DirectoryViewer add_Directory(this IStep step, string startDirectory)
        {
           	var directory = new DirectoryViewer();
			directory.Dock = DockStyle.Fill;
			directory._HideFiles = true;
			directory._ViewMode = DirectoryViewer.ViewMode.Simple_With_LocationBar;
			directory.AllowDrop = false;
			
            directory.openDirectory(startDirectory);
            directory.refreshDirectoryView();
            directory._WatchFolder = true;
            step.add_Control(directory);
            return directory;
        }