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); }
public CustomerHandler(MainViewRibbon view) { _mainView = view; ActiveControl = _companyControl; _mainView.RegisterControl(ActiveControl); }
public PropertyHandler(MainViewRibbon view) { _mainView = view; ActiveControl = (_propertieControl = new PropertieControl()); _mainView.RegisterControl(ActiveControl); }