static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); fmDevice = new fmDevice(); fmMain = new fmMain(); InitializeEmulator(); Application.Run(fmMain); }