void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.consultaConduct = ((Prototipos.Conductores)(target)); return; case 2: this.lb_titulo = ((System.Windows.Controls.Label)(target)); return; case 3: this.btn_Nuevo = ((System.Windows.Controls.Button)(target)); #line 15 "..\..\Conductores.xaml" this.btn_Nuevo.Click += new System.Windows.RoutedEventHandler(this.Btn_Nuevo_Click); #line default #line hidden return; case 4: this.grd_consul = ((System.Windows.Controls.Grid)(target)); return; } this._contentLoaded = true; }
private void Btn_Conductor_Click(object sender, RoutedEventArgs e) { Conductores cond = new Conductores(); cond.Show(); }