Esempio n. 1
0
        private void btnNuevo_Click(object sender, EventArgs e)
        {
            frmTipoTransaccion cuenta = new frmTipoTransaccion();

            cuenta.StartPosition = FormStartPosition.CenterScreen;
            cuenta.Show();
        }
Esempio n. 2
0
        private void grdTipoTrans_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            string             sid     = grdTipoTrans.Rows[grdTipoTrans.CurrentCell.RowIndex].Cells[0].Value.ToString();
            string             snombre = grdTipoTrans.Rows[grdTipoTrans.CurrentCell.RowIndex].Cells[1].Value.ToString();
            string             saccion = grdTipoTrans.Rows[grdTipoTrans.CurrentCell.RowIndex].Cells[2].Value.ToString();
            string             sestado = grdTipoTrans.Rows[grdTipoTrans.CurrentCell.RowIndex].Cells[3].Value.ToString();
            frmTipoTransaccion temp    = new frmTipoTransaccion(sid, snombre, saccion, sestado);

            temp.Show();
        }