Esempio n. 1
0
        private void detailSysExp_Click(object sender, EventArgs e)
        {
            var frmDetails = new frmDetSysExp();

            frmDetails.modifierChamp("m");

            frmDetails.Show();
        }
Esempio n. 2
0
        private void detailSysExp_Click(object sender, EventArgs e)
        {
            var frmDetails = new frmDetSysExp();

            frmDetails.modifierChamp("m");

            frmDetails.Show();
        }
Esempio n. 3
0
        private void afficherDetails(string[] info)
        {
            var frmDetails = new frmDetSysExp(info);

            frmDetails.modifierChamp("m");

            frmDetails.ShowDialog();
        }
Esempio n. 4
0
        private void ajoutSysExp_Click(object sender, EventArgs e)
        {
            var frmDetails = new frmDetSysExp();

            frmDetails.modifierChamp("a");

            frmDetails.ShowDialog();
            update();
        }
Esempio n. 5
0
        private void ajoutSysExp_Click(object sender, EventArgs e)
        {
            var frmDetails = new frmDetSysExp(lvlAcces);

            frmDetails.modifierChamp("a");

            frmDetails.ShowDialog();
            afficherDonnees();
            selectLigne(nouvRowId);
        }
Esempio n. 6
0
        private void afficherDetails(string[] info)
        {
            string rowSelect = gridSysExp.SelectedRows[0].Cells[0].Value.ToString();
            var frmDetails = new frmDetSysExp(info, lvlAcces);

            frmDetails.modifierChamp("m");

            frmDetails.ShowDialog();
            afficherDonnees();
            selectLigne(rowSelect);
        }
Esempio n. 7
0
        private void btnCopier_Click(object sender, EventArgs e)
        {
            var info = new string[]{"",txtCode.Text,txtNom.Text,txtEdition.Text,txtVersion.Text,rtxtInfos.Text};

            var formOuvert = new frmDetSysExp(info, lvlAcces);
            formOuvert.remplirChamp();
            formOuvert.btnCopier.Enabled = false;
            formOuvert.btnSupprimer.Enabled = false;
            formOuvert.btnActiverModif.Enabled = false;
            formOuvert.ShowDialog();
            if (formOuvert.annuler != true)
            {
                this.Close();
            }
        }
Esempio n. 8
0
        private void btnCopier_Click(object sender, EventArgs e)
        {
            var info = new string[]{"",txtCode.Text,txtNom.Text,txtEdition.Text,txtVersion.Text,rtxtInfos.Text};

            var formOuvert = new frmDetSysExp(info);
            formOuvert.remplirChamp();
            formOuvert.btnCopier.Enabled = false;
            formOuvert.btnSupprimer.Enabled = false;
            formOuvert.btnActiverModif.Enabled = false;
            formOuvert.ShowDialog();
            this.Hide();
            formOuvert.Closed += (s, args) => this.Close();
        }