如何在 C# Windows 应用程序中创建显示的图像缩略图数组?

发布于 2024-08-04 08:36:25 字数 142 浏览 3 评论 0原文

我想在 C# Windows 应用程序中创建显示的图像缩略图数组。

我希望每个图像都可以选择迁移到图片框中。

有人建造过这样的东西吗?

我正在尝试找出最快/最有效的方法来做到这一点。我已经考虑过一个其中显示图像集合的面板。

I want to create a displayed array of image thumbnails in a C# Windows app.

I would like each image to be selectable for migration into a picturebox.

Has anyone built something like this?

I am trying to figure the quickest/ most efficient way to do it. I have already considered a panel with a collection of images displayed therein.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

单挑你×的.吻 2024-08-11 08:36:25

我认为您可以使用 Image.GetThumbnailImage() 获取所需图像的缩略图,并将它们放置在图片框控件中,该控件将根据要显示的图像数量动态创建,然后使用拖放操作从面板上的缩略图图片框控件,用于显示全尺寸图像等。

I think that you can use the Image.GetThumbnailImage() to get a thumbnail of required images and place them in picturebox controls which will be created dynamically depending on the count of images to be displayed and then use the drag and drop to drag image from a tumbnail picturebox control to a panel for displaying the full size image etc.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文