Esempio n. 1
0
        /// <summary>
        /// Survient lors du double click sur un dossier
        /// </summary>
        private void gvList_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            DataGridViewRow row = gvList.CurrentRow;

            DossierNouveau = new DossierNouveau((Entities.Dossier)row.DataBoundItem);
            DossierNouveau.FolderUpdated += new EventHandler <Entities.Dossier>(FolderEntityUpdated);
            DossierNouveau.Show();
        }
Esempio n. 2
0
 /// <summary>
 /// Ajout à partir du menu contextuel
 /// </summary>
 private void addRow_Click(object sender, EventArgs e)
 {
     m_NewDossier              = new DossierNouveau();
     m_NewDossier.FormClosing += new FormClosingEventHandler(UpdateDataSource);
     m_NewDossier.Show();
 }