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.cmbClass = ((System.Windows.Controls.ComboBox)(target)); return; case 2: this.cmbSection = ((System.Windows.Controls.ComboBox)(target)); return; case 3: this.btnAttendanceLoad = ((System.Windows.Controls.Button)(target)); #line 35 "..\..\Attendance.xaml" this.btnAttendanceLoad.Click += new System.Windows.RoutedEventHandler(this.btnPaySave_Click); #line default #line hidden return; case 4: this.btnAttendanceSave = ((System.Windows.Controls.Button)(target)); #line 38 "..\..\Attendance.xaml" this.btnAttendanceSave.Click += new System.Windows.RoutedEventHandler(this.btnPayReset_Click); #line default #line hidden return; case 5: this.AttendanceSheet = ((Infragistics.Controls.Grids.XamSpreadsheet)(target)); return; } this._contentLoaded = true; }