예제 #1
0
        private void grdPoliza_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            string           sid        = grdPoliza.Rows[grdPoliza.CurrentCell.RowIndex].Cells[0].Value.ToString();
            string           sNombre    = grdPoliza.Rows[grdPoliza.CurrentCell.RowIndex].Cells[1].Value.ToString();
            string           sRazon     = grdPoliza.Rows[grdPoliza.CurrentCell.RowIndex].Cells[2].Value.ToString();
            string           sDireccion = grdPoliza.Rows[grdPoliza.CurrentCell.RowIndex].Cells[3].Value.ToString();
            string           sTelefono  = grdPoliza.Rows[grdPoliza.CurrentCell.RowIndex].Cells[4].Value.ToString();
            string           sIdent     = grdPoliza.Rows[grdPoliza.CurrentCell.RowIndex].Cells[5].Value.ToString();
            string           sMoneda    = grdPoliza.Rows[grdPoliza.CurrentCell.RowIndex].Cells[6].Value.ToString();
            string           sPais      = grdPoliza.Rows[grdPoliza.CurrentCell.RowIndex].Cells[7].Value.ToString();
            frmConfiguracion temp       = new frmConfiguracion(sid, sNombre, sRazon, sDireccion, sTelefono, sIdent, sMoneda, sPais);

            temp.Show();
        }
예제 #2
0
        private void btnNuevo_Click(object sender, EventArgs e)
        {
            frmConfiguracion fc = new frmConfiguracion();

            fc.Show();
        }