public add_doc(document_page page, document doc, int id_user)
 {
     pge_docs     = page;
     eve          = null;
     this.id_user = id_user;
     this.doc     = doc;
     InitializeComponent();
     textBlock.Text   = "Modifier le document";
     titre.Text       = doc.getTitre();
     emplacement.Text = doc.getEmplac();
 }
        public add_doc(docs_tache_events page, document doc)
        {
            this.documents = page;

            this.doc = doc;
            InitializeComponent();
            textBlock.Text   = "Modifier le document";
            titre.Text       = doc.getTitre();
            emplacement.Text = doc.getEmplac();
            pge_docs         = null;
            eve = null;
        }