Exemplo n.º 1
0
        private void afficherFournisseurs()
        {
            if (fr_show == false)
            {
                fr           = new Fournisseurs(this);
                fr.MdiParent = this;
                fr.Show();
                fr.Location = new Point(70, 85);
                fr_show     = true;

                cl.Hide();
                cl_show = false;
                st.Hide();
                st_show = false;
                dv.Hide();
                dv_show = false;
                cma.Hide();
                cma_show = false;
                cmv.Hide();
                cmv_show = false;
                fa.Hide();
                fa_show = false;
            }
            else
            {
                fr.Hide();
                fr_show = false;
            }
        }
Exemplo n.º 2
0
        public ModifierFournisseur(Fournisseurs f, Accueil ac)
        {
            InitializeComponent();
            this.f  = f;
            this.ac = ac;

            ToolTip t = new ToolTip();

            t.ShowAlways = true;
            t.SetToolTip(txtcodepostal, "Insertion des numéros uniquement.");

            t.ShowAlways = true;
            t.SetToolTip(txttel, "Insertion des numéros uniquement.");

            t.ShowAlways = true;
            t.SetToolTip(textBox1, "Insertion des numéros uniquement.");

            t.ShowAlways = true;
            t.SetToolTip(txtfax, "Insertion des numéros uniquement.");
        }
        public AjouterFournisseur(string idFournisseur, Fournisseurs f)
        {
            InitializeComponent();
            txtcode.Text = idFournisseur;
            this.f       = f;

            ToolTip t = new ToolTip();

            t.ShowAlways = true;
            t.SetToolTip(txtcodepostal, "Insertion des numéros uniquement.");

            t.ShowAlways = true;
            t.SetToolTip(txttel, "Insertion des numéros uniquement.");

            t.ShowAlways = true;
            t.SetToolTip(textBox1, "Insertion des numéros uniquement.");

            t.ShowAlways = true;
            t.SetToolTip(txtfax, "Insertion des numéros uniquement.");
        }
        public AjouterFournisseur(string idFournisseur,Fournisseurs f)
        {
            InitializeComponent();
            txtcode.Text = idFournisseur;
            this.f = f;

            ToolTip t = new ToolTip();

            t.ShowAlways = true;
            t.SetToolTip(txtcodepostal, "Insertion des numéros uniquement.");

            t.ShowAlways = true;
            t.SetToolTip(txttel, "Insertion des numéros uniquement.");

            t.ShowAlways = true;
            t.SetToolTip(textBox1, "Insertion des numéros uniquement.");

            t.ShowAlways = true;
            t.SetToolTip(txtfax, "Insertion des numéros uniquement.");
        }
        public ModifierFournisseur(Fournisseurs f,Accueil ac)
        {
            InitializeComponent();
            this.f = f;
            this.ac = ac;

            ToolTip t = new ToolTip();

            t.ShowAlways = true;
            t.SetToolTip(txtcodepostal, "Insertion des numéros uniquement.");

            t.ShowAlways = true;
            t.SetToolTip(txttel, "Insertion des numéros uniquement.");

            t.ShowAlways = true;
            t.SetToolTip(textBox1, "Insertion des numéros uniquement.");

            t.ShowAlways = true;
            t.SetToolTip(txtfax, "Insertion des numéros uniquement.");
        }
Exemplo n.º 6
0
        private void afficherFournisseurs()
        {
            if (fr_show == false)
            {
                fr = new Fournisseurs(this);
                fr.MdiParent = this;
                fr.Show();
                fr.Location = new Point(70, 85);
                fr_show = true;

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