Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.radioUser = ((System.Windows.Controls.RadioButton)(target));

            #line 28 "..\..\..\..\Controls\SelectPanel.xaml"
                this.radioUser.Click += new System.Windows.RoutedEventHandler(this.selectUser_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.radioIndex = ((System.Windows.Controls.RadioButton)(target));

            #line 29 "..\..\..\..\Controls\SelectPanel.xaml"
                this.radioIndex.Click += new System.Windows.RoutedEventHandler(this.selectIndex_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.radioIndust = ((System.Windows.Controls.RadioButton)(target));

            #line 30 "..\..\..\..\Controls\SelectPanel.xaml"
                this.radioIndust.Click += new System.Windows.RoutedEventHandler(this.selectIndust_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.radioAll = ((System.Windows.Controls.RadioButton)(target));

            #line 31 "..\..\..\..\Controls\SelectPanel.xaml"
                this.radioAll.Click += new System.Windows.RoutedEventHandler(this.selectPanelAll_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.panelAll = ((StockTech.Controls.SelectPanelAll)(target));
                return;

            case 6:
                this.panelIndex = ((StockTech.Controls.SelectPanelIndex)(target));
                return;

            case 7:
                this.panelIndust = ((StockTech.Controls.SelectPanelIndust)(target));
                return;

            case 8:
                this.panelUser = ((StockTech.Controls.SelectPanelUser)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.radioUser = ((System.Windows.Controls.RadioButton)(target));
     
     #line 28 "..\..\..\..\Controls\SelectPanel.xaml"
     this.radioUser.Click += new System.Windows.RoutedEventHandler(this.selectUser_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     this.radioIndex = ((System.Windows.Controls.RadioButton)(target));
     
     #line 29 "..\..\..\..\Controls\SelectPanel.xaml"
     this.radioIndex.Click += new System.Windows.RoutedEventHandler(this.selectIndex_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.radioIndust = ((System.Windows.Controls.RadioButton)(target));
     
     #line 30 "..\..\..\..\Controls\SelectPanel.xaml"
     this.radioIndust.Click += new System.Windows.RoutedEventHandler(this.selectIndust_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.radioAll = ((System.Windows.Controls.RadioButton)(target));
     
     #line 31 "..\..\..\..\Controls\SelectPanel.xaml"
     this.radioAll.Click += new System.Windows.RoutedEventHandler(this.selectPanelAll_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.panelAll = ((StockTech.Controls.SelectPanelAll)(target));
     return;
     case 6:
     this.panelIndex = ((StockTech.Controls.SelectPanelIndex)(target));
     return;
     case 7:
     this.panelIndust = ((StockTech.Controls.SelectPanelIndust)(target));
     return;
     case 8:
     this.panelUser = ((StockTech.Controls.SelectPanelUser)(target));
     return;
     }
     this._contentLoaded = true;
 }