private void createRoominventoryxmlToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         HotelSerialization.createRoomInventoryXML();
         lblStatus.Text = "Created roomInventory.xml";
     }
     catch (Exception ex)
     {
         lblStatus.Text = "Error creating roomInventory.xml";
     }
 }
 private void btnLoadHotelFile_Click(object sender, EventArgs e)
 {
     try {
         hotels = HotelSerialization.createHotelList();
         HotelSerialization.createHotelsXML(hotels);
         HotelSerialization.createRoomInventoryXML();
         HotelSerialization.LoadHotelFile(hotels);
         lblStatus.Text = "Successfully loaded Hotel File";
     }
     catch (Exception ex)
     {
         lblStatus.Text = "Error creating Hotel File. Was hotels.xml created?";
     }
 }
        private void createHotelsxmlToolStripMenuItem_Click(object sender, EventArgs e)
        {
            hotels = HotelSerialization.createHotelList();

            try
            {
                HotelSerialization.createHotelsXML(hotels);
                lblStatus.Text = "Created hotels.xml";
            }
            catch (Exception ex)
            {
                lblStatus.Text = "Error creating hotels.xml";
            }
        }