Ejemplo n.º 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Savings = ((SavingsWPF.MainWindow)(target));
     return;
     case 2:
     this.Main = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.yearlyDataGridView = ((System.Windows.Controls.DataGrid)(target));
     
     #line 15 "..\..\MainWindow.xaml"
     this.yearlyDataGridView.AutoGeneratingColumn += new System.EventHandler<System.Windows.Controls.DataGridAutoGeneratingColumnEventArgs>(this.yearlyDataGridView_AutoGeneratingColumn);
     
     #line default
     #line hidden
     
     #line 15 "..\..\MainWindow.xaml"
     this.yearlyDataGridView.LoadingRow += new System.EventHandler<System.Windows.Controls.DataGridRowEventArgs>(this.yearlyDataGridView_LoadingRow);
     
     #line default
     #line hidden
     return;
     case 4:
     this.monthlyDataGridView = ((System.Windows.Controls.DataGrid)(target));
     
     #line 32 "..\..\MainWindow.xaml"
     this.monthlyDataGridView.LoadingRow += new System.EventHandler<System.Windows.Controls.DataGridRowEventArgs>(this.yearlyDataGridView_LoadingRow);
     
     #line default
     #line hidden
     
     #line 32 "..\..\MainWindow.xaml"
     this.monthlyDataGridView.AutoGeneratingColumn += new System.EventHandler<System.Windows.Controls.DataGridAutoGeneratingColumnEventArgs>(this.yearlyDataGridView_AutoGeneratingColumn);
     
     #line default
     #line hidden
     return;
     case 5:
     this.wantedDataGridView = ((System.Windows.Controls.DataGrid)(target));
     
     #line 48 "..\..\MainWindow.xaml"
     this.wantedDataGridView.LoadingRow += new System.EventHandler<System.Windows.Controls.DataGridRowEventArgs>(this.yearlyDataGridView_LoadingRow);
     
     #line default
     #line hidden
     return;
     case 6:
     this.yearlyTotal = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.yearlyTotalLabel = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Savings = ((SavingsWPF.MainWindow)(target));
     return;
     case 2:
     this.Main = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.yearlyDataGridView = ((System.Windows.Controls.DataGrid)(target));
     return;
     }
     this._contentLoaded = true;
 }