private void ReportItemInserted(object sender, System.EventArgs e)
{
MDIChild mc = this.ActiveMdiChild as MDIChild;
if (mc == null)
{
return;
}
// turn off the current selection after an item is inserted
if (ctlInsertCurrent != null)
{
ctlInsertCurrent.Checked = false;
mc.CurrentInsert = null;
ctlInsertCurrent = null;
}
if (ctlMenuInsertCurrent != null)
{
ctlMenuInsertCurrent.Checked = false;
mc.CurrentInsert = null;
ctlMenuInsertCurrent = null;
}
}