P
perspolis
HI
I created a user control and place some control on it.
I need when I change BackColor of user control,Back Color of other controls
also change..
I used foloowing code:
public override Color BackColor
{
get{return this.BackColor;}
set{
this.BackColor=value;
this.button1.BackColor=value;
}
}
but this code cause an exception of type StackOverFlow..
?????
I created a user control and place some control on it.
I need when I change BackColor of user control,Back Color of other controls
also change..
I used foloowing code:
public override Color BackColor
{
get{return this.BackColor;}
set{
this.BackColor=value;
this.button1.BackColor=value;
}
}
but this code cause an exception of type StackOverFlow..
?????