private void rollForwardToolStripMenuItem_Click(object sender, EventArgs e)
{
// cast rollforward event to the main form
// and reload the list
int[] selectedrows = gridView1.GetSelectedRows();
int grouplevel = gridView1.GetRowLevel((int)selectedrows.GetValue(0));
if (grouplevel >= gridView1.GroupCount)
{
//Console.WriteLine("In row");
if (gridView1.GetFocusedRow() is TransactionEntry)
{
TransactionEntry sh = (TransactionEntry)gridView1.GetFocusedRow();
CastRollForwardEvent(sh);
}
}
}