fyiReporting.RdlDesign.RdlDesigner.ReportItemInserted C# (CSharp) Method

ReportItemInserted() private method

private ReportItemInserted ( object sender, System e ) : void
sender object
e System
return void
        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;
            }
        }
RdlDesigner