我需要重复以下 while 循环,直到单击气球提示。我怎样才能做到这一点?
while(/*Here, I want the loop to end when the Norm.BalloonTipClicked occurs*/)
{
Norm.ShowBalloonTip(10000);
System.Threading.Thread.Sleep(10000);
`enter code here`
System.Threading.Thread.Sleep(60000);
}
(您可能已经意识到,“Norm”指的是通知图标的名称)