// ---------- Links to other pages ---------- //

        public void OpenClientLookup()
        {
            try
            {
                NormalGrid.Visibility  = Visibility.Hidden;
                LookupFrame.Visibility = Visibility.Visible;
                LookupFrame.Navigate(new Uri("ClientPage.xaml?Mode=Lookup", UriKind.RelativeOrAbsolute));
                ClientFunctions.SelectClientForProject       += SelectProjectClient;
                ClientFunctions.CancelProjectClientSelection += CancelClientLookup;
            }
            catch (Exception generalException) { MessageFunctions.Error("Error setting up client selection", generalException); }
        }
 public void OpenStaffLookup()
 {
     try
     {
         NormalGrid.Visibility  = Visibility.Hidden;
         LookupFrame.Visibility = Visibility.Visible;
         LookupFrame.Navigate(new Uri("StaffPage.xaml?Mode=Lookup,StaffID=0", UriKind.RelativeOrAbsolute));
         StaffFunctions.SelectStaffForTeam       += SelectTeamStaff;
         StaffFunctions.CancelTeamStaffSelection += CancelStaffLookup;
     }
     catch (Exception generalException) { MessageFunctions.Error("Error setting up client selection", generalException); }
 }