| Visual Basic (Declaration) | |
|---|---|
Public ReadOnly Property Parent As System.Object | |
| C# | |
|---|---|
public System.object Parent {get;} | |
Property Value
Object - Reference to the parent section.
| C# | Copy Code |
|---|---|
private void SectionReport1_ReportStart(object sender, System.EventArgs eArgs) { System.Windows.Forms.MessageBox.Show (this.textBox2.Parent.ToString()); } | |
| Visual Basic | Copy Code |
|---|---|
Private Sub SectionReport1_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart MessageBox.Show(Me.TextBox1.Parent.ToString()) End Sub | |