积极答复者
C# 主项目甲和项目乙,乙如何调用甲中的静态量?

问题
答案
-
为什么要一个项目引用另外一个项目的静态量?
建议:
另外制作一个项目是类库,另外一个是一般程序(那么类库总是被引用的)。类库中定义一些变量,类库被甲引用,同时也被乙引用。这样都可以修改。
If you think one reply solves your problem, please mark it as An Answer, if you think someone's reply helps you, please mark it as a Proposed Answer
Help by clicking:
Click here to donate your rice to the poor
Click to Donate
Click to feed Dogs & Cats- 已标记为答案 Bob ShenModerator 2013年3月14日 10:19
-
你好,你要建立Public Properties
大家一齊探討、學習和研究,謝謝!
MCSD, MCAD, MCSE+I, MCDBA, MCDST, MCSA, MCTS, MCITP, MCPD,
MCT, Microsoft Community Star(TW & HK),
Microsoft MVP for VB.NET since 2003
My MSMVP Blog- 已标记为答案 Bob ShenModerator 2013年3月14日 10:19
-
可以考虑调整一下软件架构,理清依赖关系
本帖内容仅供参考,没有任何保证. This post is provided without any warranty.
- 已标记为答案 Bob ShenModerator 2013年3月14日 10:19
全部回复
-
为什么要一个项目引用另外一个项目的静态量?
建议:
另外制作一个项目是类库,另外一个是一般程序(那么类库总是被引用的)。类库中定义一些变量,类库被甲引用,同时也被乙引用。这样都可以修改。
If you think one reply solves your problem, please mark it as An Answer, if you think someone's reply helps you, please mark it as a Proposed Answer
Help by clicking:
Click here to donate your rice to the poor
Click to Donate
Click to feed Dogs & Cats- 已标记为答案 Bob ShenModerator 2013年3月14日 10:19
-
你好,你要建立Public Properties
大家一齊探討、學習和研究,謝謝!
MCSD, MCAD, MCSE+I, MCDBA, MCDST, MCSA, MCTS, MCITP, MCPD,
MCT, Microsoft Community Star(TW & HK),
Microsoft MVP for VB.NET since 2003
My MSMVP Blog- 已标记为答案 Bob ShenModerator 2013年3月14日 10:19
-
可以考虑调整一下软件架构,理清依赖关系
本帖内容仅供参考,没有任何保证. This post is provided without any warranty.
- 已标记为答案 Bob ShenModerator 2013年3月14日 10:19