protected virtual void OnConnect(ConnectEventArgs e) { EventHandler <ConnectEventArgs> handler = Connect; if (handler != null) { handler(this, e); } }
protected virtual void OnConnect(ConnectEventArgs e) { EventHandler<ConnectEventArgs> handler = Connect; if(handler != null) { handler(this, e); } }