private void metroTile2_Click(object sender, EventArgs e) { AjoutEntreprise ajoutEntreprise = new AjoutEntreprise(); ajoutEntreprise.Show(); this.Close(); }
private void btnAjouterEntreprise_Click(object sender, RoutedEventArgs e) { AjoutEntreprise formEntreprise = new AjoutEntreprise(); formEntreprise.ShowDialog(); cboListeEntreprises.ItemsSource = ctrl.listeEntreprises(); }