private void colorPreviewRadioButton_CheckChanged(object sender, RoutedEventArgs e)
{
if ((bool)useColorRadioButton.IsChecked)
{
//Note: only useColorPreview OR useIRPreview needs to be set, they are linked to the same field so they are mutually exclusive options
kinectSettings.useColorPreview = true;
}
else
{
kinectSettings.useIRPreview = true;
}
}