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();
}
}

相关文章:

  • 2022-02-15
  • 2022-01-09
  • 2022-01-09
  • 2021-05-21
  • 2021-05-20
  • 2021-07-07
  • 2021-10-10
猜你喜欢
  • 2022-01-30
  • 2021-07-14
  • 2022-12-23
  • 2021-08-18
  • 2021-09-16
  • 2021-10-27
  • 2021-11-10
相关资源
相似解决方案