G
Guest
Hello,
who gives one more shining solution to me?
My application load form "A". The form "A" by means of a push-button load
form "B" that in its turn by means of a push-button load form "C". Form "B"
contains one variable "Private"
"VarB". How I can read the value of "VarB" from form "C"? All
the form come loaded with the following brace of instructions:
Sub Button2_Click(ByVal sender As System.Object, ByVal and As
System.EventArgs) Handles Button2.Click
Dim frm As New frm<A/B/C >
frm.ShowDialog()
End Sub
In form "B" have declared a Property "RetVarB" that encapsulates the value
of "VarB".
From form "C" I succeed to read the value of "VarB" with the instruction:
m_varC =frm.RetVarB
if I declare "frm" like variable it only Public of the
Form "B". Not creed but that this is the only possible method. To me
it does not appeal to declare like "Public" the variable one "frm"
in the form "B"
Hello and Thanks.
who gives one more shining solution to me?
My application load form "A". The form "A" by means of a push-button load
form "B" that in its turn by means of a push-button load form "C". Form "B"
contains one variable "Private"
"VarB". How I can read the value of "VarB" from form "C"? All
the form come loaded with the following brace of instructions:
Sub Button2_Click(ByVal sender As System.Object, ByVal and As
System.EventArgs) Handles Button2.Click
Dim frm As New frm<A/B/C >
frm.ShowDialog()
End Sub
In form "B" have declared a Property "RetVarB" that encapsulates the value
of "VarB".
From form "C" I succeed to read the value of "VarB" with the instruction:
m_varC =frm.RetVarB
if I declare "frm" like variable it only Public of the
Form "B". Not creed but that this is the only possible method. To me
it does not appeal to declare like "Public" the variable one "frm"
in the form "B"
Hello and Thanks.