using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.ServiceProcess;
using System.Threading;
using System.Runtime.InteropServices;
namespace FileWatchService
{
public class Service1 : System.ServiceProcess.ServiceBase
{
///
/// 必需的设计器变量。
///
private System.ComponentModel.Container components = null;
Thread threadForm = null;
public Service1()
{
//
该调用是
Windows.Forms 组件设计器所必需的。
InitializeComponent();
// TODO:
在
InitComponent 调用后添加任何初始化
}
#region 组件设计器生成的代码