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

            #line 16 "..\..\..\..\..\..\..\Src\Gui\Dialogs\OptionPanels\IDEOptions\ProjectAndSolutionOptions.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.defaultProjectLocationButtonClick);

            #line default
            #line hidden
                return;

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

            case 3:
                this.parallelBuildCount = ((ICSharpCode.SharpDevelop.Widgets.NumericUpDown)(target));
                return;

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

            case 5:
                this.onExecuteComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.bytesPerLine = ((ICSharpCode.SharpDevelop.Widgets.NumericUpDown)(target));
                return;

            case 2:
                this.viewModes = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 3:
                this.offsetColorPicker = ((ICSharpCode.SharpDevelop.Gui.ColorPickerButton)(target));
                return;

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

            #line 41 "..\..\..\..\Src\View\HexEditOptionsPanel.xaml"
                this.offsetFontButton.Click += new System.Windows.RoutedEventHandler(this.FontChooserClick);

            #line default
            #line hidden
                return;

            case 5:
                this.dataColorPicker = ((ICSharpCode.SharpDevelop.Gui.ColorPickerButton)(target));
                return;

            case 6:
                this.dataFontButton = ((System.Windows.Controls.Button)(target));

            #line 47 "..\..\..\..\Src\View\HexEditOptionsPanel.xaml"
                this.dataFontButton.Click += new System.Windows.RoutedEventHandler(this.FontChooserClick);

            #line default
            #line hidden
                return;

            case 7:
                this.offsetPreview = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.dataPreview = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 16 "..\..\..\..\..\..\..\Src\Gui\Dialogs\OptionPanels\IDEOptions\ProjectAndSolutionOptions.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.defaultProjectLocationButtonClick);
     
     #line default
     #line hidden
     return;
     case 2:
     this.defaultProjectLocationTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.parallelBuildCount = ((ICSharpCode.SharpDevelop.Widgets.NumericUpDown)(target));
     return;
     case 4:
     this.verbosityComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 5:
     this.onExecuteComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     }
     this._contentLoaded = true;
 }