일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Binding
- Coding
- windows10
- dotNET
- Github
- .net
- logging
- tls
- IValueConverter
- csharp
- Process
- File
- string
- log
- chashtag
- C#
- git
- WPF
- 코딩테스트
- algorithm
- Microsoft
- nullable
- windows
- coding-test
- commit
- ListView
- Visual Studio
- programmers
- mysql
- convert
Archives
- Today
- Total
목록select (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