private void btn_editar_cotrato_Click(object sender, RoutedEventArgs e) { ListarCliente listCli = new ListarCliente(); listCli.Owner = this; listCli.ShowDialog(); }
private void Button_Click(object sender, RoutedEventArgs e) { ListarCliente listCli = new ListarCliente(); listCli.Owner = this; listCli.ShowDialog(); }
private void btnListarCli_Click(object sender, RoutedEventArgs e) { ListarCliente listCli = new ListarCliente(); //listCli.Owner = this; this.Hide(); listCli.ShowDialog(); this.Close(); }
private void BtnContraste_Click(object sender, RoutedEventArgs e) { Contraste = !Contraste; if (Contraste) { { SolidColorBrush PinkColor = new SolidColorBrush(Color.FromRgb(242, 0, 252)); gPrincipal.Background = Brushes.Black; btnCerrar.Background = PinkColor; btnBuscar.Background = PinkColor; btnCerrar.Background = PinkColor; dtgCliente.Background = PinkColor; } } else { ListarCliente listarCliente = new ListarCliente(); listarCliente.Show(); this.Hide(); } }