コード例 #1
0
ファイル: LaserPointer.cs プロジェクト: gdlprj/duscusys
 public static Dictionary<byte, object> Write(int userId, int color, string name, int topicId, double x, double y, 
                                              LaserPointerTargetSurface targetSurface)
 {
     var lp = new LaserPointer { Color = color, Name = name, TopicId = topicId, 
         UserId = userId, X = x, Y = y, TargetSurface = targetSurface };
     return lp.ToDict();
 }
コード例 #2
0
ファイル: LaserPointerWndCtx.cs プロジェクト: gdlprj/duscusys
        public LaserPointerWndCtx(Canvas ptrCanvas, int topicId, LaserPointerTargetSurface targetSurface)
        {
            _ptrCanvas = ptrCanvas;
            _topicId = topicId;

            _targetSurface = targetSurface;
            _laserCursorMgr = new LaserCursorManager(ptrCanvas);

            SetPhotonListeners(true);
        }
コード例 #3
0
        public LaserPointerWndCtx(Canvas ptrCanvas, int topicId, LaserPointerTargetSurface targetSurface)
        {
            _ptrCanvas = ptrCanvas;
            _topicId   = topicId;

            _targetSurface  = targetSurface;
            _laserCursorMgr = new LaserCursorManager(ptrCanvas);

            SetPhotonListeners(true);
        }
コード例 #4
0
ファイル: LaserPointer.cs プロジェクト: z-saffarpour/duscusys
        public static Dictionary <byte, object> Write(int userId, int color, string name, int topicId, double x, double y,
                                                      LaserPointerTargetSurface targetSurface)
        {
            var lp = new LaserPointer {
                Color  = color, Name = name, TopicId = topicId,
                UserId = userId, X = x, Y = y, TargetSurface = targetSurface
            };

            return(lp.ToDict());
        }