public ModifierClient(Clients cl,Accueil ac) { InitializeComponent(); this.cl = cl; this.ac = ac; ToolTip t = new ToolTip(); t.ShowAlways = true; t.SetToolTip(textBox1, "Insertion des numéros uniquement."); t.ShowAlways = true; t.SetToolTip(txtfix, "Insertion des numéros uniquement."); t.ShowAlways = true; t.SetToolTip(txtmobile, "Insertion des numéros uniquement."); t.ShowAlways = true; t.SetToolTip(txtfax, "Insertion des numéros uniquement."); }
public AjouterClient(string code_Client,Clients cl,Accueil ac) { InitializeComponent(); this.cl = cl; this.ac = ac; txtcode.Text = code_Client; ToolTip t = new ToolTip(); t.ShowAlways = true; t.SetToolTip(textBox1, "Insertion des numéros uniquement."); t.ShowAlways = true; t.SetToolTip(txtfix, "Insertion des numéros uniquement."); t.ShowAlways = true; t.SetToolTip(txtmobile, "Insertion des numéros uniquement."); t.ShowAlways = true; t.SetToolTip(txtfax, "Insertion des numéros uniquement."); }
//Fonctions d'affichage________________________________________________________ private void afficherClients() { if (cl_show == false) { cl = new Clients(cl_show,this); cl.MdiParent = this; cl.Show(); cl.Location = new Point(70, 85); cl_show = true; 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; fa.Hide(); fa_show = false; } else { cl.Hide(); cl_show = false; } }