类,控件和组件之间的关系? [英] Relation between Class,Control and a Component ?

查看:171
本文介绍了类,控件和组件之间的关系?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我是C#的新手.

谁能告诉我一个组件到底是什么?
本身就是控件吗?
我不知道,类,控件和组件之间可以采用什么关系?


问候
Chaithanya M

Hi All,

I am new to C#.

Can anyone please tell me what exactly a component is ?
Is it a control itself?
I dont know,what is the relation can be taken between Class,Control and Component?


Regards
Chaithanya M

推荐答案

类是C#中所有内容的基础(我的意思是说控件和组件仅是类).关于控件,可以说是控件是支持事件驱动编程(例如单击等)的组件",其中组件可以说成是代码的一部分,例如,假设您正在开发与银行相关的应用程序,并且其中有一部分的代码,它需要考虑到开户,因此代码的非常一部分可以称为组件.
Class is base for everything in C# (i mean to say Control and components are class only). When it come to controls it can said as "Controls are component which supports events driven programming (Like click etc)" where component can be said as a part of code for example suppose you are developing an application related to a bank and there is part of code which take care of opening of account that very part of code can be called as component.


这篇关于类,控件和组件之间的关系?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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