예제 #1
0
 public void HandleRequest(RequestBase request)
 {
     request.DoRequest(this);
 }
예제 #2
0
        public void HandleRequest(RequestBase request)
        {
            foreach (PainterBase p in m_painters)
            {
                p.HandleRequest(request);
            }

            // BCL: not really in the spirit of the rest of the request stuff
            if (request is DisableAllOverlays)
            {
                MapCursorEnabled = false;
            }
            else
            {
                request.DoRequest(this);
            }
        }