Exemple #1
0
        // list item double click
        private void listView1_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            var item = listView1.SelectedItems[0];

            contentLabel.Text = new LogFileService().GetLogFileString(item.Tag.ToString());
            var logItemService = new LogItemService();

            duplicateErrorsLabel.Text = logItemService.CountDuplicateErrors(item.Tag.ToString()).ToString();
            uniqueErrorLabel.Text     = logItemService.CountUniqueErrors(item.Tag.ToString()).ToString();
        }