private void launchMainWindow(Sclass sclass) { MainWindow window = new MainWindow(sclass); window.Show(); Close(); }
public MainWindow(Sclass sclass) { this.sclass = sclass; InitializeComponent(); Closed += mainWindowClosed; Static.loader.getOperationManager().setOperationListener(new OperationListenerClass(statusBarView)); timetableWindow = new TimetableWindow(); timetableWindow.Closing += timetableWindowClosing; loadData(); }