Exemplo n.º 1
0
        /// <summary>
        /// This method retrieves the values from the stored Json file as a list of Json objects
        /// </summary>
        public void RetrieveStoredList()
        {
            int counter = 0;

            try
            {
                // Returns the list that is stored as JSON
                listOfMessages = json.Deserialize();

                counter = counter + 1;
            }
            catch (Exception ex)
            {
                if (counter > 0)
                {
                    MessageBox.Show(ex.ToString());
                }
            }
        }