private void nouveauClientToolStripMenuItem_Click(object sender, EventArgs e) { PL.CreaNewClient NewClient = new PL.CreaNewClient(); NewClient.Show(); ParamFenetre(NewClient); mdiobj = this; }
private void professionnelToolStripMenuItem_Click(object sender, EventArgs e) { PL.Form3 CAPro = new PL.Form3(); CAPro.Show(); ParamFenetre(CAPro); mdiobj = this; }
private void RechUneCommandeToolStripMenuItem_Click(object sender, EventArgs e) { PL.ListComClient RechComClient = new PL.ListComClient(); RechComClient.Show(); ParamFenetre(RechComClient); mdiobj = this; }
private void NewCommandeToolStripMenuItem_Click(object sender, EventArgs e) { PL.Commande NewCom = new PL.Commande(); NewCom.Show(); ParamFenetre(NewCom); mdiobj = this; }
private void rechercherClientToolStripMenuItem_Click(object sender, EventArgs e) { Global.Recherche = true; Global.Modification = false; Global.Supprime = false; PL.RechClient RechClient = new PL.RechClient(); RechClient.Show(); ParamFenetre(RechClient); mdiobj = this; }
private void deconnexionToolStripMenuItem_Click(object sender, EventArgs e) { fichierToolStripMenuItem.Enabled = false; deconnexionToolStripMenuItem.Enabled = false; clientToolStripMenuItem.Enabled = false; commandeToolStripMenuItem.Enabled = false; fournisseurToolStripMenuItem.Enabled = false; catalogueToolStripMenuItem.Enabled = false; PL.Authentification connexion = new PL.Authentification(); connexion.Show(); ParamFenetre(connexion); mdiobj = this; }
private void Village_Green_Load(object sender, EventArgs e) { deconnexionToolStripMenuItem.Enabled = false; clientToolStripMenuItem.Enabled = false; commandeToolStripMenuItem.Enabled = false; fournisseurToolStripMenuItem.Enabled = false; catalogueToolStripMenuItem.Enabled = false; PL.Authentification connexion = new PL.Authentification(); connexion.Show(); ParamFenetre(connexion); mdiobj = this; Global.Modification = false; Global.Recherche = false; Global.Supprime = false; }