Exemplo n.º 1
0
 public MainWindow()
 {
     InitializeComponent();
     AppDomain.CurrentDomain.ProcessExit += new EventHandler(OnProcessExit);
     queryPage    = new QueryPage(this);
     downloadPage = new DownloadPage(this);
     guiLogic     = new GUILogic();
     frame.NavigationService.Navigate(queryPage);
 }
Exemplo n.º 2
0
 internal SetupGUI(MainWindow mainWindow)
 {
     this.mainWindow  = mainWindow;
     queryPage        = mainWindow.queryPage;
     downloadPage     = mainWindow.downloadPage;
     localStudiesPage = mainWindow.localStudiesPage;
     localSeriesPage  = mainWindow.localSeriesPage;
     queryPage.executeQueryButton.Click += onButtonPressedHandler;
 }