using System; using System.ComponentModel; using System.Windows.Forms; using System.Threading; namespace AutoResetEventTest { public partial class Form1 : Form { private ManualResetEvent manualResetEvent; private AutoResetEvent auto; private bool suspend; private AsyncOperation asyncOperation; public delegate void InvokeDelegate(string str); private InvokeDelegate invokeDelegate; const string str = "Test"; private b...[ 查看全文 ]