Пример #1
0
        protected virtual void OnHostClickPlayer(HostClickPlayerEventArgs e)
        {
            EventHandler <HostClickPlayerEventArgs> handler = HostClickPlayer;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Пример #2
0
        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;
            }
        }
Пример #3
0
 protected virtual void OnHostClickPlayer(HostClickPlayerEventArgs e)
 {
     EventHandler<HostClickPlayerEventArgs> handler = HostClickPlayer;
     if (handler != null) handler(this, e);
 }
Пример #4
0
        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;
            }
        }