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