private void gridControl1_MouseUp(object sender, MouseEventArgs e) { var rowObject = CommonViewsActions.GetSelectedRowObject(gridView1); if (rowObject is CashBox_cu) { SelectedRow = ((CashBox_cu)rowObject); } }
private void gridControl1_MouseDoubleClick(object sender, MouseEventArgs e) { var rowObject = CommonViewsActions.GetSelectedRowObject(gridView1); if (rowObject is CashBox_cu) { SelectedRow = ((CashBox_cu)rowObject); btnAccept_Click(null, null); } }