.NET Application without UI

时间:2014-05-07 10:56:39   收藏:0   阅读:348

        private void MainForm_Load(object sender, EventArgs e)
        {
            BeginInvoke(new MethodInvoker(delegate { Hide(); }));
            DoJob();
            Process.GetCurrentProcess().Kill();
        }

        private void DoJob()
        {
            try
            {
            }
            catch { }
        }

.NET Application without UI,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!