static void Main() { FingerprintMachine fap = new FingerprintMachine(); //fap.Connect(); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new RTEventsMain()); }