private void gridView1_CustomRowCellEdit(object sender, DevExpress.XtraGrid.Views.Grid.CustomRowCellEditEventArgs e)
{
/*DevExpress.XtraGrid.Views.Base.GridCell[] cellcollection = gridView1.GetSelectedCells();
if (cellcollection.Length == 1)
{
e.RepositoryItem = MapViewerCellEdit;
}
else
{
e.RepositoryItem = null;
}*/
}