void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.userControl = ((KnapsackProblem.CircularProgressBar)(target)); return; case 2: this.pathRoot = ((System.Windows.Shapes.Path)(target)); return; case 3: this.pathFigure = ((System.Windows.Media.PathFigure)(target)); return; case 4: this.arcSegment = ((System.Windows.Media.ArcSegment)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.button0 = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 99 "..\..\KnapsackWindow.xaml" this.button0.Click += new System.Windows.RoutedEventHandler(this.button0_Click); #line default #line hidden return; case 2: this.button1 = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 100 "..\..\KnapsackWindow.xaml" this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click); #line default #line hidden return; case 3: this.button2 = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 101 "..\..\KnapsackWindow.xaml" this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click); #line default #line hidden return; case 4: this.grid1 = ((System.Windows.Controls.Grid)(target)); return; case 5: this.ItemsListPanel = ((System.Windows.Controls.StackPanel)(target)); return; case 6: this.BagsListInitialPanel = ((System.Windows.Controls.WrapPanel)(target)); #line 173 "..\..\KnapsackWindow.xaml" this.BagsListInitialPanel.AddHandler(System.Windows.Controls.Primitives.ButtonBase.ClickEvent, new System.Windows.RoutedEventHandler(this.BagInitialHandler)); #line default #line hidden return; case 7: this.BagsInitialContainer = ((System.Windows.Controls.WrapPanel)(target)); return; case 8: this.stackCircularInitial = ((System.Windows.Controls.StackPanel)(target)); return; case 9: this.CircularInitial = ((KnapsackProblem.CircularProgressBar)(target)); return; case 10: this.pesoTBinitial = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this.valorTBinitial = ((System.Windows.Controls.TextBlock)(target)); return; case 12: this.fitnessTBInitial = ((System.Windows.Controls.TextBlock)(target)); return; case 13: this.sliderInitial = ((System.Windows.Controls.Slider)(target)); return; case 14: this.BagsListPanel = ((System.Windows.Controls.WrapPanel)(target)); #line 246 "..\..\KnapsackWindow.xaml" this.BagsListPanel.AddHandler(System.Windows.Controls.Primitives.ButtonBase.ClickEvent, new System.Windows.RoutedEventHandler(this.BagFinalHandler)); #line default #line hidden return; case 15: this.BagsFinalContainer = ((System.Windows.Controls.WrapPanel)(target)); return; case 16: this.stackCircularFinal = ((System.Windows.Controls.StackPanel)(target)); return; case 17: this.CircularFinal = ((KnapsackProblem.CircularProgressBar)(target)); return; case 18: this.pesoTBfinal = ((System.Windows.Controls.TextBlock)(target)); return; case 19: this.valorTBfinal = ((System.Windows.Controls.TextBlock)(target)); return; case 20: this.fitnessTBfinal = ((System.Windows.Controls.TextBlock)(target)); return; case 21: this.sliderFinal = ((System.Windows.Controls.Slider)(target)); return; case 22: this.infoExec = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }