private void gridView1_SelectionChanged_1(object sender, DevExpress.Data.SelectionChangedEventArgs e)
{
if (!m_prohibitcellchange)
{
DevExpress.XtraGrid.Views.Base.GridCell[] cellcollection = gridView1.GetSelectedCells();
if (cellcollection.Length == 1)
{
object o = cellcollection.GetValue(0);
if (o is DevExpress.XtraGrid.Views.Base.GridCell)
{
DevExpress.XtraGrid.Views.Base.GridCell cell = (DevExpress.XtraGrid.Views.Base.GridCell)o;
CastSelectEvent(cell.RowHandle, cell.Column.AbsoluteIndex);
}
}
}
}