为什么在将Infinity传递给Graphics.ScaleTransform时Windows 7 Thows异常 [英] Why Windows 7 Thows Exception when infinity is passed to Graphics.ScaleTransform

查看:99
本文介绍了为什么在将Infinity传递给Graphics.ScaleTransform时Windows 7 Thows异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在XP中,相同的无穷大作为Graphics.Parameter的参数之一传递,但在Windows 7中没有引发异常,为什么会这样呢?在XP中没有引发异常并在Windows 7中引发异常的原因是什么?

In XP the same infinity is passed as one of parameter for Graphics.ScaleTransform exception is not thrown but in windows 7 exception is thrown why is it like this?what is reason of not throwing exception in xp and throwing exception in windows 7

推荐答案

类似的问题已经提出并得到了回答.看看:

http://social.msdn.microsoft.com/Forums/zh/csharplanguage/thread/faa39655-a0fe-4b2d-9cab-8fba887113bb [ http://www.codeguru.com/forum/showthread.php?t=514491 [ ^ ]
Similar questions have been asked and have been answered. Take a look:

http://social.msdn.microsoft.com/Forums/en/csharplanguage/thread/faa39655-a0fe-4b2d-9cab-8fba887113bb[^]
http://www.codeguru.com/forum/showthread.php?t=514491[^]


这篇关于为什么在将Infinity传递给Graphics.ScaleTransform时Windows 7 Thows异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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