private void MouseTick(object sender, EventArgs e) { try { if (!this.Bounds.Contains(Control.MousePosition) && Control.MouseButtons == MouseButtons.Left) { this.Hide(); } } catch (Exception ex) { log.WriteLog(ex.ToString()); } }