//Sets manager
 //Gets patientImages or VirtualTryOnPages
 //Depends on mode
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     manager     = (AppManager)e.Parameter;
     frameImages = manager.getCurrentFrameImages();
     setImages();
     frontImageSelector.IsChecked = true;
 }
 public ClickCursorWPF(Point location)
     : base(location)
 {
     for (int i = 0; i < 12; i++)
     {
         FrameImages.Add("pack://application:,,,/Danilins.Multitouch.Logic;component/Resources/ClickCircle" + i + ".png");
     }
 }
Example #3
0
 public TimeCircleCursorWPF(Point location)
     : base(location)
 {
     for (int i = 0; i < 13; i++)
     {
         FrameImages.Add("pack://application:,,,/Danilins.Multitouch.Logic;component/Resources/TimerCircle" + i + ".png");
     }
     CloseOnEnd = false;
 }
Example #4
0
 public ClickCursor()
 {
     ActionImage = Resources.ClickCircle0;
     FrameImages.Add(Resources.ClickCircle0);
     FrameImages.Add(Resources.ClickCircle1);
     FrameImages.Add(Resources.ClickCircle2);
     FrameImages.Add(Resources.ClickCircle3);
     FrameImages.Add(Resources.ClickCircle4);
     FrameImages.Add(Resources.ClickCircle5);
     FrameImages.Add(Resources.ClickCircle6);
     FrameImages.Add(Resources.ClickCircle7);
     FrameImages.Add(Resources.ClickCircle8);
     FrameImages.Add(Resources.ClickCircle9);
     FrameImages.Add(Resources.ClickCircle10);
     FrameImages.Add(Resources.ClickCircle11);
 }
 public TimeCircleCursor()
 {
     ActionImage = Resources.TimerCircle0;
     FrameImages.Add(Resources.TimerCircle0);
     FrameImages.Add(Resources.TimerCircle1);
     FrameImages.Add(Resources.TimerCircle2);
     FrameImages.Add(Resources.TimerCircle3);
     FrameImages.Add(Resources.TimerCircle4);
     FrameImages.Add(Resources.TimerCircle5);
     FrameImages.Add(Resources.TimerCircle6);
     FrameImages.Add(Resources.TimerCircle7);
     FrameImages.Add(Resources.TimerCircle8);
     FrameImages.Add(Resources.TimerCircle9);
     FrameImages.Add(Resources.TimerCircle10);
     FrameImages.Add(Resources.TimerCircle11);
     FrameImages.Add(Resources.TimerCircle12);
     CloseOnEnd = false;
 }