void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ViewModel = ((SiCuAstaPasta.ViewModels.RestaurantViewModel)(target)); return; case 2: this.Cautare = ((System.Windows.Controls.TextBox)(target)); return; case 3: #line 18 "..\..\..\Views\RestaurantMenu.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Cauta_OnClick); #line default #line hidden return; case 4: #line 21 "..\..\..\Views\RestaurantMenu.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SchimbaCategoria_OnClick); #line default #line hidden return; case 5: #line 22 "..\..\..\Views\RestaurantMenu.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SchimbaCategoria_OnClick); #line default #line hidden return; case 6: #line 23 "..\..\..\Views\RestaurantMenu.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SchimbaCategoria_OnClick); #line default #line hidden return; case 7: this.ListaProduse = ((System.Windows.Controls.ListView)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ViewModel = ((SiCuAstaPasta.ViewModels.RestaurantViewModel)(target)); return; case 2: this.NumeUtilizator = ((System.Windows.Controls.Label)(target)); return; case 3: #line 61 "..\..\..\Views\RestaurantBaraCautareView.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.DeconectareClick); #line default #line hidden return; case 4: this.ButonComenzi = ((System.Windows.Controls.Button)(target)); #line 67 "..\..\..\Views\RestaurantBaraCautareView.xaml" this.ButonComenzi.Click += new System.Windows.RoutedEventHandler(this.ComenziClick); #line default #line hidden return; case 5: this.ButonCos = ((System.Windows.Controls.Button)(target)); #line 68 "..\..\..\Views\RestaurantBaraCautareView.xaml" this.ButonCos.Click += new System.Windows.RoutedEventHandler(this.CosClick); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ViewModel = ((SiCuAstaPasta.ViewModels.RestaurantViewModel)(target)); return; case 2: #line 16 "..\..\..\Views\RestaurantOrders.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Inapoi_OnClick); #line default #line hidden return; case 3: this.ListaComenzi = ((System.Windows.Controls.ListView)(target)); return; } this._contentLoaded = true; }