S
Steve Ricketts
I'm obviously new at C# and this question is more about the language than
the example. I have a MDI child and I want to get/set a label (labIndex)
value on another child form. I have:
private string labIndex
{
get {return labIndex.value; }
set {labIndex.value = value; }
}
public static string getIndex()
{
return labIndex; << but this can't be seen because it's inside a static
method
}
So, how to I get and set the labIndex.value??
Thanks in advance!
the example. I have a MDI child and I want to get/set a label (labIndex)
value on another child form. I have:
private string labIndex
{
get {return labIndex.value; }
set {labIndex.value = value; }
}
public static string getIndex()
{
return labIndex; << but this can't be seen because it's inside a static
method
}
So, how to I get and set the labIndex.value??
Thanks in advance!