Windows 7中Visual Studio和C#下的“页面设置对话框"的功能不同. [英] Functionality of Page Setup Dialog under Visual studio and C# in windows 7 is different.

查看:67
本文介绍了Windows 7中Visual Studio和C#下的“页面设置对话框"的功能不同.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


当我们在Windows7和Vista下使用PageSetupdialog类时,不会显示打印机按钮.

但是,当我打开Visual Studio 2008并选择"PageSetup"对话框时,将显示打印"按钮.即它的工作方式像XP.

我也可以在应用程序中使用相同的对话框吗?会解决我的问题吗?

我不确定是否可以使用它.

有没有人以前使用过它??

此致
somnath.

Hi,
When we use PageSetupdialog class under windows7 and Vista, printer button not displayed.

But when I open Visual studio 2008 and And select PageSetup dialog over there , print button is displayed. i.e it is working like XP.

Can i use same dialog in my application also ? it will solve my problem ?

I am not sure whether I can use it or not.

does any body have used it before.?

Regards,
somnath.

推荐答案

您好.我在Windows 7和Visual Studio 2010下执行了以下操作:

Hello. I did the following under windows 7 and Visual Studio 2010:

var d = new PrintDialog();
d.ShowDialog();



我确实得到了打印"按钮.



I did get the Print Button.


这篇关于Windows 7中Visual Studio和C#下的“页面设置对话框"的功能不同.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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