先在程序入口点 staticclassProgram { /// ///应用程序的主入口点。 /// [STAThread] staticvoidMain() {DevExpress.XtraPrinting.Localization.PreviewLocalizer.Active=newPrintviewLocalizer2(); Application.SetCompatibleTex