Beispiel #1
0
 void Load()
 {
     try
     {
         if (Registry.CurrentUser.CreateSubKey("Software\\Currency converter").GetValue("LastPage").ToString() == "Calcutator")
         {
             Page_Loader.Navigate(Page_Calcutator);
         }
         else
         {
             Page_Loader.Navigate(Page_Cources);
         }
     }
     catch
     {
         Page_Loader.Navigate(Page_Cources);
     }
 }
Beispiel #2
0
 void Calcutator_Click(object sender, RoutedEventArgs e)
 {
     TrayOff();
     Page_Loader.Navigate(Page_Calcutator);
 }
Beispiel #3
0
 void Course_Click(object sender, RoutedEventArgs e)
 {
     TrayOff();
     Page_Loader.Navigate(Page_Cources);
 }
Beispiel #4
0
 void Settings(object sender, RoutedEventArgs e)
 {
     TrayOff();
     Page_Loader.Navigate(Page_Settings);
 }