void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainWindow = ((CW_Underground.MainWindow)(target)); #line 4 "..\..\MainWindow.xaml" this.mainWindow.Loaded += new System.Windows.RoutedEventHandler(this.On_Load); #line default #line hidden #line 4 "..\..\MainWindow.xaml" this.mainWindow.Closing += new System.ComponentModel.CancelEventHandler(this.On_Closing); #line default #line hidden return; case 2: this.rowField = ((System.Windows.Controls.RowDefinition)(target)); return; case 3: this.columnField = ((System.Windows.Controls.ColumnDefinition)(target)); return; case 4: this.menuCanvas = ((System.Windows.Controls.Canvas)(target)); #line 14 "..\..\MainWindow.xaml" this.menuCanvas.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Mouse_Left_Button_Down_menuCanvas); #line default #line hidden return; case 5: this.fieldCanvas = ((System.Windows.Controls.Canvas)(target)); return; case 6: this.CreateSubwayLineBT = ((System.Windows.Controls.Button)(target)); #line 19 "..\..\MainWindow.xaml" this.CreateSubwayLineBT.Click += new System.Windows.RoutedEventHandler(this.Create_Subway_Line_BT_Click); #line default #line hidden return; case 7: this.SubwayLinesLBox = ((System.Windows.Controls.ListBox)(target)); return; case 8: this.TooNearStationPP = ((System.Windows.Controls.Primitives.Popup)(target)); return; case 9: this.TooNearPathPP = ((System.Windows.Controls.Primitives.Popup)(target)); return; case 10: this.CrossesStationPP = ((System.Windows.Controls.Primitives.Popup)(target)); return; case 11: this.AddTrain = ((System.Windows.Controls.Button)(target)); #line 45 "..\..\MainWindow.xaml" this.AddTrain.Click += new System.Windows.RoutedEventHandler(this.AddTrain_Click); #line default #line hidden return; case 12: this.runBT = ((System.Windows.Controls.Button)(target)); #line 46 "..\..\MainWindow.xaml" this.runBT.Click += new System.Windows.RoutedEventHandler(this.runBT_Click); #line default #line hidden return; case 13: this.timeTBox = ((System.Windows.Controls.TextBox)(target)); return; case 14: this.removeSubwayLineBT = ((System.Windows.Controls.Button)(target)); #line 48 "..\..\MainWindow.xaml" this.removeSubwayLineBT.Click += new System.Windows.RoutedEventHandler(this.removeSubwayLineBT_Click); #line default #line hidden return; case 15: this.removeTrainBT = ((System.Windows.Controls.Button)(target)); #line 49 "..\..\MainWindow.xaml" this.removeTrainBT.Click += new System.Windows.RoutedEventHandler(this.removeTrainBT_Click); #line default #line hidden return; case 16: this.violationBT = ((System.Windows.Controls.Button)(target)); #line 50 "..\..\MainWindow.xaml" this.violationBT.Click += new System.Windows.RoutedEventHandler(this.violationBT_Click); #line default #line hidden return; case 17: this.timeTBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 18: this.HelpBT = ((System.Windows.Controls.Button)(target)); #line 52 "..\..\MainWindow.xaml" this.HelpBT.Click += new System.Windows.RoutedEventHandler(this.HelpBT_Click); #line default #line hidden return; } this._contentLoaded = true; }