static void Main() { FXRFGlobals.GetFXMESGlobals(); #if PocketPC SymbolRFGun.SymbolRFGun myRFGun = new SymbolRFGun.SymbolRFGun(); FXRFGlobals.MyRFGun = myRFGun; #endif Controller con; con = new Controller(); #if PocketPC FXRFGlobals.MyRFGun.StopRead(); if (myRFGun != null) myRFGun.Close(); #endif }
private static void Main() { FXRFGlobals.GetRFGlobals(); #if PocketPC var myRFGun = new SymbolRFGun.SymbolRFGun(); FXRFGlobals.MyRFGun = myRFGun; #endif #pragma warning disable 168 var appCon = new SuperObjectController(); #pragma warning restore 168 #if PocketPC FXRFGlobals.MyRFGun.StopRead(); myRFGun.Close(); #endif }