摘要:
方法1: using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.Threading;
using System.Reflection; static class Program { private static Mutex singleton; /// <summary> /// The main entry point for the application. ... 阅读全文
posted @ 2011-10-12 20:35
清山博客
阅读(311)
评论(0)
推荐(0)
摘要:
将Quartz.NET组建引入到WinFrom中时,遇到个问题,关闭程序后,进程任未结束。解决办法:在窗体关闭时,把调度器关闭就不会存在进程了。private void FormMain_FormClosing ( object sender , FormClosingEventArgs e )if (Scheduler.GetIntance()!= null ){ Scheduler.GetIntance().Shutdown()} 阅读全文
posted @ 2011-10-12 20:34
清山博客
阅读(527)
评论(0)
推荐(2)