Esempio n. 1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.ThreadException += Application_ThreadException;

            //TypeDescriptorHelper.SetDisplayAttributFromResource<OrderQueryList>(AsNum.Aliexpress.API.Res.Resource.ResourceManager);
            TypeDescriptorHelper.AutoSetDisplayAttributeFromResource("AsNum.Aliexpress.API", AsNum.Xmj.API.Res.Resource.ResourceManager);

            Application.Run(new Form1());
        }
Esempio n. 2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            TypeDescriptorHelper.AutoSetDisplayAttributeFromResource("AsNum.Aliexpress.API", Resource.ResourceManager);

            Container.LoadConfiguration();

            Application.ThreadException += Application_ThreadException;
            var form = Container.Resolve <Form1>();

            Application.Run(form);
        }