示例#1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((SABC.Cliente)(target));
     
     #line 7 "..\..\Cliente.xaml"
     this.Window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.btExit = ((System.Windows.Controls.Button)(target));
     
     #line 29 "..\..\Cliente.xaml"
     this.btExit.Click += new System.Windows.RoutedEventHandler(this.btExit_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.dGrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 5:
     this.btNovo = ((System.Windows.Controls.Button)(target));
     
     #line 35 "..\..\Cliente.xaml"
     this.btNovo.Click += new System.Windows.RoutedEventHandler(this.btNovo_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.btAlterar = ((System.Windows.Controls.Button)(target));
     
     #line 36 "..\..\Cliente.xaml"
     this.btAlterar.Click += new System.Windows.RoutedEventHandler(this.btAlterar_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.btExcluir = ((System.Windows.Controls.Button)(target));
     
     #line 37 "..\..\Cliente.xaml"
     this.btExcluir.Click += new System.Windows.RoutedEventHandler(this.btExcluir_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.cbCamp = ((System.Windows.Controls.ComboBox)(target));
     
     #line 39 "..\..\Cliente.xaml"
     this.cbCamp.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbCamp_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 9:
     this.txtPesquisa = ((System.Windows.Controls.TextBox)(target));
     return;
     case 10:
     this.btProcurar = ((System.Windows.Controls.Button)(target));
     
     #line 52 "..\..\Cliente.xaml"
     this.btProcurar.Click += new System.Windows.RoutedEventHandler(this.btProcurar_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.btLimpar = ((System.Windows.Controls.Button)(target));
     
     #line 53 "..\..\Cliente.xaml"
     this.btLimpar.Click += new System.Windows.RoutedEventHandler(this.btLimpar_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.Window = ((SABC.Cliente)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.btExit = ((System.Windows.Controls.Button)(target));
     
     #line 30 "..\..\Clientes.xaml"
     this.btExit.Click += new System.Windows.RoutedEventHandler(this.btExit_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }