private void OnSkinInactive(object sender, SkinEventArgs e) { Dispatcher.Invoke( new Action(delegate() { m_currSkinPt = e.Point; UpdateCursor(); UpdateTexture(); })); }
private void OnSkinTouchUp(object sender, SkinEventArgs e) { Dispatcher.Invoke( new Action(delegate() { m_currSkinPt = e.Point; UpdateCursor(); UpdateTexture(); AddPointToStroke(m_currSkinPt.TransformedLocation); })); }