Skip to content
Permalink
16ee93833f
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
39 lines (33 sloc) 1.05 KB
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using DataScraperGUI.Infrastructure;
using DataScraperGUI.Programs;
namespace DataScraperGUI {
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window {
private Logger logger = null;
public MainWindow() {
InitializeComponent();
logger = new Logger(logBox);
logger.LogMessage("Successfully started application.");
}
private void runButton_Click (object sender, RoutedEventArgs e) {
logger.LogWarning("Run button pressed!");
var p = new NormalProgram(logger, progressBar);
p.Execute();
}
}
}