/// <summary> /// Drawing right /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Frame1_Completed(object sender, EventArgs e) { cursorHand.Source = OpenResource("Closed.png"); tracking = LineTracking.None; cursorHand.Opacity = PARTIALLY_VISIBLE; drawnLine.Opacity = INVISIBLE; StartStoryboard(cursorHand, "Frame2"); }
/// <summary> /// Return left complete /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Frame6_Completed(object sender, EventArgs e) { cursorHand.Source = OpenResource("Lasso.png"); tracking = LineTracking.End; cursorHand.Opacity = VISIBLE; drawnLine.Opacity = VISIBLE; StartStoryboard(cursorHand, "Frame1"); }
public Help() { InitializeComponent(); Loaded += (s, e) => { tracking = LineTracking.Both; cursorHand_LayoutUpdated(null, null); tracking = LineTracking.End; StartStoryboard(waveHand, "Wave"); StartStoryboard(cursorHand, "Frame1"); }; }