private void TileListCli_Click(object sender, RoutedEventArgs e) { ListCliente w = new ListCliente(); w.Show(); this.Hide(); if (Contraste) { OnContraste(w); w.Contraste = true; } }
private void TileListCli_Click(object sender, RoutedEventArgs e) { MainWindow mw = new MainWindow(); ListCliente w = new ListCliente(); w.Show(); this.Hide(); if (Contraste == true) { mw.OnContraste(w); w.Contraste = true; } }