static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Itop.Server.Impl.BaseService bs = new Itop.Server.Impl.BaseService(); UCDeviceBase.DataService = bs; Itop.Client.Common.Services.BaseService = bs; new Itop.Domain.Graphics.LayerFile(); Itop.Client.MIS.ProgUID = "rabbit"; Application.Run(new Form1()); }