//////////////////////////////////////////////////////////////////////////////////////
        // Use: AdnGraphicsData constructor for Interaction graphics
        //
        //////////////////////////////////////////////////////////////////////////////////////
        public AdnGraphics(
            InteractionEvents InteractionEvents,
            AdnInteractionGraphicsModeEnum mode)
        {
            _graphicsData = InteractionEvents.InteractionGraphics.GraphicsDataSets;

            switch (mode)
            {
            case AdnInteractionGraphicsModeEnum.kOverlayGraphics:
                _graphics = InteractionEvents.InteractionGraphics.OverlayClientGraphics;
                break;

            case AdnInteractionGraphicsModeEnum.kPreviewGraphics:
                _graphics = InteractionEvents.InteractionGraphics.PreviewClientGraphics;
                break;

            default:
                break;
            }
        }
コード例 #2
0
        //////////////////////////////////////////////////////////////////////////////////////
        // Use: AdnGraphicsData constructor for Interaction graphics 
        //
        //////////////////////////////////////////////////////////////////////////////////////
        public AdnGraphics(
            InteractionEvents InteractionEvents, 
            AdnInteractionGraphicsModeEnum mode)
        {
            _graphicsData = InteractionEvents.InteractionGraphics.GraphicsDataSets;

            switch(mode)
            {
                case AdnInteractionGraphicsModeEnum.kOverlayGraphics:
                    _graphics = InteractionEvents.InteractionGraphics.OverlayClientGraphics;
                    break;
                case AdnInteractionGraphicsModeEnum.kPreviewGraphics:
                    _graphics = InteractionEvents.InteractionGraphics.PreviewClientGraphics;
                    break;
                default:
                    break;
            }
        }