private void _CommandAfficherAffaires_Executed(object sender, ExecutedRoutedEventArgs e) { this._mutex.WaitOne(); this.startThread(); this.progressBarMainWindow.IsIndeterminate = true; this.changementTexteStatusBar("Chargement des affaires en cours ..."); ((App)App.Current).refreshEDMX(); ListeAffaireControl listeAffaireControl = new ListeAffaireControl(); this._BorderContent.Child = listeAffaireControl; //Mise en couleur de l'icone pour plus de clarté (remise à zéro de toutes les icones + mise en couleur) this.resetCouleurs(); this.Affaires.Background = ((App)App.Current).SaveFocusedBackground; this.Affaires.BorderBrush = ((App)App.Current).SaveFocusedBorderBrush; }
private void LookAffaire_Click_1(object sender, RoutedEventArgs e) { if (this._comboBoxFilterAffaire.SelectedItem != null) { ListeAffaireControl listeAffaireControl = new ListeAffaireControl(); //listeAffaireControl.Look(((Affaire)this._comboBoxFilterAffaire.SelectedItem)); } }