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