// IComponentConnector public void Connect(int connectionId, global::System.Object target) { switch (connectionId) { case 2: // Pages\EditChorePage.xaml line 27 this.obj2 = (global::Windows.UI.Xaml.Controls.TextBlock)target; break; case 3: // Pages\EditChorePage.xaml line 28 this.obj3 = (global::Windows.UI.Xaml.Controls.TextBlock)target; break; case 4: // Pages\EditChorePage.xaml line 29 this.obj4 = (global::Windows.UI.Xaml.Controls.ComboBox)target; this.obj4SelectionChanged = (global::System.Object p0, global::Windows.UI.Xaml.Controls.SelectionChangedEventArgs p1) => { global::client_desktop.ViewModels.ChoresViewModel.UpdateStatus(p0, p1); }; ((global::Windows.UI.Xaml.Controls.ComboBox)target).SelectionChanged += obj4SelectionChanged; this.bindingsTracking.RegisterTwoWayListener_4(this.obj4); break; default: break; } }
// IComponentConnector public void Connect(int connectionId, global::System.Object target) { switch (connectionId) { case 2: // Scenario2_Client.xaml line 33 this.obj2 = (global::Windows.UI.Xaml.Controls.Button)target; this.obj2Click = (global::System.Object p0, global::Windows.UI.Xaml.RoutedEventArgs p1) => { this.dataRoot.ConnectButton_Click(); }; ((global::Windows.UI.Xaml.Controls.Button)target).Click += obj2Click; break; case 3: // Scenario2_Client.xaml line 34 this.obj3 = (global::Windows.UI.Xaml.Controls.ComboBox)target; this.obj3SelectionChanged = (global::System.Object p0, global::Windows.UI.Xaml.Controls.SelectionChangedEventArgs p1) => { this.dataRoot.ServiceList_SelectionChanged(); }; ((global::Windows.UI.Xaml.Controls.ComboBox)target).SelectionChanged += obj3SelectionChanged; break; case 4: // Scenario2_Client.xaml line 36 this.obj4 = (global::Windows.UI.Xaml.Controls.ComboBox)target; this.obj4SelectionChanged = (global::System.Object p0, global::Windows.UI.Xaml.Controls.SelectionChangedEventArgs p1) => { this.dataRoot.CharacteristicList_SelectionChanged(); }; ((global::Windows.UI.Xaml.Controls.ComboBox)target).SelectionChanged += obj4SelectionChanged; break; case 8: // Scenario2_Client.xaml line 46 this.obj8 = (global::Windows.UI.Xaml.Controls.Button)target; this.obj8Click = (global::System.Object p0, global::Windows.UI.Xaml.RoutedEventArgs p1) => { this.dataRoot.CharacteristicWriteButtonInt_Click(); }; ((global::Windows.UI.Xaml.Controls.Button)target).Click += obj8Click; break; case 9: // Scenario2_Client.xaml line 47 this.obj9 = (global::Windows.UI.Xaml.Controls.Button)target; this.obj9Click = (global::System.Object p0, global::Windows.UI.Xaml.RoutedEventArgs p1) => { this.dataRoot.CharacteristicWriteButton_Click(); }; ((global::Windows.UI.Xaml.Controls.Button)target).Click += obj9Click; break; case 10: // Scenario2_Client.xaml line 39 this.obj10 = (global::Windows.UI.Xaml.Controls.Button)target; this.obj10Click = (global::System.Object p0, global::Windows.UI.Xaml.RoutedEventArgs p1) => { this.dataRoot.CharacteristicReadButton_Click(); }; ((global::Windows.UI.Xaml.Controls.Button)target).Click += obj10Click; break; case 11: // Scenario2_Client.xaml line 41 this.obj11 = (global::Windows.UI.Xaml.Controls.Button)target; this.obj11Click = (global::System.Object p0, global::Windows.UI.Xaml.RoutedEventArgs p1) => { this.dataRoot.ValueChangedSubscribeToggle_Click(); }; ((global::Windows.UI.Xaml.Controls.Button)target).Click += obj11Click; break; default: break; } }