void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 12 "..\..\..\Page\HomePage.xaml" ((Diba.Desktop.Page.HomePage)(target)).AddHandler(System.Windows.Input.Mouse.MouseUpEvent, new System.Windows.Input.MouseButtonEventHandler(this.FormBase_MouseUp)); #line default #line hidden return; case 2: this.MainDialogHost = ((MaterialDesignThemes.Wpf.DialogHost)(target)); return; case 3: this.DemoItemsSearchBox = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.DemoItemsListBox = ((System.Windows.Controls.ListBox)(target)); return; case 5: this.MenuToggleButton = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 6: #line 239 "..\..\..\Page\HomePage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 7: this.SearchCustomers = ((System.Windows.Controls.Button)(target)); #line 300 "..\..\..\Page\HomePage.xaml" this.SearchCustomers.Click += new System.Windows.RoutedEventHandler(this.SearchCustomers_Click); #line default #line hidden return; case 8: this.DataGrid = ((Diba.Desktop.Controls.Table)(target)); return; case 9: this.MainSnackbar = ((MaterialDesignThemes.Wpf.Snackbar)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.CustomerFullName = ((System.Windows.Controls.TextBlock)(target)); return; case 2: this.NewItem = ((System.Windows.Controls.Button)(target)); #line 44 "..\..\..\..\Page\Receipts\ReceiptControl.xaml" this.NewItem.Click += new System.Windows.RoutedEventHandler(this.NewItem_Click); #line default #line hidden return; case 3: this.ReceiptItemsGrid = ((Diba.Desktop.Controls.Table)(target)); return; case 4: this.Customer = ((Diba.Desktop.Controls.CustomerControl)(target)); return; case 5: this.Submit = ((System.Windows.Controls.Button)(target)); #line 83 "..\..\..\..\Page\Receipts\ReceiptControl.xaml" this.Submit.Click += new System.Windows.RoutedEventHandler(this.Submit_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainGrid = ((System.Windows.Controls.Grid)(target)); return; case 2: #line 31 "..\..\..\..\Page\Customers\SearchCustomerPage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 3: this.SearchCustomers = ((System.Windows.Controls.Button)(target)); #line 92 "..\..\..\..\Page\Customers\SearchCustomerPage.xaml" this.SearchCustomers.Click += new System.Windows.RoutedEventHandler(this.SearchCustomers_Click); #line default #line hidden return; case 4: this.DataGrid = ((Diba.Desktop.Controls.Table)(target)); return; case 5: this.MainSnackbar = ((MaterialDesignThemes.Wpf.Snackbar)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 32 "..\..\..\..\Page\Customers\CustomerPage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Return_Click); #line default #line hidden return; case 2: this.CustomerFullName = ((System.Windows.Controls.TextBlock)(target)); return; case 3: #line 79 "..\..\..\..\Page\Customers\CustomerPage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 4: this.ReceiptsGrid = ((Diba.Desktop.Controls.Table)(target)); return; case 5: this.Customer = ((Diba.Desktop.Controls.CustomerControl)(target)); return; } this._contentLoaded = true; }