class Father
{
public event HCDLL.DGTransString OnEvent;
protected void SendEvent(string msg)
{
if (OnEvent != null)
{
OnEvent(msg);
}
}
}
class Son : Father
{
public Son()
{
SendEvent("This is a Test");
}
}