@omerkhan

Как решить проблему с PictureBox а Windows Forms?

Добрый вечер
Указал в InittialImage фото, но оно не отображается. Вместо нее просто цвет заднего фона. Что делать?
61c9b305582b1820478830.jpeg
  • Вопрос задан
  • 110 просмотров
Пригласить эксперта
Ответы на вопрос 1
yarosroman
@yarosroman Куратор тега C#
C# the best
Typically the PictureBox is used to display graphics from a bitmap, metafile, icon, JPEG, GIF, or PNG file.

Set the Image property to the Image you want to display, either at design time or at run time. You can alternatively specify the image by setting the ImageLocation property and load the image synchronously using the Load method or asynchronously using the LoadAsync method.

https://docs.microsoft.com/ru-ru/dotnet/api/system...
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы