Ejemplo n.º 1
0
        private void afficherFactures()
        {
            if (fa_show == false)
            {
                fa           = new Factures(this);
                fa.MdiParent = this;
                fa.Show();
                fa.Location = new Point(70, 85);
                fa_show     = true;

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

            ToolTip t = new ToolTip();

            t.ShowAlways = true;
            t.SetToolTip(textBox5, "Insertion des numéros uniquement (Ex : 1,01).");

            t.ShowAlways = true;
            t.SetToolTip(textBox6, "Insertion des numéros uniquement (Ex : 1,01).");

            t.ShowAlways = true;
            t.SetToolTip(textBox7, "Insertion des numéros uniquement (Ex : 1,01).");

            t.ShowAlways = true;
            t.SetToolTip(pictureBox3, "Ajouter");

            t.ShowAlways = true;
            t.SetToolTip(pictureBox4, "Modifier");

            t.ShowAlways = true;
            t.SetToolTip(pictureBox5, "Supprimer");
        }
Ejemplo n.º 3
0
        public ModifierFacture(Factures Formf, Facture f,Accueil ac)
        {
            InitializeComponent();
            this.Formf = Formf;
            this.f = f;
            this.ac = ac;

            ToolTip t = new ToolTip();

            t.ShowAlways = true;
            t.SetToolTip(textBox5, "Insertion des numéros uniquement (Ex : 1,01).");

            t.ShowAlways = true;
            t.SetToolTip(textBox6, "Insertion des numéros uniquement (Ex : 1,01).");

            t.ShowAlways = true;
            t.SetToolTip(textBox7, "Insertion des numéros uniquement (Ex : 1,01).");

            t.ShowAlways = true;
            t.SetToolTip(pictureBox3, "Ajouter");

            t.ShowAlways = true;
            t.SetToolTip(pictureBox4, "Modifier");

            t.ShowAlways = true;
            t.SetToolTip(pictureBox5, "Supprimer");
        }
Ejemplo n.º 4
0
        public AjouterFacture(string numero_Facture, Factures f, Accueil ac)
        {
            InitializeComponent();
            textBox1.Text = numero_Facture;
            this.f        = f;
            this.ac       = ac;

            ToolTip t = new ToolTip();

            t.ShowAlways = true;
            t.SetToolTip(textBox5, "Insertion des numéros uniquement (Ex : 1,01).");

            t.ShowAlways = true;
            t.SetToolTip(textBox6, "Insertion des numéros uniquement (Ex : 1,01).");

            t.ShowAlways = true;
            t.SetToolTip(textBox7, "Insertion des numéros uniquement (Ex : 1,01).");
        }
Ejemplo n.º 5
0
        public AjouterFacture(string numero_Facture, Factures f,Accueil ac)
        {
            InitializeComponent();
            textBox1.Text = numero_Facture;
            this.f = f;
            this.ac = ac;

            ToolTip t = new ToolTip();

            t.ShowAlways = true;
            t.SetToolTip(textBox5, "Insertion des numéros uniquement (Ex : 1,01).");

            t.ShowAlways = true;
            t.SetToolTip(textBox6, "Insertion des numéros uniquement (Ex : 1,01).");

            t.ShowAlways = true;
            t.SetToolTip(textBox7, "Insertion des numéros uniquement (Ex : 1,01).");
        }
Ejemplo n.º 6
0
        private void afficherFactures()
        {
            if (fa_show == false)
            {
                fa = new Factures(this);
                fa.MdiParent = this;
                fa.Show();
                fa.Location = new Point(70, 85);
                fa_show = true;

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