Beispiel #1
0
 // Constructor
 public MainPage()
 {
     InitializeComponent();
     Storyboard_Visible.Begin();
     // Sample code to localize the ApplicationBar
     //BuildLocalizedApplicationBar();
 }
 public MainPage()
 {
     InitializeComponent();
     this.DataContext = this;
     Init_Timer();
     Source_Image = Name + Current_Image.ToString() + ".jpg";
     Current_Image++;
     Storyboard_Visible.Begin();
 }
Beispiel #3
0
 public Result_Page()
 {
     InitializeComponent();
     this.DataContext = this;
     Init_Timer();
     Text_Score.Text = "0";
     Text_Times.Text = "0";
     Medal_Player();
     Storyboard_Visible.Begin();
     Storyboard_Image.Begin();
 }
 void Timer_Tick(object sender, EventArgs e)
 {
     dem++;
     if (dem % 10 == 0 && dem != 0)
     {
         Source_Image = Name + Current_Image.ToString() + ".jpg";
         Current_Image++;
         Storyboard_Visible.Begin();
         dem = 0;
     }
     if (dem % 6 == 0 && dem != 0)
     {
         Storyboard_Hide.Begin();
     }
 }