Esempio n. 1
0
        private static void Main()
        {
            DevExpress.UserSkins.OfficeSkins.Register();
              DevExpress.UserSkins.BonusSkins.Register();
              DevExpress.LookAndFeel.UserLookAndFeel.Default.SkinName = Settings.Default.lookAndFeel;
              Application.EnableVisualStyles();
              Application.SetCompatibleTextRenderingDefault(false);

              var mainView = new MainViewRibbon();
              var startScreen = new StartScreen();

              var myContext = new SplashAppContext(mainView, startScreen);
              Application.Run(myContext);
        }
Esempio n. 2
0
 public CustomerHandler(MainViewRibbon view)
 {
     _mainView = view;
       ActiveControl = _companyControl;
       _mainView.RegisterControl(ActiveControl);
 }
Esempio n. 3
0
 public PropertyHandler(MainViewRibbon view)
 {
     _mainView = view;
       ActiveControl = (_propertieControl = new PropertieControl());
       _mainView.RegisterControl(ActiveControl);
 }