void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.periodStart = ((Infragistics.Windows.Editors.XamDateTimeEditor)(target)); #line 49 "..\..\FoodSaleFromOtherRestaurants.xaml" this.periodStart.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.periodStart_ValueChanged); #line default #line hidden return; case 2: this.periodEnd = ((Infragistics.Windows.Editors.XamDateTimeEditor)(target)); #line 59 "..\..\FoodSaleFromOtherRestaurants.xaml" this.periodEnd.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.periodEnd_ValueChanged); #line default #line hidden return; case 3: this.XamSpreadSheet1 = ((Infragistics.Controls.Grids.XamSpreadsheet)(target)); return; case 4: this.print = ((System.Windows.Controls.Button)(target)); #line 80 "..\..\FoodSaleFromOtherRestaurants.xaml" this.print.Click += new System.Windows.RoutedEventHandler(this.printButton_Click); #line default #line hidden return; case 5: this.run = ((System.Windows.Controls.Button)(target)); #line 81 "..\..\FoodSaleFromOtherRestaurants.xaml" this.run.Click += new System.Windows.RoutedEventHandler(this.runButton_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.periodStart = ((Infragistics.Windows.Editors.XamDateTimeEditor)(target)); #line 36 "..\..\MainWindow.xaml" this.periodStart.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.periodStart_ValueChanged); #line default #line hidden return; case 2: this.periodEnd = ((Infragistics.Windows.Editors.XamDateTimeEditor)(target)); #line 46 "..\..\MainWindow.xaml" this.periodEnd.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.periodEnd_ValueChanged); #line default #line hidden return; case 3: this.listbox = ((System.Windows.Controls.ListBox)(target)); return; case 4: this.dg1 = ((Infragistics.Windows.DataPresenter.XamDataGrid)(target)); #line 56 "..\..\MainWindow.xaml" this.dg1.FieldLayoutInitialized += new System.EventHandler <Infragistics.Windows.DataPresenter.Events.FieldLayoutInitializedEventArgs>(this.dg1_FieldLayoutInitialized); #line default #line hidden return; case 5: this.export = ((System.Windows.Controls.Button)(target)); #line 79 "..\..\MainWindow.xaml" this.export.Click += new System.Windows.RoutedEventHandler(this.exportButton_Click); #line default #line hidden return; case 6: this.print = ((System.Windows.Controls.Button)(target)); #line 80 "..\..\MainWindow.xaml" this.print.Click += new System.Windows.RoutedEventHandler(this.printButton_Click); #line default #line hidden return; case 7: this.run = ((System.Windows.Controls.Button)(target)); #line 81 "..\..\MainWindow.xaml" this.run.Click += new System.Windows.RoutedEventHandler(this.runButton_Click); #line default #line hidden return; } this._contentLoaded = true; }