【C#】1.基本框架理解

1.System            System命名空间:包含基本类和基类c++

2.System.Object     Object类:支持 .NET Framework 类层次结构中的全部类,是.NET Framework有类的最终基类;它是类型层次结构的根。【命名空间:System】c#

语法:[c#] public class Object    [vb] Public Class Object
     [c++] public ref class Objectide

3.System.MarshalByRefObject    MarshalByRefObject类,是某种通讯对象的基类,继承自System.Object    【命名空间:System】spa

语法:[c#] public abstract class MarshalByRefObject
     [vb] Public MustInherit Class MarshalByRefObject
     [c++]public ref class MarshalByRefObject abstractorm

4.System.ComponentModel.Component   Component类是全部组件的基类,继承自System.MarshalByRefObject    【命名空间:System.ComponentModel】对象

5.System.Windows.Forms.Control    Control类是控件类,继承自System.ComponentModel.Component   【命名空间:System.Windows.Forms】  
继承

6.System.Windows.Forms.ButtonBase    ButtonBase类实现按钮控件共同的基本功能,继承自System.Windows.Forms.Control。一般不从 ButtonBase 继承,若要建立本身的按钮类,从 Button、CheckBox 或 RadioButton 类继承。  【命名空间:System.Windows.Forms】it

7.System.Windows.Forms.Button    Button 类表示 Windows 按钮控件,继承自System.Windows.Forms.ButtonBase。  【命名空间:System.Windows.Forms】io

相关文章
相关标签/搜索