Beispiel #1
0
        protected override async void OnNavigatedTo(NavigationEventArgs e)
        {
            FilterCombobox.ItemsSource   = Enum.GetValues(typeof(Beads));
            FilterCombobox.SelectedIndex = 0;

            SerialportCombobox.ItemsSource = await SerialPort.GetDeviceList();

            FilterCombobox.SelectedIndex = 0;

            StartPointX.Text  = StartPoint.X.ToString();
            StartPointY.Text  = StartPoint.Y.ToString();
            EndPointX.Text    = EndPoint.X.ToString();
            EndPointY.Text    = EndPoint.Y.ToString();
            SpeedTextBox.Text = Speed.ToString();

            await webcam.Initialize();

            _FPSTimer.Start();
            _MessageTimer.Start();
        }