private void CommandesVente_KeyUp(object sender, KeyEventArgs e)
 {
     if (b == true)
     {
         if (e.KeyData == Keys.A)
         {
             ajouter();
         }
         else if (e.KeyData == Keys.M)
         {
             modifier();
         }
         else if (e.KeyData == Keys.S)
         {
             supprimer();
         }
         else if (e.KeyData == Keys.I)
         {
             imprimer();
         }
         else if (e.KeyData == Keys.R)
         {
             afficherrecherche();
         }
         else if (e.KeyData == Keys.P)
         {
             Form p = new Parametres();
             p.Show();
         }
     }
 }
        private void afficherParametres()
        {
            monthCalendar1.Visible = false;
            button1.Visible        = false;
            Form Parametres = new Parametres();

            Parametres.Show();
        }
Exemple #3
0
        private void pictureBox4_Click(object sender, EventArgs e)
        {
            Form Parametres = new Parametres();

            Parametres.Show();
            TabControl t = (TabControl)Parametres.Controls["tabControl1"];

            t.SelectedTab = t.TabPages["tabPage2"];
        }
 private void CommandesAchat_KeyUp(object sender, KeyEventArgs e)
 {
     if (b == true)
     {
         if (e.KeyData == Keys.A)
         {
             ajouter();
         }
         else if (e.KeyData == Keys.M)
         {
             modifier();
         }
         else if (e.KeyData == Keys.S)
         {
             supprimer();
         }
         else if (e.KeyData == Keys.I)
         {
             imprimer();
         }
         else if (e.KeyData == Keys.R)
         {
             afficherrecherche();
         }
         else if (e.KeyData == Keys.P)
         {
             Form p = new Parametres();
             p.Show();
         }
     }
 }
        private void sociétéToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form p = new Parametres();

            p.Show();
        }
Exemple #6
0
 private void sociétéToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Form p = new Parametres();
     p.Show();
 }
Exemple #7
0
 private void afficherParametres()
 {
     monthCalendar1.Visible = false;
     button1.Visible = false;
     Form Parametres = new Parametres();
     Parametres.Show();
 }
 private void pictureBox4_Click(object sender, EventArgs e)
 {
     Form Parametres = new Parametres();
     Parametres.Show();
     TabControl t = (TabControl)Parametres.Controls["tabControl1"];
     t.SelectedTab = t.TabPages["tabPage2"];
 }