コード例 #1
0
 public void ListDirectoriesAndFilesByName()
 {
     MyElements.Clear();
     MyElements.AddRange(CurrentDirectory.GetDirectories());
     MyElements.AddRange(CurrentDirectory.GetFiles());
     MyElements.Sort((x, y) => string.Compare(x.Name, y.Name));
     ViewList();
 }