문제

Does anyone knows how to change text on button in OpenFileDialog in Windows.Forms in C#.NET?

도움이 되었습니까?

해결책

Take a look at this example on CodeProject: OpenFileDialogEx

Basically, you will need to listen for the WM_ACTIVATE message from the modal dialog and then pass the window handle to System.Windows.Forms.NativeWindow. From there, you can customize the dialog.

I'm not saying this is the only solution, but it looks like it will do the trick with the least amount of work from your end.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top