static void Main() { var session = new Session(); session.Run(); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(); }
public Worker(Session session) { this.session = session; this.monitorTimer.Interval = this.checkInterval; this.monitorTimer.Elapsed += this._Run; }
public WorkerHttp(Session session) : base(session) //use Worker Constructor { }