Example #1
0
 private void NewClick(object sender, EventArgs e)
 {
     txt_name.Text            = string.Empty;
     ApplicationBar.IsVisible = false;
     FadeBackgroundIn.Begin();
     AnimateNameIn.Begin();
 }
Example #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;
     }
 }