Материал из .Net Framework эксперт
extends Component
using System;
using System.ruponentModel;
using System.Collections;
using System.Diagnostics;
public class MyComponent : System.ruponentModel.ruponent
{
private System.ruponentModel.Container components = null;
public MyComponent(System.ruponentModel.IContainer container)
{
container.Add(this);
InitializeComponent();
}
public MyComponent()
{
InitializeComponent();
}
private void InitializeComponent()
{
components = new System.ruponentModel.Container();
}
protected string m_message;
public string Message
{
get
{
return m_message;
}
set
{
m_message = value;
}
}
}