void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.menuOpen = ((System.Windows.Controls.MenuItem)(target)); #line 14 "..\..\MainWindow.xaml" this.menuOpen.Click += new System.Windows.RoutedEventHandler(this.menuOpen_Click); #line default #line hidden return; case 2: this.menuSave = ((System.Windows.Controls.MenuItem)(target)); #line 15 "..\..\MainWindow.xaml" this.menuSave.Click += new System.Windows.RoutedEventHandler(this.menuSave_Click); #line default #line hidden return; case 3: this.menuExit = ((System.Windows.Controls.MenuItem)(target)); #line 17 "..\..\MainWindow.xaml" this.menuExit.Click += new System.Windows.RoutedEventHandler(this.menuExit_Click); #line default #line hidden return; case 4: this.menuSpravOpen = ((System.Windows.Controls.MenuItem)(target)); #line 20 "..\..\MainWindow.xaml" this.menuSpravOpen.Click += new System.Windows.RoutedEventHandler(this.menuSpravOpen_Click); #line default #line hidden return; case 5: this.lbStatus = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.lbRki = ((System.Windows.Controls.Label)(target)); return; case 7: this.leftPanel = ((trails.uc1)(target)); return; case 8: this.btGo = ((System.Windows.Controls.Button)(target)); #line 44 "..\..\MainWindow.xaml" this.btGo.Click += new System.Windows.RoutedEventHandler(this.btGo_Click); #line default #line hidden return; case 9: this.rightPanel = ((trails.uc2)(target)); return; } this._contentLoaded = true; }