I want the usercontrol window to close when the button on the usercontrol is clicked. How do I do this?
I tried this.hide or this.dispose, but when I use them, the buttons in my form window are not visible.
private void MyUserContolButton_Click(object sender, EventArgs e)
Visible = false;
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)