2 using System.Collections.Generic;
3 using System.ComponentModel;
13 namespace sage.ew.formul.Forms
17 private List<String> _oReferencias =
new List<String>();
22 public List<String> _ReferenciasCliente
30 _oReferencias = value;
35 private void _CargaReferencias()
38 DataTable loDt =
new DataTable();
40 loDt.Columns.Add(
"letra");
41 loDt.Columns.Add(
"documento");
43 foreach (String lcNumero
in _oReferencias)
45 if (lcNumero.Length > 2)
47 loRow = loDt.NewRow();
49 loRow[
"letra"] = lcNumero.Substring(0, 2);
50 loRow[
"documento"] = lcNumero.Substring(2);
64 InitializeComponent();
67 private void frmSeleccionarDocumentosPorReferencia_Load(
object sender, EventArgs e)
69 _MostrarAccesoFavoritos =
false;
70 _MostrarCrearAccesoDirecto =
false;
71 _MostrarCrearTareaProgramada =
false;
72 _MostrarGestionAccesos =
false;
78 private void frmSeleccionarDocumentosPorReferencia__GridCellDobleClickEvent(
object sender, DataGridViewCellEventArgs e)
82 DialogResult = DialogResult.OK;
85 private void frmSeleccionarDocumentosPorReferencia_Shown(
object sender, EventArgs e)
87 _Grid.ReadOnly =
true;