Exemplo n.º 1
0
 private void CancelButton_Click(object sender, RoutedEventArgs e)
 {
     if (Globals.MyStaffID > 0)
     {
         PageFunctions.ShowTilesPage();
     }
     else
     {
         PageFunctions.CloseApplication();
     }                                          // not yet logged in, so close application
 }