Пример #1
0
        private void OnSkinInactive(object sender, SkinEventArgs e)
        {
            Dispatcher.Invoke(
                new Action(delegate()
            {
                m_currSkinPt = e.Point;

                UpdateCursor();
                UpdateTexture();
            }));
        }
Пример #2
0
        private void OnSkinTouchUp(object sender, SkinEventArgs e)
        {
            Dispatcher.Invoke(
                new Action(delegate()
            {
                m_currSkinPt = e.Point;

                UpdateCursor();
                UpdateTexture();

                AddPointToStroke(m_currSkinPt.TransformedLocation);
            }));
        }