Error 3 ‘Application’ does not contain a definition for ‘EnableVisualStyles’
Error 4 ‘Application’ does not contain a definition for ‘SetCompatibleTextRenderingDefault’
Error 5 ‘Application’ does not contain a definition for ‘Run’
말 그대로…
저 메서드를 갖고 있지 않다는 뜻이다.
왜 갖고있지 않느냐..하는 문제..
동일한 경로를 가진 중복이 발생해서 그렇다.
using System.Windows.Forms; 보다 더 접근이 쉬운 Application이라는 객체가 생성되어 있는 상황이다.
1 |
System.Windows.Forms.Application 이라고 명시를 해 주면 해결된다. |
1 |
최근 비슷한 경우를 많이 겪어봐가지고... 금방 해결됐지.. 아니었으면 고생 좀 할뻔했다. |
영어로도 써놔야될까…
As to Error message ‘Application’ object doesn’t have ‘EnableVisualStyle’ ,’ SetCompatibleTextRenderingDefault’, ‘Run’…
1 |
Definetely another Application object is appear in your project. |
1 |
and that 'Application'object is more accessible than Original 'Application' |
1 |
Solution: |
1 |
Just Explicit path of object "System.Windows.Forms.Application" |
1 |
알아는 볼래나... 쓰긴 썼는데 해석은 잘 안되는 영어...참..InputStream밖에 없는 영어교육... |