Example #1
0
        private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            int selectedIndex = comboBox1.SelectedIndex + 1;

            var a = list["data" + selectedIndex] as Dictionary <string, List <string> >;
            var b = a.ToDictionary(k => k.Key, k => k.Value as object);


            var data = new TableFiller().FillDataInSummaryTable(b, "19:12:15", null);
        }
Example #2
0
        private void button3_Click(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(fileOneText) || string.IsNullOrEmpty(fileTwoText))
            {
                MessageBox.Show("Both file are required");
                return;
            }

            var firstTableData  = new TableFiller().FillTable(fileOneText, dataGridView1);
            var secondTableData = new TableFiller().FillTable(fileTwoText, dataGridView2);

            dataGridView3.Rows.Add(new TableFiller().FillDataInSummaryTable(firstTableData, firstTableData["endTime"] as string, firstTableData["params"] as Dictionary <string, string>));
            dataGridView3.Rows.Add(new TableFiller().FillDataInSummaryTable(secondTableData, secondTableData["endTime"] as string, secondTableData["params"] as Dictionary <string, string>));
        }