void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.frmPEE1 = ((CrudCSharp.Apresentacao.frmPEE)(target)); return; case 2: this.lblId = ((System.Windows.Controls.Label)(target)); return; case 3: this.txbId = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.btnPesquisarPorID = ((System.Windows.Controls.Button)(target)); return; case 5: this.lblNome = ((System.Windows.Controls.Label)(target)); return; case 6: this.txbNome = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.btnPesquisarPorNome = ((System.Windows.Controls.Button)(target)); return; case 8: this.lblRG = ((System.Windows.Controls.Label)(target)); return; case 9: this.txbRG = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.btnExcluir = ((System.Windows.Controls.Button)(target)); return; case 11: this.lblCpf = ((System.Windows.Controls.Label)(target)); return; case 12: this.txbCpf = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.btnEditar = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }
private void mniPEE_Click(object sender, RoutedEventArgs e) { Apresentacao.frmPEE frmP = new Apresentacao.frmPEE(); frmP.ShowDialog(); }