Ejemplo n.º 1
0
        private void PaletteOwnerChanged(int owner)
        {
            if (owner != -1)
            {
                if (editCtx != null)
                {
                    editCtx.SceneMgr.FinishFreeDrawing();
                }

                palette._ownerId           = owner;
                palette.bdr.BorderBrush    = new SolidColorBrush(DaoUtils.UserIdToColor(owner));
                inkPalette.bdr.BorderBrush = new SolidColorBrush(DaoUtils.UserIdToColor(owner));
            }
        }