static void Main(string[] args) { slcd = new SABnzbdLCD("COM3", 500); slcd.Start(); while(Console.ReadKey(true).Key != ConsoleKey.Escape) ; slcd.Stop(); }
public Service1() { InitializeComponent(); slcd = new SABnzbdLCD("COM3", 500); }