Exemple #1
0
        public MainMenu()
        {
            InitializeComponent();
            // If there is no database, run these.
            DatabaseController.AddThemesForTheFirstRun();
            DatabaseController.AddFloorsForFirstRun();

            representativeList = new List <Representative>();
            representativeList = DatabaseController.representativeList;
            SetBackground(DatabaseController.getLastSubTheme());

            this.mv = new MainView(this);
            mv.Hide();
        }