private void btnShowTimes_Click(object sender, RoutedEventArgs e)
 {
     if (!wpCurrentContent.Children.Contains(uctShowtimes) && !winLogin.loginAdmin)
     {
         wpCurrentContent.Children.Clear();
         wpCurrentContent.Children.Add(uctShowtimes = new uctShowtimes());
     }
     else if (!wpCurrentContent.Children.Contains(uctAdmin) && winLogin.loginAdmin)
     {
         wpCurrentContent.Children.Clear();
         wpCurrentContent.Children.Add(uctAdmin = new uctAdmin());
     }
 }
 private void LoadMainUct(bool isAdmin)
 {
     if (!isAdmin)
     {
         // Open showtimes on startup
         uctShowtimes = new uctShowtimes();
         wpCurrentContent.Children.Add(uctShowtimes);
     }
     else
     {
         uctAdmin = new uctAdmin();
         wpCurrentContent.Children.Add(uctAdmin);
     }
 }