'Declaration Public ReadOnly Property ParentReport As SectionReport
public SectionReport ParentReport {get;}
'Declaration Public ReadOnly Property ParentReport As SectionReport
public SectionReport ParentReport {get;}
private void detail_Format(object sender, System.EventArgs eArgs) { this.detail.AddBookmark(((TextBox)(this.ParentReport.Sections["detail"].Controls["txtCategoryName"])). Text + "\\" + this.txtProductName.Text); }
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format Me.Detail1.AddBookmark(CType(Me.ParentReport.Sections("Detail1").Controls("txtCategoryName"), _ TextBox).Text + "\" + Me.txtProductName.Text) End Sub