Example #1
0
        public App()
        {
            databaseManager = new DatabaseManager();

            firstWindow = new FirstWindow();
            firstWindow.message += receiveMessage;
            firstWindow.updateLast(databaseManager.checkProjects());

            mainWindow = new MainWindow();
            mainWindow.message += receiveMessage;

            App.Current.MainWindow = firstWindow;
            firstWindow.Show();
        }
Example #2
0
        public App()
        {
            databaseManager = new DatabaseManager();

            firstWindow          = new FirstWindow();
            firstWindow.message += receiveMessage;
            firstWindow.updateLast(databaseManager.checkProjects());

            mainWindow          = new MainWindow();
            mainWindow.message += receiveMessage;

            App.Current.MainWindow = firstWindow;
            firstWindow.Show();
        }