Example #1
0
        private void launchMainWindow(Sclass sclass)
        {
            MainWindow window = new MainWindow(sclass);

            window.Show();
            Close();
        }
Example #2
0
        public MainWindow(Sclass sclass)
        {
            this.sclass = sclass;

            InitializeComponent();

            Closed += mainWindowClosed;

            Static.loader.getOperationManager().setOperationListener(new OperationListenerClass(statusBarView));

            timetableWindow          = new TimetableWindow();
            timetableWindow.Closing += timetableWindowClosing;

            loadData();
        }