} // Revisar si podemos usar un select simple private void btnCrear_Click(object sender, RoutedEventArgs e) { AgregarContrato ac = new AgregarContrato(); ac.Show(); Close(); }
public ListarCliente(AgregarContrato ac) { InitializeComponent(); dgrListarCli.ItemsSource = supremo.ReadAll(); llenarCbox(); a = ac; button.Visibility = Visibility.Visible; }
private async void btnAgregarCon_Click(object sender, RoutedEventArgs e) { await this.ShowMessageAsync(null, "Bienvenido al modulo de Administrar Contrato"); AgregarContrato acon = new AgregarContrato(); acon.Show(); Close(); }