Exemplo n.º 1
0
        protected virtual void OnHostMoveFurniture(HostMoveFurnitureEventArgs e)
        {
            EventHandler <HostMoveFurnitureEventArgs> handler = HostMoveFurniture;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Exemplo n.º 2
0
        protected void RaiseOnHostMoveFurniture(InterceptedEventArgs e)
        {
            if (HostMoveFurniture != null)
            {
                var args = new HostMoveFurnitureEventArgs(e.Continuation, e.Step, e.Packet);
                OnHostMoveFurniture(args);

                e.Cancel       = args.Cancel;
                e.WasContinued = args.WasContinued;
            }
        }
Exemplo n.º 3
0
 protected virtual void OnHostMoveFurniture(HostMoveFurnitureEventArgs e)
 {
     EventHandler<HostMoveFurnitureEventArgs> handler = HostMoveFurniture;
     if (handler != null) handler(this, e);
 }
Exemplo n.º 4
0
        protected void RaiseOnHostMoveFurniture(InterceptedEventArgs e)
        {
            if (HostMoveFurniture != null)
            {
                var args = new HostMoveFurnitureEventArgs(e.Continuation, e.Step, e.Packet);
                OnHostMoveFurniture(args);

                e.Cancel = args.Cancel;
                e.WasContinued = args.WasContinued;
            }
        }