コード例 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.optionsMenu = ((minesweeper_a_clone_client.OptionsMenu)(target));
     return;
     case 2:
     this.lblTheme = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.cmbBxTheme = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 4:
     this.chkBxDownloadHighscores = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 5:
     this.grpBxDifficulty = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 6:
     this.lblDifficulty = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.cmbBxDifficulty = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 8:
     this.separator1 = ((System.Windows.Controls.Separator)(target));
     return;
     case 9:
     this.lblHeight = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.lblWidth = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.lblMines = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.lblNameNewDifficulty = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.txtNewDifficultyHeight = ((System.Windows.Controls.TextBox)(target));
     return;
     case 14:
     this.btnNewDifficultyCreate = ((System.Windows.Controls.Button)(target));
     return;
     case 15:
     this.txtNewDifficultyWidth = ((System.Windows.Controls.TextBox)(target));
     return;
     case 16:
     this.txtNewDifficultyMines = ((System.Windows.Controls.TextBox)(target));
     return;
     case 17:
     this.txtNewDifficultyName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 18:
     this.btnBack = ((System.Windows.Controls.Button)(target));
     
     #line 28 "..\..\..\OptionsMenu.xaml"
     this.btnBack.Click += new System.Windows.RoutedEventHandler(this.btnBack_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.optionsMenu = ((minesweeper_a_clone_client.OptionsMenu)(target));
                return;

            case 2:
                this.lblTheme = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.cmbBxTheme = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.chkBxDownloadHighscores = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 5:
                this.grpBxDifficulty = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 6:
                this.lblDifficulty = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.cmbBxDifficulty = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 8:
                this.separator1 = ((System.Windows.Controls.Separator)(target));
                return;

            case 9:
                this.lblHeight = ((System.Windows.Controls.Label)(target));
                return;

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

            case 11:
                this.lblMines = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.lblNameNewDifficulty = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.txtNewDifficultyHeight = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.btnNewDifficultyCreate = ((System.Windows.Controls.Button)(target));
                return;

            case 15:
                this.txtNewDifficultyWidth = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.txtNewDifficultyMines = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.txtNewDifficultyName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.btnBack = ((System.Windows.Controls.Button)(target));

            #line 28 "..\..\..\OptionsMenu.xaml"
                this.btnBack.Click += new System.Windows.RoutedEventHandler(this.btnBack_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }