将图片在图片框中加载到可缩放图片框控件 [英] loading image in picturebox to scalablepicturebox control

查看:63
本文介绍了将图片在图片框中加载到可缩放图片框控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序中,我有一个图片框和可缩放图片框控件,我需要将图片从图片框设置为我的可缩放图片框控件,该控件存在于form2中,而不是在主窗体上,但是我的图片框在主窗体上.所以该怎么办?因此,请让我知道它的代码段.

In my application i have a picture box and scalablepicturebox control,i need to set image from picturebox to my scalablepicturebox control which is present in form2 and not on mainform but my picturebox is on main form.so what to do ?? so please let me know the piece of code for it.

推荐答案

将其发布在C#论坛中(如您所愿)或在Quick Answers论坛中(如您所愿)有).不要只是将其发布在您认为合适的任何地方-这会重复努力并惹恼人们.生气的人不太可能回答您...
Either post this in the C# forum (as you have) or in the Quick Answers forum (as you have). Don''t just post it everywhere you think it might fit - that duplicates effort and annoys people. Annoyed people are less likely to answer you...


这篇关于将图片在图片框中加载到可缩放图片框控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆