Ejemplo n.º 1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            DevExpress.Skins.SkinManager.EnableFormSkins();
            DevExpress.UserSkins.BonusSkins.Register();
            UserLookAndFeel.Default.SetSkinStyle("Office 2010 Blue");
            var mainForm = new MainPageView(new MainPageController());
            mainForm.FormClosing += mainForm.HandleClosing;
            Application.Run(mainForm);
        }
 public void SetView(XtraForm view)
 {
     _form = (MainPageView)view;
 }