Beispiel #1
0
        public MainWindow()
        {
            mainWindow = this;

            InitializeComponent();

            Load();

            SetPage(CurrentPage.Daily);
            MyFrame.Content = Pages[0];

            AnimationRectangle.BeginAnimation(OpacityProperty, new DoubleAnimation(1, 0, new Duration(TimeSpan.FromMilliseconds(1400))));

            RefreshTimer();
        }
Beispiel #2
0
 private void PlayAnimation() => AnimationRectangle.BeginAnimation(OpacityProperty, Animation);