private void rxList_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            System.Windows.Controls.ListViewItem item = sender as System.Windows.Controls.ListViewItem;
            if (item != null)
            {
                MessageGroup obj = (MessageGroup)item.Content;

                List <string> dates = obj.dateList;
                string        msg   = obj.message;


                if (!msg.Equals(LINE_MISMATCH))
                {
                    LogGraph lg = new LogGraph(dates, msg);
                    lg.Show();
                    lg.Activate();

                    lg.Focus();
                    lg.Topmost = true;
                }
                else
                {
                    DateListWindow dlw = new DateListWindow(dates);
                    dlw.Show();
                    dlw.Activate();

                    dlw.Focus();
                    dlw.Topmost = true;
                }
            }
        }
        private void graphAllButton_Click(object sender, RoutedEventArgs e)
        {
            RunMessageList allMessageList = allMessageLists[logTab.SelectedIndex];

            string[] firstLast = allMessageList.firstLastDates;
            List <List <string> > listofdates = new List <List <string> >();

            for (int i = 0; i < allMessageList.messageGroups.Count; i++)
            {
                listofdates.Add(allMessageList.messageGroups[i].dateList);
            }

            LogGraph lg = new LogGraph(listofdates, allMessageList.runName, firstLast);

            lg.Show();
            lg.Activate();

            lg.Focus();
            lg.Topmost = true;
        }