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 button8_Click(object sender, EventArgs e) { vendmod clf = new vendmod(); clf.Show(this); }