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(); } }
private void BitmapListUpdate(object sender, EventArgs e) { TrackerUserControl.SetValue(InputUserControl.GetImageCount(), InputUserControl.GetInnerRadius(), InputUserControl.GetOuterRadius(), InputUserControl.GetDrawCircles(), _createImageForm.GeBitmapList()); }
private void UpdateChanges(object sender, EventArgs e) { TrackerUserControl.SetValue(InputUserControl.GetImageCount(), InputUserControl.GetInnerRadius(), InputUserControl.GetOuterRadius(), InputUserControl.GetDrawCircles(), BitmapImages); }