private void FormatDgvDTP() { DGVFormat dgvFormated = new DGVFormat(_dgvDTP); dgvFormated.HideTwoFirstColumns(); dgvFormated.Format(Status.DTP); }
private void FormatDGVShipPart() { DGVFormat dgvFormated = new DGVFormat(dgvShipPart); dgvFormated.HideTwoFirstColumns(); dgvFormated.HideColumn(2); }
private void FormatDGVViolation() { DGVFormat dgvFormated = new DGVFormat(_dgvViolation); dgvFormated.HideTwoFirstColumns(); dgvFormated.HideColumn(2); dgvFormated.HideColumn(3); dgvFormated.Format(Status.Violation); }
private void FormatDGVRepair() { DGVFormat dgvFormated = new DGVFormat(dgvRepair); dgvFormated.HideTwoFirstColumns(); dgvFormated.HideColumn(2); dgvFormated.HideColumn(3); dgvFormated.SetFormatRepair(); }
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); }