Exemplo n.º 1
0
 private void btnAddBorrow_Click(object sender, EventArgs e)
 {
     try
     {
         AddBorrowForm frm = new AddBorrowForm();
         frm.Show();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Exemplo n.º 2
0
 private void home_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.Modifiers == Keys.Control && e.KeyCode == Keys.N)
     {
         AddNewRecordsForm frm = new AddNewRecordsForm();
         frm.Show();
     }
     if (e.Modifiers == Keys.Control && e.KeyCode == Keys.S)
     {
         AddSaleReturn addSaleReturn = new AddSaleReturn();
         addSaleReturn.Show();
     }
     if (e.Modifiers == Keys.Control && e.KeyCode == Keys.B)
     {
         AddBorrowForm frm = new AddBorrowForm();
         frm.Show();
     }
 }