protected virtual void OnHostClickPlayer(HostClickPlayerEventArgs e) { EventHandler <HostClickPlayerEventArgs> handler = HostClickPlayer; if (handler != null) { handler(this, e); } }
protected void RaiseOnHostClickPlayer(InterceptedEventArgs e) { if (HostClickPlayer != null) { var args = new HostClickPlayerEventArgs(e.Continuation, e.Step, e.Packet); OnHostClickPlayer(args); e.Cancel = args.Cancel; e.WasContinued = args.WasContinued; } }
protected virtual void OnHostClickPlayer(HostClickPlayerEventArgs e) { EventHandler<HostClickPlayerEventArgs> handler = HostClickPlayer; if (handler != null) handler(this, e); }