void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GameWindow = ((minesweeper.MainWindow)(target));
                return;

            case 2:
                this.ugr = ((System.Windows.Controls.Primitives.UniformGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GameWindow = ((minesweeper.MainWindow)(target));
                return;

            case 2:
                this.NewGame = ((System.Windows.Controls.MenuItem)(target));

            #line 17 "..\..\MainWindow.xaml"
                this.NewGame.Click += new System.Windows.RoutedEventHandler(this.NewGame_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.ugr = ((System.Windows.Controls.Primitives.UniformGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GameWindow = ((minesweeper.MainWindow)(target));
                return;

            case 2:
                this._NewGame = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 3:
                this.low = ((System.Windows.Controls.MenuItem)(target));

            #line 19 "..\..\MainWindow.xaml"
                this.low.Click += new System.Windows.RoutedEventHandler(this.low_click);

            #line default
            #line hidden
                return;

            case 4:
                this.mid = ((System.Windows.Controls.MenuItem)(target));

            #line 20 "..\..\MainWindow.xaml"
                this.mid.Click += new System.Windows.RoutedEventHandler(this.mid_click);

            #line default
            #line hidden
                return;

            case 5:
                this.high = ((System.Windows.Controls.MenuItem)(target));

            #line 21 "..\..\MainWindow.xaml"
                this.high.Click += new System.Windows.RoutedEventHandler(this.high_click);

            #line default
            #line hidden
                return;

            case 6:
                this.Leaderboard = ((System.Windows.Controls.MenuItem)(target));

            #line 25 "..\..\MainWindow.xaml"
                this.Leaderboard.Click += new System.Windows.RoutedEventHandler(this.records_click);

            #line default
            #line hidden
                return;

            case 7:
                this.Counter = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 8:
                this.cnt = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this._Timer = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 10:
                this.tim = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.ugr = ((System.Windows.Controls.Primitives.UniformGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }