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