Example #1
0
        private void button6_Click(object sender, EventArgs e)
        {
            CommonForm lhf = new CommonForm();

            lhf.Show(2);
            foreach (Login item in prasedData.logins.login_history)
            {
                lhf.listView1.Items.Add(item.ip_address).SubItems.Add(item.timestamp);
            }
        }
        private void button9_Click(object sender, EventArgs e)
        {
            CommonForm lhf = new CommonForm();

            lhf.Show(5);
            foreach (SearchHistory item in prasedData.search)
            {
                ListViewItem item1 = new ListViewItem(item.time.ToString());
                item1.SubItems.Add(item.type.ToString());
                item1.SubItems.Add(item.search_click.ToString());
                lhf.listView1.Items.Add(item1);
            }
        }
Example #3
0
        private void button8_Click(object sender, EventArgs e)
        {
            CommonForm cf = new CommonForm();

            cf.Show(3);
            foreach (ContactInfo item in prasedData.contacts)
            {
                ListViewItem item1 = new ListViewItem(item.first_name);
                item1.SubItems.Add(item.last_name);
                item1.SubItems.Add(item.contact);
                cf.listView1.Items.Add(item1);
            }
        }
        private void button1_Click(object sender, EventArgs e)
        {
            CommonForm cf = new CommonForm();

            cf.Show(4);
            foreach (Object item in prasedData.likes.media_likes)
            {
                Newtonsoft.Json.Linq.JArray converted = (Newtonsoft.Json.Linq.JArray)item;
                ListViewItem item1 = new ListViewItem(converted.First.ToString());
                item1.SubItems.Add(converted.Last.ToString());
                cf.listView1.Items.Add(item1);
            }
        }