public Form1() { InitializeComponent(); log4net.Config.XmlConfigurator.Configure(); service = new BarCodeScannerService(); }