コード例 #1
0
        public void InitComplet()
        {
            //propriétés du datagridview engagement
            dgvEngagement.AutoGenerateColumns   = false;
            dgvEngagement.RowHeadersVisible     = false;
            dgvEngagement.AutoSizeRowsMode      = DataGridViewAutoSizeRowsMode.None;
            dgvEngagement.AllowUserToResizeRows = false;
            dgvEngagement.SelectionMode         = DataGridViewSelectionMode.FullRowSelect;
            dgvEngagement.MultiSelect           = false;
            dgvEngagement.AllowUserToAddRows    = false;
            dgvEngagement.ReadOnly = true;
            dgvEngagement.AllowUserToDeleteRows = false;


            //propriétés du datagridview exigence
            dgvExigence.AutoGenerateColumns   = false;
            dgvExigence.RowHeadersVisible     = false;
            dgvExigence.AutoSizeRowsMode      = DataGridViewAutoSizeRowsMode.None;
            dgvExigence.AllowUserToResizeRows = false;
            dgvExigence.SelectionMode         = DataGridViewSelectionMode.FullRowSelect;
            dgvExigence.MultiSelect           = false;
            dgvExigence.AllowUserToAddRows    = false;
            dgvExigence.ReadOnly = true;
            dgvExigence.AllowUserToDeleteRows = false;


            conContrat   = new Controleur.Details.DetailContrat();
            conSomAgence = new Controleur.Sommaires.SommaireAgence();
            conArtiste   = new Controleur.Details.DetailArtiste();
            validation   = new Controleur.Validation();
            conSomExi    = new Controleur.Sommaires.SommaireExigence();
            conSomEng    = new Controleur.Sommaires.SommaireEngagement();
            conStatut    = new Controleur.Details.DetailStatut();
        }