예제 #1
0
 public void TheMentalist()
 {
     // Use the Asyncronous Programming Model (APM) - a bit ugly in my eyes
     BackgroundMethodDelegate x = new BackgroundMethodDelegate(BackgroundMethod);
     IAsyncResult a = x.BeginInvoke("The Mentalist", null, null);
     x.EndInvoke(a);
 }
예제 #2
0
파일: Program.cs 프로젝트: zezo010/IDS
        public void TheMentalist()
        {
            // Use the Asyncronous Programming Model (APM) - a bit ugly in my eyes
            BackgroundMethodDelegate x = new BackgroundMethodDelegate(BackgroundMethod);
            IAsyncResult             a = x.BeginInvoke("The Mentalist", null, null);

            x.EndInvoke(a);
        }