/// <summary>
        /// Affiche le formulaire pour editer/modifier un objet
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void EditData(object sender, RoutedEventArgs e)
        {
            var data = (sender as Button).CommandParameter as IDBItem;

            if (data == null)
            {
                return;
            }
            ViewOrderDetailsDialog.ShowDialog(ModalDialogParent, currentView, data, OnUpdate);
        }
 /// <summary>
 /// Affiche le formulaire vierger permettant d'ajouter un nouvel objet dans la base
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void AddData(object sender, RoutedEventArgs e)
 {
     ViewOrderDetailsDialog.ShowDialog(ModalDialogParent, currentView, null, OnUpdate);
 }