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(); }
public LaserPointerWndCtx(Canvas ptrCanvas, int topicId, LaserPointerTargetSurface targetSurface) { _ptrCanvas = ptrCanvas; _topicId = topicId; _targetSurface = targetSurface; _laserCursorMgr = new LaserCursorManager(ptrCanvas); SetPhotonListeners(true); }
public LaserPointerWndCtx(Canvas ptrCanvas, int topicId, LaserPointerTargetSurface targetSurface) { _ptrCanvas = ptrCanvas; _topicId = topicId; _targetSurface = targetSurface; _laserCursorMgr = new LaserCursorManager(ptrCanvas); SetPhotonListeners(true); }
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()); }