Good morning,
I would like to use the transition control to avoid building a storyboard.
My Code is :
I would like to use the transition control to avoid building a storyboard.
My Code is :
private
void btnDisplay_Click(object sender, RoutedEventArgs e)
{
try
{
for (int i = 1; i < 9; i++)
{
Image myImg = new Image();
myImg.Source =
new BitmapImage(new Uri("C:\\00002512\\00000000" + i.ToString() + ".TIF", UriKind.Absolute));
this.TransitionControl1.Content = myImg;
this.radProgressBar1.Value = i;
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
I get this error : "Cannot perform action because the specified Storyboard was not applied to this object for interactive control." when I try to load the second image.
Can you help me?
thanks in advance
Max