Exemple #1
0
        void notebook_AfterSave(object sender, NotebookEventArgs e)
        {
            DoubleAnimation anim = new DoubleAnimation(1, 0, new Duration(TimeSpan.FromMilliseconds(200)));

            anim.Completed += (s, e1) =>
            {
                imgStatusSave.Visibility = System.Windows.Visibility.Hidden;
            };
            imgStatusSave.BeginAnimation(Image.OpacityProperty, anim);
        }
Exemple #2
0
 void notebook_BeforeSave(object sender, NotebookEventArgs e)
 {
     imgStatusSave.ApplyAnimationClock(Image.OpacityProperty, null);
     imgStatusSave.Visibility = System.Windows.Visibility.Visible;
 }
Exemple #3
0
 void Workbench_NotebookClosed(object sender, NotebookEventArgs e)
 {
 }