private void button49_Click(object sender, EventArgs e) { bool result = Win32API.AnyPopup(); Console.WriteLine(result); }