// IComponentConnector public void Connect(int connectionId, global::System.Object target) { switch (connectionId) { case 2: // MainWindow.xaml line 54 this.obj2 = target.As <Microsoft.UI.Xaml.Controls.Grid>(); break; case 3: // MainWindow.xaml line 66 this.obj3 = target.As <Microsoft.UI.Xaml.Controls.TextBox>(); this.bindingsTracking.RegisterTwoWayListener_3(this.obj3); break; case 4: // MainWindow.xaml line 71 this.obj4 = target.As <Microsoft.UI.Xaml.Controls.DatePicker>(); this.bindingsTracking.RegisterTwoWayListener_4(this.obj4); break; case 5: // MainWindow.xaml line 77 this.obj5 = target.As <Microsoft.UI.Xaml.Controls.ComboBox>(); this.bindingsTracking.RegisterTwoWayListener_5(this.obj5); break; case 6: // MainWindow.xaml line 87 this.obj6 = target.As <Microsoft.UI.Xaml.Controls.CheckBox>(); this.bindingsTracking.RegisterTwoWayListener_6(this.obj6); break; case 7: // MainWindow.xaml line 93 this.obj7 = target.As <Microsoft.UI.Xaml.Controls.Button>(); this.obj7Click = (global::System.Object p0, global::Microsoft.UI.Xaml.RoutedEventArgs p1) => { this.dataRoot.viewModel.SelectedEmployee.Save(); }; (target.As <Microsoft.UI.Xaml.Controls.Button>()).Click += obj7Click; break; case 8: // MainWindow.xaml line 45 this.obj8 = target.As <Microsoft.UI.Xaml.Controls.Button>(); this.obj8Click = (global::System.Object p0, global::Microsoft.UI.Xaml.RoutedEventArgs p1) => { this.dataRoot.viewModel.Load(); }; (target.As <Microsoft.UI.Xaml.Controls.Button>()).Click += obj8Click; break; case 9: // MainWindow.xaml line 47 this.obj9 = target.As <Microsoft.UI.Xaml.Controls.ListView>(); this.bindingsTracking.RegisterTwoWayListener_9(this.obj9); break; default: break; } }
// IComponentConnector public void Connect(int connectionId, global::System.Object target) { switch (connectionId) { case 2: // Views\ShellWindow.xaml line 12 this.obj2 = target.As <Microsoft.UI.Xaml.Controls.NavigationView>(); break; case 4: // Views\ShellWindow.xaml line 41 this.obj4 = target.As <App76.Behaviors.NavigationViewHeaderBehavior>(); break; default: break; } }
public bool SetDataRoot(global::System.Object newDataRoot) { this.bindingsTracking.ReleaseAllListeners(); if (newDataRoot != null) { this.dataRoot = newDataRoot.As <SACOMaintenance.UI.MainWindow>(); return(true); } return(false); }
public bool SetDataRoot(global::System.Object newDataRoot) { this.bindingsTracking.ReleaseAllListeners(); if (newDataRoot != null) { this.dataRoot = newDataRoot.As <App76.Views.ShellWindow>(); return(true); } return(false); }
// IComponentConnector public void Connect(int connectionId, global::System.Object target) { switch (connectionId) { case 3: // MainWindow.xaml line 12 this.obj3 = target.As <Microsoft.UI.Xaml.Controls.ListView>(); break; default: break; } }
// IComponentConnector public void Connect(int connectionId, global::System.Object target) { switch (connectionId) { case 3: // Views\SettingsPage.xaml line 58 this.obj3 = target.As <Microsoft.UI.Xaml.Controls.TextBlock>(); break; case 4: // Views\SettingsPage.xaml line 22 this.obj4 = target.As <Microsoft.UI.Xaml.Controls.RadioButton>(); break; case 5: // Views\SettingsPage.xaml line 32 this.obj5 = target.As <Microsoft.UI.Xaml.Controls.RadioButton>(); break; case 6: // Views\SettingsPage.xaml line 42 this.obj6 = target.As <Microsoft.UI.Xaml.Controls.RadioButton>(); break; default: break; } }