public partial class FormPop : Form
{
public FormPop()
{
InitializeComponent();
}

private void FormPop_VisibleChanged(object sender, EventArgs e)
{
int a = 0;
}

private void FormPop_MouseLeave(object sender, EventArgs e)
{
bool b = this.Bounds.Contains(MousePosition);
if(!b)
this.Hide();
}
}

05-08 15:09