Answer the question
In order to leave comments, you need to log in
What is the best way to implement a splash screen for the first launch of the program?
Hello.
In general, there is a completed application. A window opens and all that.
But it got into my head when I first started the program to launch a small animation (through the wpfanimatedgif library), but I can’t figure out how to implement it better.
So far I have implemented in MainWIndow.xaml like this:
...другие элементы и гриды
<Grid> этот грид соответственно находится поверх всех остальных элементов
<StackPanel>
<Image Visibility="{Binding OpeningVisibleProp}" gif:ImageBehavior.AutoStart="{Bining AutoStartProp}"
gif:ImageBehavior.AnimatedSource="/BindingKompas;component/images/curtain.gif"
gif:ImageBehavior.RepeatBehavior="1x" RenderOptions.BitmapScalingMode="HighQuality"
Height="650">
</Image>
</StackPanel> дальше событие по отлову окончания анимации, в котором меняется значение первого запуска в файле
</Grid>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question