回答編集履歴
1
using System.Runtime.InteropServices; を追加
answer
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
とりあえず、Windows API を使用してフォルダ選択ダイアログを表示することはできますね。
|
2
2
|
|
3
3
|
```C#
|
4
|
+
using System.Runtime.InteropServices;
|
5
|
+
// 中略 //
|
6
|
+
|
7
|
+
namespace WpfApp
|
8
|
+
{
|
4
9
|
public partial class MainWindow : Window
|
5
10
|
{
|
6
11
|
private const int MAX_PATH = 260;
|
@@ -64,5 +69,5 @@
|
|
64
69
|
}
|
65
70
|
}
|
66
71
|
}
|
67
|
-
|
72
|
+
}
|
68
73
|
```
|