Example #1
0
        private async Task SaveData()
        {
            ThreadListAbone tla = new ThreadListAbone();

            foreach (ListViewItem i in listView1.Items)
            {
                tla.NGCollection.Add(i.Text);
            }
            await tla.InstSave();
        }
Example #2
0
        private void LoadData()
        {
            ThreadListAbone tla = new ThreadListAbone();

            tla.InstLoad();
            List <string> li = tla.NGCollection;

            foreach (string m in li)
            {
                this.listView1.Items.Add(m);
            }
            return;
        }