private void DGVDatos_DoubleClick(object sender, EventArgs e)
 {
     if (DGVDatos.Rows.Count > 0 && DTPDesde.Value.ToString("yyyy-MM-dd") == DateTime.Today.ToString("yyyy-MM-dd"))
     {
         FrmOtroComprobante Formulario = new FrmOtroComprobante(FormPrincipal, DGVDatos.CurrentRow.Cells["tipo_comp"].Value.ToString(), Convert.ToInt32(DGVDatos.CurrentRow.Cells["no_comp"].Value), this);
         Formulario.ShowDialog();
     }
 }
        private void CmdNuevo_Click(object sender, EventArgs e)
        {
            Form F = new FrmOtroComprobante(FormPrincipal, this);

            F.ShowDialog();
        }