Пример #1
0
 private void NextTestButton_OnClick(object sender, RoutedEventArgs e)
 {
     if (testNumber < Tests.tests.Count)
     {
         TrackerUserControl.SetValue(Tests.tests[testNumber].Blurness, Tests.tests[testNumber].Radius,
                                     750, false, BitmapImages);
         NextTestButton.IsEnabled = false;
         ReadyButton.IsEnabled    = true;
         TrackerUserControl.StopTest(index, Tests.tests[testNumber].Blurness, Tests.tests[testNumber].Radius);
         TrackerUserControl.StopTracking();
         testNumber        += 1;
         StatusEllipse.Fill = Brushes.Red;
     }
     else
     {
         FinishWindow finishWindow = new FinishWindow();
         finishWindow.Show();
         this.Close();
     }
 }
Пример #2
0
 private void BitmapListUpdate(object sender, EventArgs e)
 {
     TrackerUserControl.SetValue(InputUserControl.GetImageCount(), InputUserControl.GetInnerRadius(),
                                 InputUserControl.GetOuterRadius(), InputUserControl.GetDrawCircles(), _createImageForm.GeBitmapList());
 }
Пример #3
0
 private void UpdateChanges(object sender, EventArgs e)
 {
     TrackerUserControl.SetValue(InputUserControl.GetImageCount(), InputUserControl.GetInnerRadius(),
                                 InputUserControl.GetOuterRadius(), InputUserControl.GetDrawCircles(), BitmapImages);
 }