void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 13 "..\..\MainWindow.xaml"
                ((View.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 14 "..\..\MainWindow.xaml"
                ((View.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.PF = ((View.PlayField)(target));
                return;
            }
            this._contentLoaded = true;
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="HighScores"/> class.
        /// </summary>
        public HighScores()
        {
            this.InitializeComponent();

            Size s = new Size(this.ActualWidth, this.ActualHeight);

            this.gl = new Logic.GameLogic(s);
            this.pf = this.FindResource("pf") as PlayField;
            this.pf.Initialize(this.gl);
            this.DataContext = this.pf;
        }