public PageRepetitionExep(PageModification pm)
 {
     DateBase    = pm.DateDuJour;
     _pmBase     = pm;
     DataContext = this;
     InitializeComponent();
 }
        private void BtnAddExept_OnClick(object sender, RoutedEventArgs e)
        {
            PageModification pm = new PageModification(this);

            pm.ShowDialog();
        }