コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainEditWin = ((Universal_Game_Configurator.Editor.MainEditorWindow)(target));
                return;

            case 2:
                this.btnEditGames = ((System.Windows.Controls.Button)(target));
                return;

            case 3:
                this.btnEditGameConfig = ((System.Windows.Controls.Button)(target));
                return;

            case 4:
                this.btnNewGameConfig = ((System.Windows.Controls.Button)(target));
                return;

            case 5:
                this.btnEditDescriptions = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.textBoxGamePath = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.buttonBrowse1 = ((System.Windows.Controls.Button)(target));
                return;

            case 8:
                this.textBoxConfigEditPath = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.buttonBrowse2 = ((System.Windows.Controls.Button)(target));
                return;

            case 10:
                this.textBoxDescriptionPath = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.buttonBrowse3 = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainEditWin = ((Universal_Game_Configurator.Editor.MainEditorWindow)(target));

            #line 8 "..\..\..\Editor\MainEditorWindow.xaml"
                this.mainEditWin.Loaded += new System.Windows.RoutedEventHandler(this.mainWin_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.btnEditGames = ((System.Windows.Controls.Button)(target));

            #line 26 "..\..\..\Editor\MainEditorWindow.xaml"
                this.btnEditGames.Click += new System.Windows.RoutedEventHandler(this.btnEditGames_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.btnEditGameConfig = ((System.Windows.Controls.Button)(target));

            #line 27 "..\..\..\Editor\MainEditorWindow.xaml"
                this.btnEditGameConfig.Click += new System.Windows.RoutedEventHandler(this.btnEditGameConfig_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnNewGameConfig = ((System.Windows.Controls.Button)(target));

            #line 28 "..\..\..\Editor\MainEditorWindow.xaml"
                this.btnNewGameConfig.Click += new System.Windows.RoutedEventHandler(this.btnNewGameConfig_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnEditDescriptions = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\..\Editor\MainEditorWindow.xaml"
                this.btnEditDescriptions.Click += new System.Windows.RoutedEventHandler(this.btnEditDescriptions_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.textBoxGamePath = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.buttonBrowse1 = ((System.Windows.Controls.Button)(target));

            #line 33 "..\..\..\Editor\MainEditorWindow.xaml"
                this.buttonBrowse1.Click += new System.Windows.RoutedEventHandler(this.buttonBrowse1_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.textBoxConfigEditPath = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.buttonBrowse2 = ((System.Windows.Controls.Button)(target));

            #line 35 "..\..\..\Editor\MainEditorWindow.xaml"
                this.buttonBrowse2.Click += new System.Windows.RoutedEventHandler(this.buttonBrowse2_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.textBoxDescriptionPath = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.buttonBrowse3 = ((System.Windows.Controls.Button)(target));

            #line 37 "..\..\..\Editor\MainEditorWindow.xaml"
                this.buttonBrowse3.Click += new System.Windows.RoutedEventHandler(this.buttonBrowse3_Click);

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