首页 > 代码库 > .NET Application without UI

.NET Application without UI

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

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