0

How to assign the object value of WPF_Form2 to WPF_Form1 variable in VB.net using WPF Forms?

Please see example below

WPF_Form1
lbl_Label_1

WPF_Form2
lbl_Label_2.content = "String value"

Goal:
lbl_Label_1.content = lbl_Label_2.content

I want to achive this but I received error message

Reference to a non-shared member requires an object reference.

Please tell me possible solutions for this problem.

5

0

Browse other questions tagged or ask your own question.