internal SimpleTextBoxInstanceInfo UpgradeToSimpleTextbox(TextBoxInstanceInfo instanceInfo, out bool isSimple)
        {
            isSimple = false;
            TextBox textBox = base.ReportItemDef as TextBox;

            if (textBox.IsSimpleTextBox())
            {
                isSimple = true;
                return((SimpleTextBoxInstanceInfo)(m_instanceInfo = new SimpleTextBoxInstanceInfo(textBox, instanceInfo)));
            }
            return(null);
        }
 internal TextBoxInstance(ReportProcessing.ProcessingContext pc, TextBox reportItemDef, int index)
     : base(pc.CreateUniqueName(), reportItemDef)
 {
     if (reportItemDef.IsSimpleTextBox())
     {
         m_instanceInfo = new SimpleTextBoxInstanceInfo(pc, reportItemDef, this, index);
     }
     else
     {
         m_instanceInfo = new TextBoxInstanceInfo(pc, reportItemDef, this, index);
     }
 }