using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace Monitor.ModbusTcpEMeterTest { static class Program { /// /// The main entry point for the application. /// [STAThread] static void Main() { if(!HslCommunication.Authorization.SetAuthorizationCode("e3ef2dd5-2e1e-481d-99fe-452fe6bc00f0")) { MessageBox.Show("¼¤»îʧ°Ü!"); } Application.SetHighDpiMode(HighDpiMode.SystemAware); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new FrmElecMeterResult()); } } }