Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.assemblyNameTextBox = ((System.Windows.Controls.TextBox)(target));

            #line 49 "..\..\..\..\..\..\..\Src\Gui\Dialogs\OptionPanels\ProjectOptions\ApplicationSettings.xaml"
                this.assemblyNameTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.RefreshOutputNameTextBox);

            #line default
            #line hidden
                return;

            case 2:
                this.rootNamespaceTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 4:
                this.startupObjectComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.applicationIconTextBox = ((System.Windows.Controls.TextBox)(target));

            #line 104 "..\..\..\..\..\..\..\Src\Gui\Dialogs\OptionPanels\ProjectOptions\ApplicationSettings.xaml"
                this.applicationIconTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ApplicationIconTextBox_TextChanged);

            #line default
            #line hidden
                return;

            case 6:

            #line 112 "..\..\..\..\..\..\..\Src\Gui\Dialogs\OptionPanels\ProjectOptions\ApplicationSettings.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ApplicationIconButton_Click);

            #line default
            #line hidden
                return;

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

            #line 125 "..\..\..\..\..\..\..\Src\Gui\Dialogs\OptionPanels\ProjectOptions\ApplicationSettings.xaml"
                this.applicationManifestComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ApplicationManifestComboBox_SelectionChanged);

            #line default
            #line hidden

            #line 126 "..\..\..\..\..\..\..\Src\Gui\Dialogs\OptionPanels\ProjectOptions\ApplicationSettings.xaml"
                this.applicationManifestComboBox.AddHandler(System.Windows.Controls.Primitives.TextBoxBase.TextChangedEvent, new System.Windows.Controls.TextChangedEventHandler(this.ApplicationManifestComboBox_TextChanged));

            #line default
            #line hidden
                return;

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

            case 9:

            #line 145 "..\..\..\..\..\..\..\Src\Gui\Dialogs\OptionPanels\ProjectOptions\ApplicationSettings.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Win32ResourceComboButton_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.projectInformation = ((ICSharpCode.SharpDevelop.Gui.OptionPanels.ProjectInformation)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.assemblyNameTextBox = ((System.Windows.Controls.TextBox)(target));

            #line 41 "..\..\..\Project\ApplicationOptions.xaml"
                this.assemblyNameTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.RefreshOutputNameTextBox);

            #line default
            #line hidden
                return;

            case 2:
                this.rootNamespaceTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 4:
                this.startupObjectComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.applicationIconImage = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 85 "..\..\..\Project\ApplicationOptions.xaml"
                this.applicationIconTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ApplicationIconTextBox_TextChanged);

            #line default
            #line hidden
                return;

            case 7:

            #line 89 "..\..\..\Project\ApplicationOptions.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ApplicationIconButton_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.applicationManifestComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 101 "..\..\..\Project\ApplicationOptions.xaml"
                this.applicationManifestComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ApplicationManifestComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.projectInformation = ((ICSharpCode.SharpDevelop.Gui.OptionPanels.ProjectInformation)(target));
                return;
            }
            this._contentLoaded = true;
        }