コード例 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.m_category_selector = ((Wpf.CategorySelector)(target));
     return;
     case 2:
     this.m_expenses_selector = ((Wpf.ExpensesSelector)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.m_categorySelector = ((Wpf.CategorySelector)(target));
     return;
     case 2:
     
     #line 100 "..\..\..\CategoriesTab.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnClickAdd);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 101 "..\..\..\CategoriesTab.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnClickDelete);
     
     #line default
     #line hidden
     return;
     case 4:
     this.m_expenses = ((Wpf.ExpensesSelector)(target));
     return;
     case 5:
     
     #line 117 "..\..\..\CategoriesTab.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ClearCategoryClick);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }