Application.Run()

在控制台程序中加载windows程序,一直出问题。
后来在Mail函数中加入Application.Run()解决。

        [STAThread]
        
static int Main() 
        {
            EMISV emisv 
= new EMISV();
            Application.Run();
            
return returnCode;
        }
posted @ 2005-08-10 17:07  I'm CY  阅读(1560)  评论(0)    收藏  举报