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

            if (textBox.IsSimpleTextBox())
            {
                isSimple = true;
                return((SimpleTextBoxInstanceInfo)(base.m_instanceInfo = new SimpleTextBoxInstanceInfo(textBox, instanceInfo)));
            }
            return(null);
        }
Example #2
0
 public SimpleTextBoxInstanceInfo(TextBox reportItemDef, TextBoxInstanceInfo instanceInfo)
 {
     this.m_reportItemDef  = reportItemDef;
     this.m_originalValue  = instanceInfo.OriginalValue;
     this.m_formattedValue = instanceInfo.FormattedValue;
 }