放大/缩小Windows应用程序中出现的问题 [英] Issue raised in zoom in/out windows app

查看:180
本文介绍了放大/缩小Windows应用程序中出现的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我想将缩放功能添加到Windows应用程序中.当我知道使用Windows应用程序无法实现时,我在wpf中带来了该功能.然后,我在Windows应用程序中导入了该控件.很公平.但是问题是,保持在wpf窗体上的控件只是放大/缩小,而不是Windows窗体上的控件.

Hi, I want to put zoomer functionality to my windows app. When I came to know that its not possible with windows app i brought out the functionality in wpf. Then i imported that control in windows app. Fair enough. But the issue is what the controls kept on wpf form are only getting zoom in/out but not controls on windows form. So can u help me how to do this?

推荐答案

正如您已经说过的:这仅在WPF中有效.
那么,为什么由于引入了WPF控件而期望它突然开始在WinForms中工作呢?就像是在说:我在车上放了柴油,所以现在是柴油发动机.上周它运行在无铅状态,但是现在引擎发生了神奇的变化……
As you have already said: this only works in WPF.
So why would you expect it suddenly to start working in WinForms because you have brought a WPF control in? That''s like saying: I put diesel in my car, so it is now a diesel engine. Last week it ran on unleaded, but now the engine has magically changed...


这篇关于放大/缩小Windows应用程序中出现的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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