Ejemplo n.º 1
0
        private void add_button_itemType_Click(object sender, EventArgs e)
        {
            Form A = new ItemTypePopUp(cashreceipt_cashdisbursment, dh);

            A.ShowDialog();
            refreshItemTypes();
        }
Ejemplo n.º 2
0
        private void itemType_dgv_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            Form A = new ItemTypePopUp(int.Parse(itemType_dgv.SelectedRows[0].Cells["itemTypeID"].Value.ToString()), cashreceipt_cashdisbursment, dh);

            A.ShowDialog();
            refreshItemTypes();
        }
Ejemplo n.º 3
0
 private void itemType_dgv_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyData == Keys.Enter)
     {
         Form A = new ItemTypePopUp(int.Parse(itemType_dgv.SelectedRows[0].Cells["itemTypeID"].Value.ToString()), cashreceipt_cashdisbursment, dh);
         A.ShowDialog();
         refreshItemTypes();
     }
 }