N
Nikolay Podkolzin
Good afternoon. I have a two classes
public partial class ContactUsFormSelector : System.Web.UI.UserControl
{
private bool _ContactUsForm;
private string lblTitle = "";
protected void Page_Load(object sender, EventArgs e)
{
}
public bool CustomContactUsSelector
{
get { return _ContactUsForm; }
set { _ContactUsForm = value; }
}
public string ControlCaption
{
get { return lblTitle; }
set { lblTitle = value; }
}
}
}
And secont class
class Two
{
public string GetVal()
{}
}
In the body of second class I need to get a property that stores in the
first class?
How could I do that?
public partial class ContactUsFormSelector : System.Web.UI.UserControl
{
private bool _ContactUsForm;
private string lblTitle = "";
protected void Page_Load(object sender, EventArgs e)
{
}
public bool CustomContactUsSelector
{
get { return _ContactUsForm; }
set { _ContactUsForm = value; }
}
public string ControlCaption
{
get { return lblTitle; }
set { lblTitle = value; }
}
}
}
And secont class
class Two
{
public string GetVal()
{}
}
In the body of second class I need to get a property that stores in the
first class?
How could I do that?