Esempio n. 1
0
        /// <summary>
        /// Handles text displaying for the listbox
        /// </summary>
        private void DisplayToListBox()
        {
            listBox1.Items.Clear();
            List <string> list2 = handler.GetCopiedJsonTexts();

            if (list2 != null)
            {
                foreach (string text in list2)
                {
                    listBox1.Items.Add(text);
                }
            }
        }