I have a button on the window form and and one method I am calling button's PerformClick() event.
Now if I make this button visible false.Then that PerformClick() event is not performed.
Is it ok? And if yes then I want to make the button invisible on the form what should I do ? I already make the background color of the button same as the form backcolor but it remains visible.
If I use the label then it is possible to make it invisible other than changing its visible property by just make its backcolor same as the form's backcolor and keep the text null.And there is also the click() event of the label but I don't find the PerformClick() event of the label.