Пример #1
0
        private void paramètresToolStripMenuItem_Click(object sender, EventArgs e)
        {
            param usr = new param();

            usr.MdiParent = this;
            usr.Show();
        }
Пример #2
0
        private void familleClientToolStripMenuItem_Click(object sender, EventArgs e)
        {
            param frm = new param();

            frm.table     = "familleclient";
            frm.champs    = "familleclient";
            frm.Text      = "Famille Client";
            frm.MdiParent = this;
            frm.Show();
            this.buttonX7.Focus();
        }
Пример #3
0
        private void familleFournisseurToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //famille frm = new famille();
            param frm = new param();

            frm.table     = "famillefour";
            frm.champs    = "famillefour";
            frm.Text      = "Famille Fournisseur";
            frm.MdiParent = this;
            frm.Show();
            this.buttonX7.Focus();
        }
Пример #4
0
 private void régionToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (Program.TFunction)
     {
         //famille frm = new famille();
         param frm = new param();
         frm.table     = "region";
         frm.champs    = "region";
         frm.Text      = "Régions";
         frm.MdiParent = this;
         frm.Show();
         this.buttonX7.Focus();
     }
 }
Пример #5
0
        private void buttonX12_Click(object sender, EventArgs e)
        {
            param frm = new param();

            frm.table  = "famillefour";
            frm.champs = "famillefour";
            frm.Text   = "famille Fournisseur";
            frm.ShowDialog();

            string        req1 = "Select * from FamilleFour";
            DataSet       ds1  = met.recuperer_table(req1, "FamilleFour");
            BindingSource bs   = new BindingSource(ds1, "FamilleFour");

            comboBox1.DataSource = bs;
        }
Пример #6
0
        private void buttonX9_Click(object sender, EventArgs e)
        {
            param frm = new param();

            frm.table  = "region";
            frm.champs = "region";
            frm.Text   = "Région";
            frm.ShowDialog();

            string        req1 = "Select * from Region  where codes='" + Program.Societe + "' AND codee='" + Program.Exercice + "'";
            DataSet       ds1  = met.recuperer_table(req1, "Region");
            BindingSource bs   = new BindingSource(ds1, "Region");

            comboBox2.DataSource = bs;
        }