private void Button_Click(object sender, RoutedEventArgs e) { InicioCliente ic = new InicioCliente(); this.Close(); ic.Show(); }
public InfoCliente() { InicioCliente inicioCliente = new InicioCliente(); InitializeComponent(); //inicioCliente.btnNombreClient.Content = this.btnNombreClient.Content; }
private void BtnIniciarSesion_Click(object sender, RoutedEventArgs e) { if (LogIngUsuario()) { InicioCliente r = new InicioCliente(); this.Close(); r.btnNombreClient.Content = ObtenerUsuario(); r.Show(); } }