Exemplo n.º 1
0
 public AjouterProduit(Stock s,DataGridView d,Accueil ac)
 {
     InitializeComponent();
     this.s = s;
     this.d = d;
     this.ac = ac;
 }
Exemplo n.º 2
0
        private void afficherStock()
        {
            if (st_show == false)
            {
                st = new Stock(this);
                st.MdiParent = this;
                st.Show();
                st.Location = new Point(70, 85);
                st_show = true;

                cl.Hide();
                cl_show = false;
                fr.Hide();
                fr_show = false;
                dv.Hide();
                dv_show = false;
                cma.Hide();
                cma_show = false;
                cmv.Hide();
                cmv_show = false;
                fa.Hide();
                fa_show = false;
            }
            else
            {
                st.Hide();
                st_show = false;
            }
        }