void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.window = ((KGG_Task_1.MainWindow)(target)); return; case 2: this.kggCanvas = ((KGG.KggCanvas)(target)); #line 11 "..\..\MainWindow.xaml" this.kggCanvas.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.kggCanvas_MouseLeftButtonDown); #line default #line hidden #line 11 "..\..\MainWindow.xaml" this.kggCanvas.MouseMove += new System.Windows.Input.MouseEventHandler(this.kggCanvas_MouseMove); #line default #line hidden #line 11 "..\..\MainWindow.xaml" this.kggCanvas.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.kggCanvas_MouseLeftButtonUp); #line default #line hidden return; case 3: this.textBoxLeft = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.textBoxRight = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.button = ((System.Windows.Controls.Button)(target)); #line 16 "..\..\MainWindow.xaml" this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.window = ((KGG_Task_1.MainWindow)(target)); return; case 2: this.kggCanvas = ((KGG.KggCanvas)(target)); #line 11 "..\..\MainWindow.xaml" this.kggCanvas.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.kggCanvas_MouseLeftButtonDown); #line default #line hidden #line 11 "..\..\MainWindow.xaml" this.kggCanvas.MouseMove += new System.Windows.Input.MouseEventHandler(this.kggCanvas_MouseMove); #line default #line hidden #line 11 "..\..\MainWindow.xaml" this.kggCanvas.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.kggCanvas_MouseLeftButtonUp); #line default #line hidden return; case 3: this.slider = ((System.Windows.Controls.Slider)(target)); #line 12 "..\..\MainWindow.xaml" this.slider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider_ValueChanged); #line default #line hidden return; case 4: this.label = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }