private void ConstruiesteColoaneDGV() { this.dgvLista.IncepeConstructieColoane(); this.dgvLista.AdaugaColoanaText(EnumColoaneDGV.colDataCreare.ToString(), BMultiLingv.getElementById(BMultiLingv.EnumDictionar.DataCreare), 150, false, DataGridViewColumnSortMode.Automatic); this.dgvLista.AdaugaColoanaText(EnumColoaneDGV.colDenumire.ToString(), BMultiLingv.getElementById(BMultiLingv.EnumDictionar.Denumire), 200, false, DataGridViewColumnSortMode.Automatic); this.dgvLista.AdaugaColoanaButonClasic(EnumColoaneDGV.colDeschideDosar.ToString(), string.Empty, string.Empty, 40, false); this.dgvLista.AdaugaColoaneTelefonEmail(); this.dgvLista.AdaugaColoanaText(EnumColoaneDGV.colObservatii.ToString(), BMultiLingv.getElementById(BMultiLingv.EnumDictionar.Observatii), 200, true, DataGridViewColumnSortMode.Automatic); IHMUtile.AdaugaColoanaUltimaLucrare(this.dgvLista); IHMUtile.AdaugaColoanaUltimaFactura(this.dgvLista); this.dgvLista.AdaugaColoanaNumerica(EnumColoaneDGV.colTotalLucrari.ToString(), BMultiLingv.getElementById(BMultiLingv.EnumDictionar.TotalLucrari), 150, DataGridViewColumnSortMode.Automatic); this.dgvLista.AdaugaColoanaValoareMonetara(EnumColoaneDGV.colTotalFacturi.ToString(), BMultiLingv.getElementById(BMultiLingv.EnumDictionar.TotalFacturi), 100, DataGridViewColumnSortMode.Automatic); this.dgvLista.AdaugaColoanaValoareMonetara(EnumColoaneDGV.colTotalIncasari.ToString(), BMultiLingv.getElementById(BMultiLingv.EnumDictionar.TotalIncasari), 100, DataGridViewColumnSortMode.Automatic); this.dgvLista.AdaugaColoanaValoareMonetara(EnumColoaneDGV.colSold.ToString(), BMultiLingv.getElementById(BMultiLingv.EnumDictionar.Sold), 100, DataGridViewColumnSortMode.Automatic); this.dgvLista.FinalizeazaConstructieColoane(); }
private void ConstruiesteColoaneDGV() { this.dgvListaClienti.IncepeConstructieColoane(); this.dgvListaClienti.AdaugaColoana(CCL.UI.DataGridViewPersonalizat.EnumTipColoana.Editare); this.dgvListaClienti.AdaugaColoanaText(EnumColoaneDGV.colDenumire.ToString(), BMultiLingv.getElementById(BMultiLingv.EnumDictionar.Denumire), 100, false, DataGridViewColumnSortMode.Automatic); this.dgvListaClienti.AdaugaColoanaText(EnumColoaneDGV.colDenumireFiscala.ToString(), BMultiLingv.getElementById(BMultiLingv.EnumDictionar.DenumireFiscala), 150, false, DataGridViewColumnSortMode.Automatic); this.dgvListaClienti.AdaugaColoanaText(EnumColoaneDGV.colCUI.ToString(), BMultiLingv.getElementById(BMultiLingv.EnumDictionar.CUI), 100, false, DataGridViewColumnSortMode.Automatic); this.dgvListaClienti.AdaugaColoaneTelefonEmail(); this.dgvListaClienti.AdaugaColoanaText(EnumColoaneDGV.colTelefonFix.ToString(), BMultiLingv.getElementById(BMultiLingv.EnumDictionar.TelefonFix), 100, false, DataGridViewColumnSortMode.Automatic); this.dgvListaClienti.AdaugaColoanaText(EnumColoaneDGV.colObservatii.ToString(), BMultiLingv.getElementById(BMultiLingv.EnumDictionar.Observatii), 100, true, DataGridViewColumnSortMode.Automatic); IHMUtile.AdaugaColoanaUltimaLucrare(this.dgvListaClienti); this.dgvListaClienti.AdaugaColoana(CCL.UI.DataGridViewPersonalizat.EnumTipColoana.Stergere); this.dgvListaClienti.FinalizeazaConstructieColoane(); }