Esempio n. 1
0
        /*
         * Comment related methods for comment mode in tool bar
         * */
        private void MakeComment(InkUnprocessedInput sender, PointerEventArgs args)
        {
            PointerPoint point      = args.CurrentPoint;
            var          newComment = comments.CreateComment(point.Position.X, point.Position.Y, stickyColor);
            var          rect       = DrawRectangle(newComment);

            rect.ContextFlyout.ShowAt(rect);
        }