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();
         }
     }
 }
Example #2
0
        private void afficherParametres()
        {
            monthCalendar1.Visible = false;
            button1.Visible        = false;
            Form Parametres = new Parametres();

            Parametres.Show();
        }
Example #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();
         }
     }
 }
Example #5
0
        private void sociétéToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form p = new Parametres();

            p.Show();
        }
Example #6
0
 private void sociétéToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Form p = new Parametres();
     p.Show();
 }
Example #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"];
 }