Method override
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I have a form with two buttons. In my form code am I able to override the form methods. But I cannot figure out how to override the Refresh method of the two buttons. Here is what I am trying to accomplish public override void Refresh() { this.Enabled = (cboCustomer.ToString() != ""); // "this" being the button itself } Thanks in advanced. Ben