示例#1
0
 private void Btn_Template_Click(object sender, RoutedEventArgs e)
 {
     FileManager.CreateFile((sender as Button).Tag.ToString(), FileName);
     FadeBackgroundOut.Begin();
     AnimateNameOut.Begin();
     AnimateTemplateOut.Begin();
     LoadFiles();
 }
示例#2
0
 protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e)
 {
     if (NameShowing)
     {
         AnimateNameOut.Begin();
         FadeBackgroundOut.Begin();
         e.Cancel = true;
     }
     if (TemplateShowing)
     {
         AnimateNameIn.Begin();
         AnimateTemplateOut.Begin();
         e.Cancel = true;
     }
 }