Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.combo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 2:
                this.columns = ((CODE.Framework.Wpf.Controls.ListColumnsCollection)(target));
                return;

            case 3:
                this.c2 = ((CODE.Framework.Wpf.Controls.ListColumn)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.list = ((System.Windows.Controls.ListBox)(target));
                return;

            case 2:
                this.columns = ((CODE.Framework.Wpf.Controls.ListColumnsCollection)(target));
                return;

            case 3:
                this.c2 = ((CODE.Framework.Wpf.Controls.ListColumn)(target));
                return;

            case 4:

            #line 75 "..\..\..\ColumnListBox.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ToggleColumnC2);

            #line default
            #line hidden
                return;

            case 5:

            #line 76 "..\..\..\ColumnListBox.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ToggleHeaders);

            #line default
            #line hidden
                return;

            case 6:

            #line 77 "..\..\..\ColumnListBox.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ToggleFooters);

            #line default
            #line hidden
                return;

            case 7:

            #line 78 "..\..\..\ColumnListBox.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.MoveFocusToColumn4);

            #line default
            #line hidden
                return;

            case 8:

            #line 79 "..\..\..\ColumnListBox.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.MoveFocusToColumn7);

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