A
arg
For example I have properties:
b1 bool;
b2 bool;
[Browsable(true),Category("Test")]
public bool B1
{get{return b1;} set{b1 = value;}}
[Browsable(true),Category("Test")]
public bool B2
{get{return b2;} set{b2 = value;}}
How I can make B2 read-only or invisible in Properties Window
when B1 value is seted true and vice versa when for B1 is seted false
b1 bool;
b2 bool;
[Browsable(true),Category("Test")]
public bool B1
{get{return b1;} set{b1 = value;}}
[Browsable(true),Category("Test")]
public bool B2
{get{return b2;} set{b2 = value;}}
How I can make B2 read-only or invisible in Properties Window
when B1 value is seted true and vice versa when for B1 is seted false