protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
 {
     if (keyData == (Keys.Control | Keys.Z))
     {
         View_Stock vs = new View_Stock();
         vs.Show();
         return(true);
     }
     if (keyData == (Keys.Control | Keys.I))
     {
         Invoice iv = new Invoice();
         iv.Show();
         return(true);
     }
     return(base.ProcessCmdKey(ref msg, keyData));
 }
Beispiel #2
0
        private void viewStockToolStripMenuItem_Click(object sender, EventArgs e)
        {
            View_Stock viewstock = new View_Stock();

            viewstock.Show();
        }