void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((Wyszukiwanie_mostów_w_grafie.MainWindow)(target));
                return;

            case 2:
                this.menu = ((System.Windows.Controls.Menu)(target));
                return;

            case 3:
                this.DrawSpace = ((System.Windows.Controls.Canvas)(target));

            #line 15 "..\..\MainWindow.xaml"
                this.DrawSpace.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DrawSpace_MouseLeftButtonDown);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((Wyszukiwanie_mostów_w_grafie.MainWindow)(target));
                return;

            case 2:
                this.ZoomSpace = ((System.Windows.Controls.Canvas)(target));

            #line 11 "..\..\MainWindow.xaml"
                this.ZoomSpace.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.ZoomSpace_MouseWheel);

            #line default
            #line hidden
                return;

            case 3:
                this.sv = ((System.Windows.Controls.ScrollViewer)(target));

            #line 12 "..\..\MainWindow.xaml"
                this.sv.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.HandlePreviewMouseWheel);

            #line default
            #line hidden
                return;

            case 4:
                this.DrawSpace = ((System.Windows.Controls.Canvas)(target));

            #line 13 "..\..\MainWindow.xaml"
                this.DrawSpace.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DrawSpace_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 5:
                this.st = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 6:
                this.ToolBar = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 7:
                this.FindBridgesButton = ((System.Windows.Controls.Button)(target));

            #line 21 "..\..\MainWindow.xaml"
                this.FindBridgesButton.Click += new System.Windows.RoutedEventHandler(this.FindBridgesButton_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.AddEdge = ((System.Windows.Controls.Button)(target));

            #line 23 "..\..\MainWindow.xaml"
                this.AddEdge.Click += new System.Windows.RoutedEventHandler(this.AddEdge_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.AddVertex = ((System.Windows.Controls.Button)(target));

            #line 26 "..\..\MainWindow.xaml"
                this.AddVertex.Click += new System.Windows.RoutedEventHandler(this.AddVertex_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.DeleteElements = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\MainWindow.xaml"
                this.DeleteElements.Click += new System.Windows.RoutedEventHandler(this.DeleteElements_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.MoveElements = ((System.Windows.Controls.Button)(target));

            #line 32 "..\..\MainWindow.xaml"
                this.MoveElements.Click += new System.Windows.RoutedEventHandler(this.MoveElements_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.ResetGraph = ((System.Windows.Controls.Button)(target));

            #line 35 "..\..\MainWindow.xaml"
                this.ResetGraph.Click += new System.Windows.RoutedEventHandler(this.ResetGraph_Click);

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