void TrackForm_StartTime_DoubleClick(object sender, EventArgs e) { Xceed.Grid.Cell cell = sender as Xceed.Grid.Cell; Track entity = cell.ParentRow.Tag as Track; if (entity != null) { WebForm form = new WebForm("车辆轨迹", string.Format("{0}/CarTrackService/TrackAnimation.aspx?TrackId={1}", SystemConfiguration.Server, entity.ID.ToString())); form.ShowDialog(); } }