Ejemplo n.º 1
0
        private void _CommandFaireDemandeConge_Executed(object sender, ExecutedRoutedEventArgs e)
        {
            this.Cursor = Cursors.Wait;
            //instructions à inscrire si la commande Update peut s'executer
            UIElement uIElement = this._BorderContent.Child;

            ListeCongesControl listeCongesControl = new ListeCongesControl();

            this.AddConges(listeCongesControl, true);

            this.Cursor = ((App)App.Current)._mainCursor;
        }
Ejemplo n.º 2
0
        private void _CommandAfficherConge_Executed(object sender, ExecutedRoutedEventArgs e)
        {
            this._mutex.WaitOne();
            this.startThread();

            this.progressBarMainWindow.IsIndeterminate = true;
            this.changementTexteStatusBar("Chargement des Congés en cours ...");

            ((App)App.Current).refreshEDMX();
            ListeCongesControl listeCongeControl = new ListeCongesControl();

            this._BorderContent.Child = listeCongeControl;

            //Mise en couleur de l'icone pour plus de clarté (remise à zéro de toutes les icones + mise en couleur)
            this.resetCouleurs();
            this.Conges.Background = ((App)App.Current).SaveFocusedBackground;
            this.Conges.BorderBrush = ((App)App.Current).SaveFocusedBorderBrush;
        }