Panel1 opens by pressing the button . It is necessary that panel1 disappears when the cursor goes beyond its borders.
Panel1
button
panel1
The Panel has a MouseLeave event. Use it and:
Panel
MouseLeave
private void panel1_MouseLeave(object sender, EventArgs e) { panel1.Visible = false; }
Source: https://ru.stackoverflow.com/questions/653562/More articles:Using the image instead of the radio buttonAngular2. RouteModule. Unclear reason for Unhandled Promise rejection: Invalid configuration error routeBinary search for stringsHow to upload a photo to the WordPress plugin settings?The program crashes before launching: During startup program exited with code 0xc0000018Frontend task, how best to approach its solution?How to remove rows from a collection by a certain part?ModX Revolution news pageDownload the database to a remote serverWhat is the difference between MySQL and SQL?All Articles