public void OnInit(InitEventArgs e) { InitEventHandler handler = InitEvent; if (InitEvent != null) { handler(this, e); } }
public OneCSocketServer() { ComponentName = "OneCSocketServer"; InitEvent += new InitEventHandler(Initialization); }