Пример #1
0
        public RemoteDirectories GetLMDDirectories()
        {
            string            path           = @"\\Ypiibldoc1\Documents\FlowCytometry\Analysis\BillingsClinic\LMD";
            RemoteDirectories lmdDirectories = new RemoteDirectories();

            string[] directories = System.IO.Directory.GetDirectories(path);
            foreach (string directoryName in directories)
            {
                RemoteDirectory lmdDirectory = new RemoteDirectory(directoryName);
                lmdDirectories.Items.Add(lmdDirectory);

                string[] files = System.IO.Directory.GetFiles(directoryName);
                foreach (string file in files)
                {
                    RemoteFile lmdFile = new RemoteFile(file);
                    lmdDirectory.Files.Items.Add(lmdFile);
                }
            }
            return(lmdDirectories);
        }
Пример #2
0
        public RemoteDirectories GetLMDDirectories()
        {
            string path = @"\\Ypiibldoc1\Documents\FlowCytometry\Analysis\BillingsClinic\LMD";
            RemoteDirectories lmdDirectories = new RemoteDirectories();
            string[] directories = System.IO.Directory.GetDirectories(path);
            foreach (string directoryName in directories)
            {
                RemoteDirectory lmdDirectory = new RemoteDirectory(directoryName);
                lmdDirectories.Items.Add(lmdDirectory);

                string[] files = System.IO.Directory.GetFiles(directoryName);
                foreach (string file in files)
                {
                    RemoteFile lmdFile = new RemoteFile(file);
                    lmdDirectory.Files.Items.Add(lmdFile);
                }
            }
            return lmdDirectories;
        }