private void administracion_KeyDown(object sender, KeyEventArgs e)
 {
     try
     {
         if (e.KeyCode == Keys.F1)
         {
             clienform clf = new clienform(f1);
             clf.Show(this);
         }
         else if (e.KeyCode == Keys.F2)
         {
             climod clf = new climod();
             clf.Show(this);
         }
         else if (e.KeyCode == Keys.F3)
         {
             creaitem clf = new creaitem();
             clf.Show(this);
         }
         else if (e.KeyCode == Keys.F4)
         {
             promod clf = new promod();
             clf.Show(this);
         }
         else if (e.KeyCode == Keys.F5)
         {
             cajeross clf = new cajeross();
             clf.Show(this);
         }
         else if (e.KeyCode == Keys.F6)
         {
             creavendedor clf = new creavendedor();
             clf.Show(this);
         }
         else if (e.KeyCode == Keys.F7)
         {
             vendmod clf = new vendmod();
             clf.Show(this);
         }
         else if (e.KeyCode == Keys.F8)
         {
             inventario clf = new inventario();
             clf.Show(this);
         }
     }
     catch (Exception exce)
     {
     }
 }
        private void button5_Click(object sender, EventArgs e)
        {
            climod clm = new climod();

            clm.Show(this);
        }
Example #3
0
        private void button2_Click_2(object sender, EventArgs e)
        {
            climod cf = new climod(this);

            cf.Show(this);
        }