如何在c#.net中生成全局resx文件? [英] how to generate global resx file in c#.net?

查看:95
本文介绍了如何在c#.net中生成全局resx文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我还有另一个问题
我想为所有表单生成通用的resx文件,因为我的桌面应用程序中有多个表单,并且我不想为每种表单生成单独的resx文件.我想生成一个resx文件,其中包含所有表单的信息以及如何在应用程序级别应用此内容.
thanx

I have another qus
i want to generate common resx file for all the forms becaz i have multiple forms in my desktop application and i don''t want to generate seperate resx file for each form. I want to generate a resx file like that which contain the information for all the forms and how to apply this thing on application level.
thanx

推荐答案

为什么要重新设计Winforms的工作方式?无论如何,你不能.您也许可以使用视觉继承在基类中放置一些常见项目,但我不知道,我认为这很疯狂,我从未做到过.
Why do you want to redesign the way that Winforms works ? You can''t anyhow. You might be able to use visual inheritance to place some common items in a base class, but I don''t know, I thnk that''s nuts, I''ve never done it.


这篇关于如何在c#.net中生成全局resx文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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