private void ArtistArtwork(object sender, RoutedEventArgs e)
        {
            // Creates a new artwork instance
            var            loadArtwork      = new Artwork();
            List <Artwork> ARTWORKSBYARTIST = new List <Artwork>();
            int            ID = int.Parse(ArtistID1textBOX.Text);

            loadArtwork.loadArtist(ArtistList, ArtworkList, ID, ARTWORKSBYARTIST);
            ArtworkByArtistdisplay.Items.Clear();
            foreach (var art in ARTWORKSBYARTIST)
            {
                ArtworkByArtistdisplay.Items.Add("Artwork Description:  " + art.ThisArtworkDescription);
                ArtworkByArtistdisplay.Items.Add("Artwork Price:  " + "£" + art.ThisArtworkPrice);
            }
        }
        private void Load_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                /// Loads Artwork and artist List
                if (File.Exists("ArtworkList.xml"))
                {
                    XmlSerializer deserializer = new XmlSerializer(typeof(List <Artwork>));
                    StreamReader  textReader   = new StreamReader("ArtworkList.xml");
                    ArtworkList = (List <Artwork>)deserializer.Deserialize(textReader);
                    textReader.Close();
                }

                if (File.Exists("ArtistList.xml"))
                {
                    XmlSerializer deserializer = new XmlSerializer(typeof(List <Artist>));
                    StreamReader  textReader   = new StreamReader("ArtistList.xml");
                    ArtistList = (List <Artist>)deserializer.Deserialize(textReader);
                    textReader.Close();
                }
                // Create a new artwork instance
                var loadArtwork = new Artwork();

                // New artwork list intialised
                List <Artwork> ARTWORKSBYARTIST = new List <Artwork>();
                // Input by user changed into useable variable
                int ID = int.Parse(ArtistID1textBOX.Text);

                /// Calls method contained in class
                loadArtwork.loadArtist(ArtistList, ArtworkList, ID, ARTWORKSBYARTIST);
                // Clears the display
                ArtworkByArtistdisplay.Items.Clear();

                foreach (var art in ARTWORKSBYARTIST)
                {
                    /// All of the artist artwork is displayed
                    ArtworkByArtistdisplay.Items.Add("Artwork Description:  " + art.ThisArtworkDescription);
                    ArtworkByArtistdisplay.Items.Add("Artwork Price:  " + "£" + art.ThisArtworkPrice);
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show("Artist ID has to be a number");
            }
        }