m66n / ipaddresscontrollib

Automatically exported from code.google.com/p/ipaddresscontrollib
Other
62 stars 26 forks source link

DefaultEvent is "Click" #10

Closed Deantwo closed 8 years ago

Deantwo commented 8 years ago

Double clicking the control in the designer generates a private void ipAddressControl1_Click(object sender, EventArgs e) method. This doesn't make much sense.

Found the answer to it here: http://stackoverflow.com/a/22601554/5815327

I guess [DefaultEvent("TextChanged")] would make the most sense.

m66n commented 8 years ago

I agree that TextChanged should be the default event. I added that to the VS2015 project.