Beispiel #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            var ds = new DirectoryService();
            var vm = new FileExplorerViewModel(ds);
            var sb = new DaysOldStringBuilder();

            Application.Run(new FileExplorerForm(vm, sb));
        }
 public FileExplorerViewModel(DirectoryService directoryService)
 {
     _directoryService = directoryService;
 }