示例#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;
        }