일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- logging
- .net
- IValueConverter
- Process
- git
- tls
- string
- csharp
- coding-test
- windows10
- commit
- programmers
- Binding
- convert
- WPF
- chashtag
- 코딩테스트
- windows
- algorithm
- C#
- Visual Studio
- Github
- dotNET
- File
- ListView
- Microsoft
- nullable
- log
- Coding
- mysql
Archives
- Today
- Total
목록multifile (1)
CHashtag

결론부터 알려드리겠습니다. public string[] SelectMultiFiles(string defaultPath) { string[] selectPath = null; var openFileDialog = new OpenFileDialog(); openFileDialog.Multiselect = true; if (Directory.Exists(defaultPath)) { openFileDialog.InitialDirectory = defaultPath; } else { openFileDialog.InitialDirectory = @"C:\"; } bool? result = openFileDialog.ShowDialog(); if (result.HasValue && result.Value) { se..
C#
2021. 2. 18. 00:26