void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.myMainWindow = ((DatabaseClient.MainWindow)(target)); return; case 2: this.MainGrid = ((System.Windows.Controls.Grid)(target)); return; case 3: #line 35 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuTabele_Click); #line default #line hidden return; case 4: #line 37 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuFormularzeDodajWytaczadlo_Click); #line default #line hidden return; case 5: #line 38 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuFormularzeDodajLozysko_Click); #line default #line hidden return; case 6: #line 39 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuFormularzeDodajDokument_Click); #line default #line hidden return; case 7: #line 41 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuSearch_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.myMainWindow = ((DatabaseClient.MainWindow)(target)); return; case 2: this.UIMessage = ((System.Windows.Controls.TextBlock)(target)); return; case 3: this.EditFrame = ((System.Windows.Controls.Frame)(target)); return; } this._contentLoaded = true; }