如何使用OOPs技术设计项目 [英] how do design a project with OOPs technique

查看:77
本文介绍了如何使用OOPs技术设计项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我如何使用面向对象技术设计项目. (Vb.net或C#).

我可以遵循某些特定规则来创建项目吗?

我刚刚在项目中实现了

1.每种形式都有财产的
2.每个表单都有一个File类,该类具有针对该特定表单的业务逻辑.
3.我在Total项目中有一个通用模块(在VB.NET中)文件.
4.我有一个用于数据访问层的通用类.

我可以跟着哎呀吗?



谢谢...

Hi Guys,

How do i design a project with Object Oriented techniques. (Vb.net or C#).

May i Follow any certain rules to create the Project?

I just implemented in the project

1.Every Form Has A Property`s
2.Every form has a class File.that have business logic for that particular form.
3.I have One Common Module (in VB.NET) File for Total project.
4.I have a One Common Class For Data Access Layer.

May I Follow Oops ?



Thanks ...

推荐答案

从oop上的Wiki开始:
http://en.wikipedia.org/wiki/面向对象的程序 [ http://staffweb.londonmet.ac.uk/~chalkp/proj/ootutor/index. html [ ^ ]

祝你好运!
Have a start with the wiki on oop:
http://en.wikipedia.org/wiki/Object-oriented_programming[^]

Also, this tutorial should provide you some nice information:
http://staffweb.londonmet.ac.uk/~chalkp/proj/ootutor/index.html[^]

Good luck!


是的,你可以. :-)

您在问题中列出的原理是虚构的,毫无意义的(例如,没有属性就无法拥有表单,因为您的基类已经定义了许多属性).这一切与现实生活或发展哲学无关.您正在尝试从错误的站点进行编程.您需要看一下好的项目才能有一个主意.我认为指导您的任务不在CodeProject问题与解答的范围之内.

—SA
Yes, you may. :-)

The principles you listed in the question are either artificial of pointless (for example you cannot have a form without the properties because your base class already defines many). This all has nothing to do with real life or philosophy of development. You''re trying to approach programming from the wrong site. You need to take a look at good projects to get an idea. I don''t think the task of instructing you is within the reach of CodeProject Questions-and-Answers.

—SA


查看这些链接
我如何向妻子解释OOD [我如何向妻子解释设计模式:第1部分 [
Check out these links
How I explained OOD to my wife[^]
How I explained Design Patterns to my wife: Part 1[^]


这篇关于如何使用OOPs技术设计项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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