private void ItConfigInstr_Click(object sender, RoutedEventArgs e)
        {
            ConfigWindow cnfwindow = new ConfigWindow();

            cnfwindow.Show();

            cnfwindow.Closed += (s, ee) => { this.IsEnabled = true; noteFinder = new NoteFinder(@"..\..\data\net.fnn"); };

            this.IsEnabled = false;
        }
        public MainWindow()
        {
            InitializeComponent();

            capturer           = new AudioCapturer();
            capturer.NewPick  += Capturer_NewPick;
            slSens.DataContext = capturer;

            renderer = new WaveRenderer(cnvWave);

            appInfo = new AppInfo(lbFreq, lbNote, lbState, lbSens);

            noteFinder = new NoteFinder(@"..\..\data\net.fnn");

            updateTimer          = new DispatcherTimer();
            updateTimer.Interval = new TimeSpan(0, 0, 0, 0, 30);
            updateTimer.Tick    += UpdateTimer_Tick;


            testSong  = new Song(new SongRenderer(@"..\..\data\img\note.png", @"..\..\data\img\sharp.png", @"..\..\data\img\background.png", cnvSong));
            lastSound = DateTime.Now;
        }