private void advTreeTrafficEvent_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            if (advTreeTrafficEvent.SelectedNode != null)
            {
                FormSingleTrafficEventDetail f = new FormSingleTrafficEventDetail();
                f.Init(trafficEventList);
                f.ShowResult(advTreeTrafficEvent.SelectedNode.Tag as TrafficeEventProperty);
                f.ShowDialog();

            }
        }
 private void dataGridViewX1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     //获取当前的数据  并显示
     if (dataGridViewX1.CurrentRow.Tag is TrafficeEventProperty)
     {
         TrafficeEventProperty        item = (TrafficeEventProperty)dataGridViewX1.CurrentRow.Tag;
         FormSingleTrafficEventDetail f    = new FormSingleTrafficEventDetail();
         f.Text = "历史交通事件信息查看";
         f.Init(m_EventList);
         f.ShowResult(item);
         f.ShowDialog();
     }
 }