Exemplo n.º 1
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     //注册IOC依赖
     AutoFacConfiguration.RegisterDependencies();
     Application.Run(new TaskMainFrm());
 }
Exemplo n.º 2
0
 static Program()
 {
     AutoMapperConfiguration.Configure();
     AutoFacConfiguration.RegisterDependencies();
 }