private void FormatDgvDTP() { DGVFormat dgvFormated = new DGVFormat(_dgvDTP); dgvFormated.HideTwoFirstColumns(); dgvFormated.Format(Status.DTP); }
private void FormatDGVViolation() { DGVFormat dgvFormated = new DGVFormat(_dgvViolation); dgvFormated.HideTwoFirstColumns(); dgvFormated.HideColumn(2); dgvFormated.HideColumn(3); dgvFormated.Format(Status.Violation); }
private void formatDGVDiagCard() { DGVFormat dgvFormated = new DGVFormat(_dgvDiagCard); dgvFormated.HideTwoFirstColumns(); dgvFormated.HideColumn(2); dgvFormated.HideColumn(3); dgvFormated.Format(Status.DiagCard); }
private void formatDGVPolicy() { DGVFormat dgvFormated = new DGVFormat(_dgvPolicy); dgvFormated.Format(Status.Policy); dgvFormated.HideTwoFirstColumns(); dgvFormated.HideColumn(2); dgvFormated.HideColumn(3); }
private void formatDGVInvoice() { DGVFormat dgvFormated = new DGVFormat(_dgvInvoice); dgvFormated.HideTwoFirstColumns(); dgvFormated.HideColumn(2); dgvFormated.HideColumn(3); dgvFormated.Format(Status.Invoice); }
public void Format(Status status) { _dgvFormated.HideTwoFirstColumns(); if (status != Status.FuelCard) { _dgvFormated.FormatByOwner(); } _dgvFormated.Format(status); }