예제 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.cards1 = ((WebCM.pages.cards)(target));
     
     #line 9 "..\..\..\pages\cards.xaml"
     this.cards1.Loaded += new System.Windows.RoutedEventHandler(this.cards1_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.cardId = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.cardValidity = ((System.Windows.Controls.CheckBox)(target));
     
     #line 15 "..\..\..\pages\cards.xaml"
     this.cardValidity.Click += new System.Windows.RoutedEventHandler(this.cardValidity_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.cardTypeLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.cardType = ((System.Windows.Controls.ComboBox)(target));
     
     #line 91 "..\..\..\pages\cards.xaml"
     this.cardType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cardType_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 6:
     this.clientLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.name = ((System.Windows.Controls.TextBox)(target));
     
     #line 101 "..\..\..\pages\cards.xaml"
     this.name.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.person_textChanged);
     
     #line default
     #line hidden
     return;
     case 8:
     this.nameLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.firstname = ((System.Windows.Controls.TextBox)(target));
     
     #line 104 "..\..\..\pages\cards.xaml"
     this.firstname.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.person_textChanged);
     
     #line default
     #line hidden
     return;
     case 10:
     this.surnameLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.surname = ((System.Windows.Controls.TextBox)(target));
     
     #line 107 "..\..\..\pages\cards.xaml"
     this.surname.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.person_textChanged);
     
     #line default
     #line hidden
     return;
     case 12:
     this.emailLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.email = ((System.Windows.Controls.TextBox)(target));
     
     #line 110 "..\..\..\pages\cards.xaml"
     this.email.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.person_textChanged);
     
     #line default
     #line hidden
     return;
     case 14:
     this.phoneLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 15:
     this.phone = ((System.Windows.Controls.TextBox)(target));
     
     #line 113 "..\..\..\pages\cards.xaml"
     this.phone.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.person_textChanged);
     
     #line default
     #line hidden
     return;
     case 16:
     this.CreditStack = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 17:
     this.creditLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.cardCredit = ((System.Windows.Controls.TextBox)(target));
     
     #line 118 "..\..\..\pages\cards.xaml"
     this.cardCredit.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.cardCredit_TextChanged);
     
     #line default
     #line hidden
     return;
     case 19:
     this.plus = ((System.Windows.Controls.Button)(target));
     
     #line 119 "..\..\..\pages\cards.xaml"
     this.plus.Click += new System.Windows.RoutedEventHandler(this.credit_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.minus = ((System.Windows.Controls.Button)(target));
     
     #line 120 "..\..\..\pages\cards.xaml"
     this.minus.Click += new System.Windows.RoutedEventHandler(this.credit_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.DebitStack = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 22:
     this.BalanceLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 23:
     this.cardBalance = ((System.Windows.Controls.TextBox)(target));
     
     #line 125 "..\..\..\pages\cards.xaml"
     this.cardBalance.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.cardSaldo_TextChanged);
     
     #line default
     #line hidden
     return;
     case 24:
     this.debitplus = ((System.Windows.Controls.Button)(target));
     
     #line 126 "..\..\..\pages\cards.xaml"
     this.debitplus.Click += new System.Windows.RoutedEventHandler(this.saldo_Click);
     
     #line default
     #line hidden
     return;
     case 25:
     this.debitminus = ((System.Windows.Controls.Button)(target));
     
     #line 127 "..\..\..\pages\cards.xaml"
     this.debitminus.Click += new System.Windows.RoutedEventHandler(this.saldo_Click);
     
     #line default
     #line hidden
     return;
     case 26:
     this.LimitLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 27:
     this.cardLimit = ((System.Windows.Controls.TextBox)(target));
     
     #line 131 "..\..\..\pages\cards.xaml"
     this.cardLimit.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.cardLimit_TextChanged);
     
     #line default
     #line hidden
     return;
     case 28:
     this.discountLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 29:
     this.cardDiscount = ((System.Windows.Controls.TextBox)(target));
     
     #line 136 "..\..\..\pages\cards.xaml"
     this.cardDiscount.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.cardDiscount_TextChanged);
     
     #line default
     #line hidden
     return;
     case 30:
     this.percentLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 31:
     this.save = ((System.Windows.Controls.Button)(target));
     
     #line 141 "..\..\..\pages\cards.xaml"
     this.save.Click += new System.Windows.RoutedEventHandler(this.save_Click);
     
     #line default
     #line hidden
     return;
     case 32:
     this.cancel = ((System.Windows.Controls.Button)(target));
     
     #line 142 "..\..\..\pages\cards.xaml"
     this.cancel.Click += new System.Windows.RoutedEventHandler(this.cancel_Click);
     
     #line default
     #line hidden
     return;
     case 33:
     this.ExistRestore = ((System.Windows.Controls.Button)(target));
     
     #line 143 "..\..\..\pages\cards.xaml"
     this.ExistRestore.Click += new System.Windows.RoutedEventHandler(this.user_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
예제 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.cards1 = ((WebCM.pages.cards)(target));
     return;
     case 2:
     this.cardId = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.cardName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.cardCredit = ((System.Windows.Controls.TextBox)(target));
     
     #line 21 "..\..\..\pages\cards.xaml"
     this.cardCredit.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.cardCredit_PreviewKeyUp);
     
     #line default
     #line hidden
     return;
     case 5:
     this.cardDiscount = ((System.Windows.Controls.TextBox)(target));
     
     #line 22 "..\..\..\pages\cards.xaml"
     this.cardDiscount.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.cardDiscount_PreviewKeyUp);
     
     #line default
     #line hidden
     return;
     case 6:
     this.customerName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.customerSurname = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.save = ((System.Windows.Controls.Button)(target));
     
     #line 26 "..\..\..\pages\cards.xaml"
     this.save.Click += new System.Windows.RoutedEventHandler(this.save_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.cancel = ((System.Windows.Controls.Button)(target));
     
     #line 27 "..\..\..\pages\cards.xaml"
     this.cancel.Click += new System.Windows.RoutedEventHandler(this.cancel_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.plus = ((System.Windows.Controls.Button)(target));
     
     #line 28 "..\..\..\pages\cards.xaml"
     this.plus.Click += new System.Windows.RoutedEventHandler(this.credit_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.minus = ((System.Windows.Controls.Button)(target));
     
     #line 29 "..\..\..\pages\cards.xaml"
     this.minus.Click += new System.Windows.RoutedEventHandler(this.credit_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.cardType = ((System.Windows.Controls.ComboBox)(target));
     
     #line 30 "..\..\..\pages\cards.xaml"
     this.cardType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cardType_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 13:
     this.cardValidity = ((System.Windows.Controls.ComboBox)(target));
     
     #line 38 "..\..\..\pages\cards.xaml"
     this.cardValidity.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cardValidity_SelectionChanged);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }