Esempio n. 1
0
        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();
        }