Application.SetCompatibleTextRenderingDefault(false);
오류 :Application.SetCompatibleTextRenderingDefault (false);
Before the establishment of the first object IWin32Window in the annex to call SetCompatibleTextRenderingDefault.
왜 오류가? 피하는 법? SetCompatibleTextRenderingDefault
은 실제로 무엇을합니까?
콘솔 응용 프로그램에서 사용할 수 있습니까? 왜냐하면 내가 main() { – Cynede
콘솔 응용 프로그램을 작성하고 있다면이 함수를 호출 할 필요가 없으며, 성공하면 아무 효과가 없을 것입니다. – Timores
@Timores 콘솔 응용 프로그램을 사용하는 경우에도 레이블을 만들 수 있지만이 레이블을 WindowsForm에 표시 할 수는 없지만 Label.DrawBitmap을 사용할 수는 있습니다. 그리고 GDI + 대신 Label 및 GDI를 사용하는 경우 레이블의 일부 문자 (및 비트 맵의 문자)가 제대로 렌더러되지 않습니다. – sabisabi