Experts Exchange connects you with the people and services you need so you can get back to work.
'Below the public Class...
Private _passedText As String
Public Property [PassedText]() As String
Set(ByVal Value As String)
_passedText = Value
'so you have label text named LAbel1
Before you open the child set
'....then When you open then child try (let's say in toolstrip Button)
Dim ChildForm As New Form 'or an existing form
ChildForm = FormWindowState.Normal
ChildForm.MdiParent = Me
'Then in a label control in chikd Form (Named ChildLabel)
ChildLabel.Text=PassedText 'And there you go
Open in new window
public class subForm
public subForm(string param1)
this.m_param1 = param1;
Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.
Public Sub subform(ByVal param1 As String)
Me.m_param1 = param1
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.